Skip to main content

Variable: Commands

const Commands: object;

Simple helpers used to construct transactions:

Type Declaration

NameType
MoveCall()(input) => TransactionShape<"MoveCall">
TransferObjects()(objects, address) => TransactionShape<"TransferObjects">
SplitCoins()(coin, amounts) => TransactionShape<"SplitCoins">
MergeCoins()(destination, sources) => TransactionShape<"MergeCoins">
Publish()(__namedParameters) => TransactionShape<"Publish">
Upgrade()(__namedParameters) => TransactionShape<"Upgrade">
MakeMoveVec()(__namedParameters) => TransactionShape<"MakeMoveVec">
Intent()(__namedParameters) => TransactionShape<"$Intent">