Documentation
    Preparing search index...

    Interface UnsafeRequestAddStakeParams

    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;
        signal?: AbortSignal;
        signer: string;
        validator: string;
    }
    Index

    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

    signal?: AbortSignal
    signer: string

    the transaction signer's Sui address

    validator: string

    the validator's Sui address