Messages
No examples found{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>"
}{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>",
"status": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"severity": "<string>",
"retryable": true
}
}{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>",
"status": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"severity": "<string>",
"retryable": true
}
}{
"chain_id": 123,
"dataset_id": "<string>",
"is_reorg": true,
"data": {
"block_number": 123,
"tx_index": 123,
"trace_address": "<string>",
"call_type": "<string>",
"from_address": "<string>",
"to_address": "<string>",
"_tracing_id": "<string>"
}
}Primitives
Internal Transactions
Subscribe to real-time internal transaction (call trace) updates.
WSS
/
Overview
- Dataset ID:
0111 - Internal Transactions - Description: Internal transactions (call traces) from debug_traceTransaction.
- Sample: Hugging Face Sample
Subscription Parameters
Optional filter: caller addresses (hex, no
0x).Optional filter: callee addresses (hex, no
0x).Optional filter:
CALL, DELEGATECALL, STATICCALL, CREATE, CREATE2.Message Fields
Payload mirrorsblockdb_evm.b0111_internal_transactions_v1 (addresses and BYTEA fields as hex strings without 0x in JSON).
Parent transaction block.
Block time (ISO-8601).
Transaction index in block.
Call tree position (e.g.
0, 0.1).CALL, DELEGATECALL, STATICCALL, CREATE, or CREATE2.Caller (20-byte hex).
Callee (20-byte hex); null when not applicable.
Value transferred in wei (decimal string).
Gas allocated for this call frame (integer string).
Gas consumed by this call frame (integer string).
Calldata (hex string);
null when not applicable.Return data (hex string);
null if reverted.Error string if reverted;
null otherwise.Whether the underlying transaction succeeded.
Lineage id (hex).
Record creation time (ISO-8601).
Record last update time (ISO-8601).
Subscription Example
# Use wscat to connect and subscribe
wscat -c wss://api.blockdb.io/v1/evm/ \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-x '{"action": "subscribe", "dataset_id": "0111", "chain_id": 1, "params": {}}'
Response Example
{
"chain_id": 1,
"dataset_id": "0111",
"is_reorg": false,
"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": "100000",
"gas_used": "63546",
"input": "a9059cbb000000000000000000000000",
"output": "0000000000000000000000000000000000000000000000000000000000000001",
"error": null,
"tx_success": true,
"_tracing_id": "0111000000000000000000000000000000000001",
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
}
Messages
No examples found{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>"
}{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>",
"status": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"severity": "<string>",
"retryable": true
}
}{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>",
"status": "<string>",
"error": {
"code": "<string>",
"message": "<string>",
"severity": "<string>",
"retryable": true
}
}{
"chain_id": 123,
"dataset_id": "<string>",
"is_reorg": true,
"data": {
"block_number": 123,
"tx_index": 123,
"trace_address": "<string>",
"call_type": "<string>",
"from_address": "<string>",
"to_address": "<string>",
"_tracing_id": "<string>"
}
}subscribe
type:object
unsubscribe
type:object
subscribe_response
type:object
unsubscribe_response
type:object
update
type:object
Last modified on April 6, 2026
Was this page helpful?
⌘I