request Add Stake
suspend fun requestAddStake(signer: SuiAddress, coins: List<ObjectId>, amount: Long, validator: SuiAddress, gas: ObjectId? = null, gasBudget: Long): TransactionBlockBytes
Add stake to a validator's staking pool using multiple coins and amount.
Return
TransactionBlockBytes The transaction block bytes after the stake addition request is completed.
Parameters
signer
The transaction signer's Sui address.
coins
The list of Coin Objects to stake.
amount
The amount of SUI tokens to stake.
validator
The validator's Sui address.
gas
The gas object to be used in this transaction, node will pick one from the signer's possession if not provided.
gas Budget
The gas budget, the transaction will fail if the gas cost exceed the budget.
Throws
if there is an error during the stake addition request.