Skip to main content

Type Alias: IotaTransaction

IotaTransaction = { MoveCall: MoveCallIotaTransaction; } | { TransferObjects: [IotaArgument[], IotaArgument]; } | { SplitCoins: [IotaArgument, IotaArgument[]]; } | { MergeCoins: [IotaArgument, IotaArgument[]]; } | { Publish: string[]; } | { Upgrade: [string[], string, IotaArgument]; } | { MakeMoveVec: [string | null, IotaArgument[]]; }

A single transaction in a programmable transaction block.

Type Declaration

{ MoveCall: MoveCallIotaTransaction; }

MoveCall

MoveCall: MoveCallIotaTransaction

A call to either an entry or a public Move function

{ TransferObjects: [IotaArgument[], IotaArgument]; }

TransferObjects

TransferObjects: [IotaArgument[], IotaArgument]

{ SplitCoins: [IotaArgument, IotaArgument[]]; }

SplitCoins

SplitCoins: [IotaArgument, IotaArgument[]]

{ MergeCoins: [IotaArgument, IotaArgument[]]; }

MergeCoins

MergeCoins: [IotaArgument, IotaArgument[]]

{ Publish: string[]; }

Publish

Publish: string[]

{ Upgrade: [string[], string, IotaArgument]; }

Upgrade

Upgrade: [string[], string, IotaArgument]

{ MakeMoveVec: [string | null, IotaArgument[]]; }

MakeMoveVec

MakeMoveVec: [string | null, IotaArgument[]]