Skip to main content

Command

A single command in the programmable transaction.

union Command = MakeMoveVecCommand | MergeCoinsCommand | MoveCallCommand | PublishCommand | SplitCoinsCommand | TransferObjectsCommand | UpgradeCommand | OtherCommand

Possible types

Command.MakeMoveVecCommand object

Create a vector (can be empty).

Command.MergeCoinsCommand object

Merges coins into the first coin (produces no results).

Command.MoveCallCommand object

Command.PublishCommand object

Publishes a Move Package.

Command.SplitCoinsCommand object

Splits off coins with denominations in amounts from coin, returning multiple results (as many as there are amounts.)

Command.TransferObjectsCommand object

Transfers inputs to address. All inputs must have the store ability (allows public transfer) and must not be previously immutable or shared.

Command.UpgradeCommand object

Upgrades a Move Package.

Command.OtherCommand object

Placeholder for unimplemented command types

Member Of

CommandConnection object ● CommandEdge object