Skip to main content

Table Description

The transactions table contains information about all transactions on the Ethereum blockchain. Each row represents a single transaction and includes information such as block number, hash, timestamp, sender, recipient, value, gas, gas price, and more. Transactions are the fundamental unit of interaction with the Ethereum blockchain. Transactions are created by users and are used to send value, deploy smart contracts, and interact with smart contracts. This is the raw version of this table, for decoded transaction calls, see the call tables section.

Column Descriptions

ColumnTypeDescription
block_timetimestampTimestamp of the block containing this transaction
block_numberbigintBlock number containing this transaction
valuedecimalAmount of native token transferred (in wei)
gas_limitbigintMaximum gas the sender is willing to use
gas_pricebigintPrice per gas unit (in wei)
gas_usedbigintActual gas consumed by the transaction
max_fee_per_gasbigintMaximum total fee per gas (EIP-1559)
max_priority_fee_per_gasbigintMaximum priority fee (tip) per gas (EIP-1559)
priority_fee_per_gasbigintActual priority fee per gas paid
noncebigintTransaction count of the sender before this transaction
indexbigintPosition of the transaction within the block
successbooleanWhether the transaction executed successfully
fromvarbinaryAddress of the transaction sender
tovarbinaryAddress of the transaction recipient
block_hashvarbinaryHash of the block containing this transaction
datavarbinaryCalldata sent with the transaction
hashvarbinaryUnique hash of the transaction
typevarcharTransaction type (legacy, EIP-2930, EIP-1559, EIP-4844)
access_listarray(row)List of addresses and storage keys accessed (EIP-2930)
block_datedateDate of the block (UTC)
blob_versioned_hashesarray(varbinary)Versioned hashes of blobs (EIP-4844)
max_fee_per_blob_gasbigintMaximum fee per blob gas (EIP-4844)
authorization_listarray(row)Authorization list for EIP-7702 transactions

Table Sample

Examples

Show all transactions sent by a specific address

select * 
from ethereum.transactions where "from" = 0x50A1b5c358F8D34F0d35aA2f10742c46054E247e

Count the number of transactions per block

SELECT 
    block_number, 
    COUNT(*)
FROM ethereum.transactions
GROUP BY 1
ORDER BY 1 DESC
LIMIT 10

Show the top 10 transactions with the highest gas price

SELECT 
    hash, 
    gas_price
FROM ethereum.transactions
ORDER BY gas_price DESC
LIMIT 10