Skip to main content

IotaArgument

@iota/iota-sdk


@iota/iota-sdk / client / IotaArgument

Type Alias: IotaArgument

IotaArgument = "GasCoin" | { Input: number; } | { Result: number; } | { NestedResult: [number, number]; }

Defined in: sdk/typescript/src/client/types/generated.ts:455

An argument to a transaction in a programmable transaction block

Union Members​

"GasCoin"


Type Literal​

{ Input: number; }

One of the input objects or primitive values (from ProgrammableTransactionBlock inputs)


Type Literal​

{ Result: number; }

The result of another transaction (from ProgrammableTransactionBlock transactions)


Type Literal​

{ NestedResult: [number, number]; }

Like a Result but it accesses a nested result. Currently, the only usage of this is to access a value from a Move call with multiple return values.