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,
"from_address": "<string>",
"to_address": "<string>",
"token_address": "<string>",
"transfer_type": "<string>",
"amount_raw": "<string>",
"_tracing_id": "<string>"
}
}Transfers
Token Transfers
Subscribe to real-time token transfer events.
WSS
/
Overview
- Dataset ID:
0304 - Token Transfers - Description: Token transfer events (native ETH, ERC-20, ERC-721, ERC-1155) produced by TokenTransfersEngine from transactions, internal transactions, and transfer logs.
- Sample: Hugging Face Sample
Subscription Parameters
Optional filter: sender addresses (hex, no
0x).Optional filter: recipient addresses (hex, no
0x).Optional filter: token contract addresses (hex, no
0x); omit for native transfers where applicable.Optional filter: transfer kinds (e.g.
native, erc20, erc721, erc1155).Message Fields
Block containing the transfer.
Block time (ISO-8601).
Transaction index within the block.
Log index when sourced from a log; null when not applicable.
Trace address for internal tx transfers (e.g.
"0", "0.1"); null for other types.Sender address (hex).
Recipient address (hex).
Token contract; null for native ETH transfers.
Raw amount (integer string in token/native units).
Decimal-adjusted amount; null if decimals unknown or NFT.
NFT / ERC-1155 id when applicable.
Transfer mechanism as integer enum (see Transfer Type).
Row lineage id (hex).
Parent lineage ids (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": "0304", "chain_id": 1, "params": {}}'
Response Example
{
"chain_id": 1,
"dataset_id": "0304",
"is_reorg": false,
"data": {
"block_number": 12345680,
"block_time": "2025-10-29T00:01:23Z",
"tx_index": 5,
"log_index": 2,
"trace_address": null,
"from_address": "0000000000000000000000000000000000000000",
"to_address": "0000000000000000000000000000000000000001",
"token_address": "c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"amount_raw": "1000000000000000000",
"amount_adj": "1.0",
"token_id": null,
"transfer_type": 2,
"_tracing_id": "0304000000000000000000000000000000000001",
"_parent_tracing_ids": [
"0102000000000000000000000000000000000001",
"0201000000000000000000000000000000000001"
],
"_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,
"from_address": "<string>",
"to_address": "<string>",
"token_address": "<string>",
"transfer_type": "<string>",
"amount_raw": "<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