curl -X POST "https://api.blockdb.io/v1/evm/raw/transactions" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z",
"block_numbers": [
12345678,
12345679
],
"tx_hashes": [
"7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0"
],
"from_addresses": [
"0000000000000000000000000000000000000000"
],
"to_addresses": [
"0000000000000000000000000000000000000001"
],
"created_contract_addresses": [
"0000000000000000000000000000000000000002"
],
"status_success": true,
"tx_types": [
0,
1,
2
],
"limit": 200,
"cursor": null
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z"
},
"resolved_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z"
},
"filters": {
"block_numbers": [
12345678,
12345679
],
"tx_hashes": [
"7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0"
],
"from_addresses": [
"0000000000000000000000000000000000000000"
],
"to_addresses": [
"0000000000000000000000000000000000000001"
],
"created_contract_addresses": [
"0000000000000000000000000000000000000002"
],
"status_success": true,
"tx_types": [
0,
1,
2
]
}
},
"data": [
{
"block_number": 12345678,
"block_time": "2025-11-11T18:42:15.123Z",
"tx_hash": "7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0",
"tx_index": 4,
"from_address": "0000000000000000000000000000000000000000",
"to_address": "0000000000000000000000000000000000000001",
"created_contract_address": null,
"gas_used": "21000",
"effective_gas_price_wei": "1234567890123456789",
"status_success": true,
"root": null,
"tx_type": 2,
"trace_failed": false,
"value_wei": "0",
"input": "a9059cbb000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003e8",
"nonce": 7,
"gas_limit": 21000,
"gas_price_wei": "1234567890",
"max_fee_per_gas_wei": "2000000000",
"max_priority_fee_per_gas_wei": "1000000000",
"_tracing_id": "010200000000000000000000000000000000",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
],
"cursor": null,
"page_count": 1
}
Primitives
Transactions
Filter canonical transactions with execution metadata and gas accounting.
POST
/
v1
/
evm
/
raw
/
transactions
curl -X POST "https://api.blockdb.io/v1/evm/raw/transactions" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z",
"block_numbers": [
12345678,
12345679
],
"tx_hashes": [
"7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0"
],
"from_addresses": [
"0000000000000000000000000000000000000000"
],
"to_addresses": [
"0000000000000000000000000000000000000001"
],
"created_contract_addresses": [
"0000000000000000000000000000000000000002"
],
"status_success": true,
"tx_types": [
0,
1,
2
],
"limit": 200,
"cursor": null
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z"
},
"resolved_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z"
},
"filters": {
"block_numbers": [
12345678,
12345679
],
"tx_hashes": [
"7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0"
],
"from_addresses": [
"0000000000000000000000000000000000000000"
],
"to_addresses": [
"0000000000000000000000000000000000000001"
],
"created_contract_addresses": [
"0000000000000000000000000000000000000002"
],
"status_success": true,
"tx_types": [
0,
1,
2
]
}
},
"data": [
{
"block_number": 12345678,
"block_time": "2025-11-11T18:42:15.123Z",
"tx_hash": "7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0",
"tx_index": 4,
"from_address": "0000000000000000000000000000000000000000",
"to_address": "0000000000000000000000000000000000000001",
"created_contract_address": null,
"gas_used": "21000",
"effective_gas_price_wei": "1234567890123456789",
"status_success": true,
"root": null,
"tx_type": 2,
"trace_failed": false,
"value_wei": "0",
"input": "a9059cbb000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003e8",
"nonce": 7,
"gas_limit": 21000,
"gas_price_wei": "1234567890",
"max_fee_per_gas_wei": "2000000000",
"max_priority_fee_per_gas_wei": "1000000000",
"_tracing_id": "010200000000000000000000000000000000",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
],
"cursor": null,
"page_count": 1
}
Overview
- Dataset ID:
0102 - Transactions - Description: Transactions included in blocks.
- CSV Sample: Download
- JSON Sample: Download
Parameters
Range Filters (mutually exclusive)
Starting block number (inclusive) for the query. Use with
to_block.Ending block number (inclusive) for the query. Use with
from_block.Starting timestamp (ISO-8601). If it falls between blocks, the next block after this timestamp is used. Use with
to_timestamp.Ending timestamp (ISO-8601). If it falls between blocks, the last block before this timestamp is used. Use with
from_timestamp.Validation rule:
You must provide either a block range, a time range, or explicit selectors.
Providing more than one option (e.g., both ranges or ranges plus selectors) results in HTTP 400.
Providing none results in HTTP 400.
You must provide either a block range, a time range, or explicit selectors.
Providing more than one option (e.g., both ranges or ranges plus selectors) results in HTTP 400.
Providing none results in HTTP 400.
Direct Selectors
Explicit set of block numbers. Mutually exclusive with
tx_hashes.Explicit set of transaction hashes (hex string, 32 bytes, no
0x prefix). Mutually exclusive with block_numbers.Address & Type Filters
Filter by sender address (20 bytes, hex string, no
0x prefix).Filter by recipient address (20 bytes, hex string, no
0x prefix). Contract-creation transactions set to_address to null and are excluded when this filter is present.Filter by contract addresses created by the transaction.
Filter by execution status (
true = success, false = revert). Omit to include pre-Byzantium transactions with null status.Filter by transaction type ID (e.g.,
2 = EIP-1559, 1 = legacy).Pagination Controls
Recommended default
250; maximum 1000 to stay under ~10 MB responses.Opaque pagination cursor supplied by a previous response.
Response Fields
Meta
Echo of request metadata applied to the response.
EVM chain ID echoed from the request.
Pure echo of the window you sent (
from_block/to_block/from_timestamp/to_timestamp); unset bounds are null.The concrete window the query actually executed against, after resolving the request. For a block range on a time-bucketed endpoint (OHLC/VWAP/VWAP-aggregate/fiat VWAP),
from_timestamp/to_timestamp hold the resolved timestamp window (and from_block/to_block echo your request). For a time range on a block-keyed endpoint, from_block/to_block hold the resolved block range (and the timestamps echo your request). null for selector-only requests (no window). No extra database work is done — these are the values the query already computed.Resolved/echoed start block of the executed window.
Resolved/echoed end block of the executed window.
Resolved/echoed start timestamp (ISO-8601) of the executed window.
Resolved/echoed end timestamp (ISO-8601) of the executed window.
Filter parameters (block numbers, hashes, addresses, status flags) echoed from the request.
Data
Array of transaction objects.
Block height containing the transaction.
Block timestamp joined from the
blocks table for easier aggregation.Keccak-256 hash of the transaction (32 bytes, hex string, no
0x prefix).Zero-based index within the block; directly verifiable from RLP.
Sender address (20 bytes).
Recipient address (20 bytes).
null denotes contract creation.Address of the contract created by this transaction.
null for non-creation transactions.Gas consumed by the transaction (string to preserve
NUMERIC(78) precision).Effective gas price paid, expressed in wei (string to preserve precision).
Execution status:
true = success, false = revert, null for pre-Byzantium blocks.Post-transaction state root for pre-Byzantium blocks (32 bytes).
Transaction type identifier (e.g.,
2 = EIP-1559, 1 = legacy).true if trace failed, false if trace succeeded, null if trace not available.Value transferred in wei (string to preserve
NUMERIC precision).Calldata sent with the transaction (hex string, no
0x prefix).Sender nonce.
Gas limit provided by the sender (string to preserve
NUMERIC precision).Legacy gas price in wei (string to preserve
NUMERIC precision).Max fee per gas in wei for EIP-1559 transactions (string to preserve
NUMERIC precision).Max priority fee per gas in wei for EIP-1559 transactions (string to preserve
NUMERIC precision).Tracing identifier for the canonical transaction record (hex string, no
0x prefix).Record last update timestamp.
Record creation timestamp.
Envelope Fields
Cursor token for pagination.
Number of records returned in
data.curl -X POST "https://api.blockdb.io/v1/evm/raw/transactions" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z",
"block_numbers": [
12345678,
12345679
],
"tx_hashes": [
"7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0"
],
"from_addresses": [
"0000000000000000000000000000000000000000"
],
"to_addresses": [
"0000000000000000000000000000000000000001"
],
"created_contract_addresses": [
"0000000000000000000000000000000000000002"
],
"status_success": true,
"tx_types": [
0,
1,
2
],
"limit": 200,
"cursor": null
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z"
},
"resolved_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": "2025-10-29T00:00:00Z",
"to_timestamp": "2025-11-11T00:00:00Z"
},
"filters": {
"block_numbers": [
12345678,
12345679
],
"tx_hashes": [
"7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0"
],
"from_addresses": [
"0000000000000000000000000000000000000000"
],
"to_addresses": [
"0000000000000000000000000000000000000001"
],
"created_contract_addresses": [
"0000000000000000000000000000000000000002"
],
"status_success": true,
"tx_types": [
0,
1,
2
]
}
},
"data": [
{
"block_number": 12345678,
"block_time": "2025-11-11T18:42:15.123Z",
"tx_hash": "7b5c0972efb6a0b5be4a4d4a0de5d1abd922478a53f32b2c717a800c862ba9e0",
"tx_index": 4,
"from_address": "0000000000000000000000000000000000000000",
"to_address": "0000000000000000000000000000000000000001",
"created_contract_address": null,
"gas_used": "21000",
"effective_gas_price_wei": "1234567890123456789",
"status_success": true,
"root": null,
"tx_type": 2,
"trace_failed": false,
"value_wei": "0",
"input": "a9059cbb000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003e8",
"nonce": 7,
"gas_limit": 21000,
"gas_price_wei": "1234567890",
"max_fee_per_gas_wei": "2000000000",
"max_priority_fee_per_gas_wei": "1000000000",
"_tracing_id": "010200000000000000000000000000000000",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
],
"cursor": null,
"page_count": 1
}
Last modified on May 29, 2026
Was this page helpful?
⌘I