Skip to main content

UnsafeRequestAddStakeParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeRequestAddStakeParams

Interface: UnsafeRequestAddStakeParams

Defined in: sdk/typescript/src/client/types/params.ts:652

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

Properties​

amount?​

optional amount?: string | null

Defined in: sdk/typescript/src/client/types/params.ts:658

stake amount


coins​

coins: string[]

Defined in: sdk/typescript/src/client/types/params.ts:656

Coin object to stake


gas?​

optional gas?: string | null

Defined in: sdk/typescript/src/client/types/params.ts:665

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


gasBudget​

gasBudget: string

Defined in: sdk/typescript/src/client/types/params.ts:667

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


signal?​

optional signal?: AbortSignal

Defined in: sdk/typescript/src/client/types/params.ts:668


signer​

signer: string

Defined in: sdk/typescript/src/client/types/params.ts:654

the transaction signer's IOTA address


validator​

validator: string

Defined in: sdk/typescript/src/client/types/params.ts:660

the validator's IOTA address