⌘K

Icon SunFilledIcon MoonStars

Icon LinkUnion Types

Icon LinkCoinType

The type of coin being used.

Types:

Coin : A standard coin.

MessageCoin : A message coin.

Icon LinkConsensus

The type of consensus mechanism used to validate a block.

Types:

Genesis : Genesis consensus

PoAConsensus : PoA consensus

Icon LinkDependentCost

Contains the dependent cost of opcodes.

Types:

LightOperation : Operations that can process many units with 1 gas

HeavyOperation : Operations that require more than 1 gas to process a single unit

Icon LinkInput

An input type for a transaction.

Types:

InputCoin : An input type for a coin.

InputContract : An input type for a contract.

InputMessage : An input type for a message.

Icon LinkOutput

An output type for a transaction.

Types:

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.

Icon LinkTransactionStatus

The status type of a transaction.

Types:

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.