Skip to main content

Common Enums

Commonly used enum types in RPC return data.

Receipt Status​

Transaction status in the Receipt, numeric type.

ValueDescription
0x0Success
0x1Failure
0x2Skipped

Space​

Enum type representing the storage space, string type.

ValueDescription
nativeCore Space
ethereumeSpace

Action Type​

Enum type representing the transaction action type, string type.

ValueDescription
callMethod call
createCreate contract
call_resultMethod call result
create_resultContract creation result
internal_transfer_actionInternal transfer action
set_auth7702 Set Authorization(This type is not currently available for Core Space traces.)
suicideContract self-destruct

Create Type​

Contract creation type, string type.

ValueDescription
createNormal contract creation
create2Contract created via CREATE2

Call Type​

Method call type, string type.

ValueDescription
callNormal contract call
staticcallStatic call
delegatecallDelegate call
callcodeCode call (deprecated)

Pocket Type​

Account balance type, string type.

ValueDescription
balanceAccount balance
staking_balanceStaking balance
storage_collateralStorage collateral
sponsor_balance_for_gasGas sponsor balance
sponsor_balance_for_collateralStorage collateral sponsor balance
mint_or_burnMint or burn
gas_paymentGas payment

Action Status Type​

Transaction trace action status type, string type.

ValueDescription
successAction succeeded
revertedAction reverted
failedAction failed

SetAuth Outcome Type​

Set authorization outcome type, string type.

ValueDescription
successSet Auth success
invalid_chain_idChain ID is not equal to the current chain ID also not equal to 0
invalid_nonceNonce is not equal to the current nonce
nonce_overflowNonce is overflow
invalid_signatureSignature is invalid
account_can_not_set_authOnly account is empty or already delegated can set auth