Skip to main content

Messages

RawTransaction

FieldTypeDescription
signaturethru.common.v1.Signature
raw_transactionbytes

Transaction

FieldTypeDescription
signaturethru.common.v1.Signature
headerTransactionHeader
bodyoptional ``bytes
execution_resultoptional ``TransactionExecutionResult
slotoptional ``uint64
block_offsetoptional ``uint32

TransactionEvent

FieldTypeDescription
event_idstring
call_idxuint32
program_idxuint32
programthru.common.v1.Pubkey
payloadbytes

TransactionExecutionResult

FieldTypeDescription
consumed_compute_unitsuint32
consumed_memory_unitsuint32
consumed_state_unitsuint32
user_error_codeuint64
vm_errorTransactionVmError
execution_resultuint64
pages_useduint32
events_countuint32
events_sizeuint32
readwrite_accountsrepeated ``thru.common.v1.Pubkey
readonly_accountsrepeated ``thru.common.v1.Pubkey
eventsrepeated ``TransactionEvent

TransactionHeader

FieldTypeDescription
fee_payer_signaturethru.common.v1.Signature
versionuint32
flagsuint32
readwrite_accounts_countuint32
readonly_accounts_countuint32
instruction_data_sizeuint32
requested_compute_unitsuint32
requested_state_unitsuint32
requested_memory_unitsuint32
expiry_afteruint32
feeuint64
nonceuint64
start_slotuint64
fee_payer_pubkeythru.common.v1.Pubkey
program_pubkeythru.common.v1.Pubkey

Enums

TransactionView

TransactionView controls how transactions are materialized in responses.
ValueNumberDescription
TRANSACTION_VIEW_UNSPECIFIED0
TRANSACTION_VIEW_SIGNATURE_ONLY1
TRANSACTION_VIEW_HEADER_ONLY2
TRANSACTION_VIEW_HEADER_AND_BODY3
TRANSACTION_VIEW_FULL4

TransactionVmError

TransactionVmError enumerates runtime error codes returned by the executor.
ValueNumberDescription
TRANSACTION_VM_EXECUTE_SUCCESS0TN_RUNTIME_TXN_EXECUTE_SUCCESS
TRANSACTION_VM_ERROR_INVALID_FORMAT-255TN_RUNTIME_TXN_ERR_INVALID_FORMAT
TRANSACTION_VM_ERROR_INVALID_VERSION-254TN_RUNTIME_TXN_ERR_INVALID_VERSION
TRANSACTION_VM_ERROR_INVALID_FLAGS-253TN_RUNTIME_TXN_ERR_INVALID_FLAGS
TRANSACTION_VM_ERROR_INVALID_SIGNATURE-252TN_RUNTIME_TXN_ERR_INVALID_SIGNATURE
TRANSACTION_VM_ERROR_DUPLICATE_ACCOUNT-251TN_RUNTIME_TXN_ERR_DUPLICATE_ACCOUNT
TRANSACTION_VM_ERROR_UNSORTED_ACCOUNTS-250TN_RUNTIME_TXN_ERR_UNSORTED_ACCOUNTS
TRANSACTION_VM_ERROR_UNSORTED_READWRITE_ACCOUNTS-249TN_RUNTIME_TXN_ERR_UNSORTED_READWRITE_ACCOUNTS
TRANSACTION_VM_ERROR_UNSORTED_READONLY_ACCOUNTS-248TN_RUNTIME_TXN_ERR_UNSORTED_READONLY_ACCOUNTS
TRANSACTION_VM_ERROR_ACCOUNT_COUNT_LIMIT_EXCEEDED-247TN_RUNTIME_TXN_ERR_ACCOUNT_COUNT_LIMIT_EXCEEDED
TRANSACTION_VM_ERROR_NONCE_TOO_LOW-511TN_RUNTIME_TXN_ERR_NONCE_TOO_LOW
TRANSACTION_VM_ERROR_NONCE_TOO_HIGH-510TN_RUNTIME_TXN_ERR_NONCE_TOO_HIGH
TRANSACTION_VM_ERROR_INSUFFICIENT_FEE_PAYER_BALANCE-509TN_RUNTIME_TXN_ERR_INSUFFICIENT_FEE_PAYER_BALANCE
TRANSACTION_VM_ERROR_FEE_PAYER_ACCOUNT_DOES_NOT_EXIST-508TN_RUNTIME_TXN_ERR_FEE_PAYER_ACCOUNT_DOES_NOT_EXIST
TRANSACTION_VM_ERROR_NOT_LIVE_YET-507TN_RUNTIME_TXN_ERR_NOT_LIVE_YET
TRANSACTION_VM_ERROR_EXPIRED-506TN_RUNTIME_TXN_ERR_EXPIRED
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF-505TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_TYPE-504TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_TYPE
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_SLOT-503TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_SLOT
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_ACCOUNT_OWNER-502TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_ACCOUNT_OWNER
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_OWNER-501TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_OWNER
TRANSACTION_VM_ERROR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_META_DATA_SZ-500TN_RUNTIME_TXN_ERR_INVALID_FEE_PAYER_STATE_PROOF_ACCOUNT_META_DATA_SZ
TRANSACTION_VM_ERROR_VM_FAILED-767TN_RUNTIME_TXN_ERR_VM_FAILED
TRANSACTION_VM_ERROR_INVALID_PROGRAM_ACCOUNT-766TN_RUNTIME_TXN_ERR_INVALID_PROGRAM_ACCOUNT
TRANSACTION_VM_ERROR_VM_REVERT-765TN_RUNTIME_TXN_ERR_VM_REVERT
TRANSACTION_VM_ERROR_CU_EXHAUSTED-764TN_RUNTIME_TXN_ERR_CU_EXHAUSTED
TRANSACTION_VM_ERROR_SU_EXHAUSTED-763TN_RUNTIME_TXN_ERR_SU_EXHAUSTED