UnsafePayParams
@iota/iota-sdk / client / UnsafePayParams
Interface: UnsafePayParams
Defined in: sdk/typescript/src/client/types/params.ts:576
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:584
the amounts to be transferred to recipients, following the same order
gas?
optionalgas?:string|null
Defined in: sdk/typescript/src/client/types/params.ts:589
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:591
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:580
the IOTA coins to be used in this transaction
recipients
recipients:
string[]
Defined in: sdk/typescript/src/client/types/params.ts:582
the recipients' addresses, the length of this vector must be the same as amounts.
signal?
optionalsignal?:AbortSignal
Defined in: sdk/typescript/src/client/types/params.ts:592
signer
signer:
string
Defined in: sdk/typescript/src/client/types/params.ts:578
the transaction signer's IOTA address