unsafe_requestAddStake
Transaction Builder API: Add stake to a validator's staking pool using multiple coins and amount.
Parameters
signer
:<SuiAddress>
- the transaction signer's Sui addresscoins
:<[ObjectID]>
- Coin<SUI> object to stakeamount
:<uint64>
- stake amountvalidator
:<SuiAddress>
- the validator's Sui addressgas
:<ObjectID>
- gas object to be used in this transaction, node will pick one from the signer's possession if not providedgas_budget
:<BigInt_for_uint64>
- the gas budget, the transaction will fail if the gas cost exceed the budget
Returns
TransactionBytes
:<TransactionBytes>
gas :
<[ObjectRef]>
- the gas object to be usedinputObjects :
<[InputObjectKind]>
- objects to be used in this transactiontxBytes :
<[Base64]>
- BCS serialized transaction data bytes without its type tag, as base-64 encoded string.
Example Request and Result for unsafe_requestAddStake
Request
Result
Last updated