Add stake to a validator's staking pool using multiple coins and amount.

interface UnsafeRequestAddStakeParams {
    amount?: null | string;
    coins: string[];
    gas?: null | string;
    gasBudget: string;
    signer: string;
    validator: string;
}

Properties

amount?: null | string

stake amount

coins: string[]

Coin object to stake

gas?: null | string

gas object to be used in this transaction, node will pick one from the signer's possession if not provided

gasBudget: string

the gas budget, the transaction will fail if the gas cost exceed the budget

signer: string

the transaction signer's Sui address

validator: string

the validator's Sui address