The type of coin being used.
The type of consensus mechanism used to validate a block.
Contains the dependent cost of opcodes.
LightOperation
: Operations that can process many units with 1 gas
HeavyOperation
: Operations that require more than 1 gas to process a single unit
An input type for a transaction.
InputCoin
: An input type for
a coin.
InputContract
: An input
type for a contract.
InputMessage
: An input
type for a message.
An output type for a transaction.
CoinOutput
: Indicates coins
were forwarded from one address to another.
Can be used during transaction creation when the recipient, asset, and amount is known.
ContractOutput
:
Indicates the transaction updated the state of a contract.
ChangeOutput
: Indicates
that the output's amount may vary based on transaction execution, but is
otherwise identical to a Coin output. Output changes are always guaranteed to
have an amount of zero since they're only set after execution terminates.
VariableOutput
: Similar
to
ChangeOutput
, this output type indicates that the output's amount may vary
based on transaction execution, but is otherwise identical to a Coin output. On
initialization, the amount on variable outputs is zero, but during execution
they could be set to a non-zero value.
ContractCreated
:
Indicates a contract was deployed.
The status type of a transaction.
SubmittedStatus
: The transaction has been submitted.
SuccessStatus
: The transaction has succeeded.
SqueezedOutStatus
: The transaction was kicked out of the mempool.
FailureStatus
: The transaction has failed.