curl -X POST "https://api.blockdb.io/v1/evm/raw/internal-transactions" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 12345678,
"to_block": 12345999,
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"call_types": ["CALL", "DELEGATECALL"],
"tx_success": true,
"limit": 250,
"cursor": null
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": null,
"to_timestamp": null
},
"resolved_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": null,
"to_timestamp": null
},
"filters": {
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"call_types": [
"CALL",
"DELEGATECALL"
],
"tx_success": true,
"limit": 250,
"cursor": null
}
},
"data": [
{
"block_number": 12345680,
"block_time": "2025-10-29T00:01:23Z",
"tx_index": 5,
"trace_address": "0",
"call_type": "CALL",
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"value_wei": "1000000000000000000",
"gas": null,
"gas_used": null,
"input": null,
"output": null,
"error": null,
"tx_success": true,
"_tracing_id": "0111000000000000000000000000000000000001",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
},
{
"block_number": 12345680,
"block_time": "2025-10-29T00:01:23Z",
"tx_index": 5,
"trace_address": "0.1",
"call_type": "DELEGATECALL",
"from_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"to_address": "0000000000000000000000000000000000000001",
"value_wei": "0",
"gas": null,
"gas_used": null,
"input": null,
"output": null,
"error": null,
"tx_success": true,
"_tracing_id": "0111000000000000000000000000000000000002",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
],
"cursor": "next_page_cursor",
"page_count": 2
}
Primitives
Internal Transactions
Query internal transactions (call traces) from debug_traceTransaction with call type, value, gas, and revert data.
POST
/
v1
/
evm
/
raw
/
internal-transactions
curl -X POST "https://api.blockdb.io/v1/evm/raw/internal-transactions" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 12345678,
"to_block": 12345999,
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"call_types": ["CALL", "DELEGATECALL"],
"tx_success": true,
"limit": 250,
"cursor": null
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": null,
"to_timestamp": null
},
"resolved_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": null,
"to_timestamp": null
},
"filters": {
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"call_types": [
"CALL",
"DELEGATECALL"
],
"tx_success": true,
"limit": 250,
"cursor": null
}
},
"data": [
{
"block_number": 12345680,
"block_time": "2025-10-29T00:01:23Z",
"tx_index": 5,
"trace_address": "0",
"call_type": "CALL",
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"value_wei": "1000000000000000000",
"gas": null,
"gas_used": null,
"input": null,
"output": null,
"error": null,
"tx_success": true,
"_tracing_id": "0111000000000000000000000000000000000001",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
},
{
"block_number": 12345680,
"block_time": "2025-10-29T00:01:23Z",
"tx_index": 5,
"trace_address": "0.1",
"call_type": "DELEGATECALL",
"from_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"to_address": "0000000000000000000000000000000000000001",
"value_wei": "0",
"gas": null,
"gas_used": null,
"input": null,
"output": null,
"error": null,
"tx_success": true,
"_tracing_id": "0111000000000000000000000000000000000002",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
],
"cursor": "next_page_cursor",
"page_count": 2
}
Overview
- Dataset ID:
0111 - Internal Transactions - Description: Internal transactions (call traces) from
debug_traceTransaction. Response rows mirrorblockdb_evm.b0111_internal_transactions_v1(hex strings without0xforBYTEAfields in JSON). - 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.Filter by parent transaction hash (hex string, 32 bytes, no
0x prefix). Returns all call traces for those transactions. Mutually exclusive with block_numbers.Address & Type Filters
Filter by caller address (hex string, 20 bytes, no
0x prefix).Filter by callee address (hex string, 20 bytes, no
0x prefix). Failed CREATE/CREATE2 may have null to_address and are excluded when this filter is present.Filter by call type:
CALL, DELEGATECALL, STATICCALL, CREATE, CREATE2. Omit to return all types.Filter by underlying transaction success (
true = success, false = reverted). Omit to return traces for both.Pagination Controls
Recommended default
250; maximum 1000 to stay under ~10 MB responses.Pagination cursor from a prior call.
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 echoed from the request (addresses, call_types, tx_success, pagination state, etc.).
Data
Array of internal transaction (call trace) records, ordered by block, tx index, and trace address.
Block number of the parent transaction.
UTC timestamp of the block (ISO-8601).
Zero-based index of the parent transaction within the block.
Position in the call tree (e.g.
"0", "0.0", "0.1").One of:
CALL, DELEGATECALL, STATICCALL, CREATE, CREATE2.Caller address (hex string, 20 bytes, no
0x prefix).Callee address (hex string, 20 bytes); null for failed CREATE/CREATE2.
Native value transferred in this call, in wei (string to preserve precision).
Gas allocated for this call (string to preserve precision); null when disabled from indexing.
Gas consumed by this call (string to preserve precision); null when disabled from indexing.
Calldata for this call (hex string, no
0x prefix); null when disabled from indexing.Return data from the call (hex string, no
0x prefix when present); null when disabled from indexing or if the call reverted or return data is absent in the source trace.Error message if the call reverted; null otherwise.
Success of the underlying parent transaction that produced this internal call.
Internal tracing ID for observability (hex string, no
0x prefix); unique per row.Record creation timestamp, e.g.
"2025-11-11T18:42:15.123Z".Last update timestamp in the same format.
Envelope Fields
Cursor token for pagination.
Number of records returned in
data.curl -X POST "https://api.blockdb.io/v1/evm/raw/internal-transactions" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"from_block": 12345678,
"to_block": 12345999,
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"call_types": ["CALL", "DELEGATECALL"],
"tx_success": true,
"limit": 250,
"cursor": null
}'
{
"meta": {
"chain_id": 1,
"request_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": null,
"to_timestamp": null
},
"resolved_window": {
"from_block": 12345678,
"to_block": 12345999,
"from_timestamp": null,
"to_timestamp": null
},
"filters": {
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"call_types": [
"CALL",
"DELEGATECALL"
],
"tx_success": true,
"limit": 250,
"cursor": null
}
},
"data": [
{
"block_number": 12345680,
"block_time": "2025-10-29T00:01:23Z",
"tx_index": 5,
"trace_address": "0",
"call_type": "CALL",
"from_address": "0000000000000000000000000000000000000000",
"to_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"value_wei": "1000000000000000000",
"gas": null,
"gas_used": null,
"input": null,
"output": null,
"error": null,
"tx_success": true,
"_tracing_id": "0111000000000000000000000000000000000001",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
},
{
"block_number": 12345680,
"block_time": "2025-10-29T00:01:23Z",
"tx_index": 5,
"trace_address": "0.1",
"call_type": "DELEGATECALL",
"from_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"to_address": "0000000000000000000000000000000000000001",
"value_wei": "0",
"gas": null,
"gas_used": null,
"input": null,
"output": null,
"error": null,
"tx_success": true,
"_tracing_id": "0111000000000000000000000000000000000002",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
],
"cursor": "next_page_cursor",
"page_count": 2
}
Last modified on May 29, 2026
Was this page helpful?
⌘I