Skip to main content

Table description

This table contains the transaction data within Solana’s blockchain. Most of the relevant data related to account, protocol, and program activity is available in this table. This table excludes all voting transactions, which are available in the solana.vote_transactions table.

Table Schema

ColumnTypeDescription
block_slotBIGINTThe slot number of the block containing this transaction
block_heightBIGINTThe block height at which this transaction was processed
block_timeTIMESTAMPThe timestamp of the block this transaction belongs to
block_dateDATEThe date of the block this transaction belongs to
indexINTEGERThe index position of this transaction within the block
feeBIGINTThe transaction fee paid in lamports
compute_units_consumedBIGINTThe number of compute units consumed by this transaction
cost_unitsBIGINTThe cost units charged for this transaction
versionVARCHARThe transaction version (‘legacy’ or ‘0’ for versioned transactions)
required_signaturesINTEGERThe number of signatures required for this transaction
readonly_signed_accountsINTEGERThe number of read-only accounts that are also signers
readonly_unsigned_accountsINTEGERThe number of read-only accounts that are not signers
block_hashVARCHARThe hash of the block containing this transaction
idVARCHARThe unique transaction ID (same as signature)
signatureVARCHARThe first signature of the transaction, used as the transaction identifier
successBOOLEANWhether the transaction completed successfully
errorVARCHARThe error message if the transaction failed, null otherwise
recent_block_hashVARCHARThe recent blockhash used for transaction validity and replay prevention
instructionsARRAY(ROW(data VARCHAR, executing_account VARCHAR, account_arguments ARRAY(VARCHAR), inner_instructions ARRAY(ROW(data VARCHAR, executing_account VARCHAR, account_arguments ARRAY(VARCHAR), stack_height BIGINT))))The list of instructions executed in this transaction, including nested inner instructions
account_keysARRAY(VARCHAR)All account addresses referenced in this transaction
log_messagesARRAY(VARCHAR)Program log messages emitted during transaction execution
pre_balancesARRAY(BIGINT)SOL balances (in lamports) of all accounts before the transaction, ordered by account_keys index
post_balancesARRAY(BIGINT)SOL balances (in lamports) of all accounts after the transaction, ordered by account_keys index
pre_token_balancesARRAY(ROW(account VARCHAR, mint VARCHAR, owner VARCHAR, amount DECIMAL(38,18)))SPL token balances of accounts before the transaction
post_token_balancesARRAY(ROW(account VARCHAR, mint VARCHAR, owner VARCHAR, amount DECIMAL(38,18)))SPL token balances of accounts after the transaction
signaturesARRAY(VARCHAR)All signatures attached to this transaction
signerVARCHARThe primary signer (fee payer) of the transaction
signersARRAY(VARCHAR)All accounts that signed this transaction
return_data_program_idVARCHARThe program ID that produced the return data, if any
return_dataARRAY(VARCHAR)The data returned by the program after execution, if any
address_table_lookupsARRAY(ROW(accountKey VARCHAR, readonlyIndexes ARRAY(BIGINT), writableIndexes ARRAY(BIGINT)))Address lookup table references used for versioned transactions
loaded_addressesROW(readonly ARRAY(VARCHAR), writable ARRAY(VARCHAR))Addresses loaded from address lookup tables, split into readonly and writable sets

Table Sample