Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link

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 LinkDryRunTransactionStatus

The status of a transaction dry run.

Types:

DryRunSuccessStatus : The transaction dry run was successful.

DryRunFailureStatus : The transaction dry run failed.

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 LinkRelayedTransactionStatus

The status of a relayed transaction from a L1. If the transaction is valid, it will be included in part of a block. If the transaction is invalid, it will be skipped.

Types:

RelayedTransactionFailed : Details about why the relayed transaction failed.

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.

Icon LinkUpgradePurpose

The purpose of a network upgrade.

Types:

ConsensusParametersPurpose : The consensus parameters are being upgraded.

StateTransitionPurpose : The state transition is being upgraded.