Skip to main content
⚠️ This is the beta version of the Sui GraphQL schema. The beta schema will replace the alpha GraphQL schema upon its official release.

Command

A single command in the programmable transaction.

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

Possible types

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