Skip to main content

UnsafePayParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafePayParams

Interface: UnsafePayParams

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

Send Coin<T> to a list of addresses, where T can be any coin type, following a list of amounts, The object specified in the gas field will be used to pay the gas fee for the transaction. The gas object can not appear in input_coins. If the gas object is not specified, the RPC server will auto-select one.

Properties

amounts

amounts: string[]

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

the amounts to be transferred to recipients, following the same order


gas?

optional gas?: string | null

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

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:592

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


inputCoins

inputCoins: string[]

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

the IOTA coins to be used in this transaction


recipients

recipients: string[]

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

the recipients' addresses, the length of this vector must be the same as amounts.


signal?

optional signal?: AbortSignal

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


signer

signer: string

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

the transaction signer's IOTA address