Skip to main content

ProgrammableTransactionInterface

interface ProgrammableTransactionInterface

A user transaction

Contains a series of native commands and move calls where the results of one command can be used in future commands.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Inheritors​

ProgrammableTransaction

Functions​

NameSummary
commandsabstract fun commands(): List<Command>
The commands to be executed sequentially. A failure in any command will result in the failure of the entire transaction.
inputsabstract fun inputs(): List<Input>
Input objects or primitive values
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.