Messages
{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>",
"params": {
"address": "<string>"
}
}{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>"
}No examples foundNo examples found{
"chain_id": 123,
"dataset_id": "<string>",
"is_reorg": true,
"data": {
"address": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"block_number": 123,
"_tracing_id": "<string>"
}
}Entities
ERC-20 Tokens
Subscribe to real-time notifications for new ERC-20 token registrations.
WSS
Overview
- Dataset ID:
0201 - ERC-20 Tokens - Description: Catalog of ERC-20 token contracts (EIP-20).
- Sample: Hugging Face Sample
Subscription Parameters
Filter notifications to a specific ERC-20 token address (hex string, 20 bytes, no
0x prefix).Message Fields
Unique contract incarnation ID (26 bytes hex).
Token contract address (hex string, 20 bytes, no
0x prefix).Block where the token was first recognized.
Block time (ISO-8601).
Transaction index within the block.
Token name from
name() (optional in EIP-20).Token symbol from
symbol() (optional in EIP-20).Token decimals from
decimals() (optional in EIP-20).Row-level lineage hash for correlation.
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": "0201", "chain_id": 1, "params": {}}'
Response Example
{
"chain_id": 1,
"dataset_id": "0201",
"is_reorg": false,
"data": {
"contract_id": "0000000000000000000000000000000000000000000000000000",
"contract_address": "0000000000000000000000000000000000000001",
"block_number": 567890,
"block_time": "2018-07-07T12:34:56Z",
"tx_index": 4,
"name": "Token Name",
"symbol": "TOKEN",
"decimals": 18,
"_tracing_id": "0201000000000000000000000000000000000001",
"_parent_tracing_ids": [
"0103000000000000000000000000000000000001",
"0103000000000000000000000000000000000002"
],
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
}
Messages
{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>",
"params": {
"address": "<string>"
}
}{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>"
}No examples foundNo examples found{
"chain_id": 123,
"dataset_id": "<string>",
"is_reorg": true,
"data": {
"address": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"block_number": 123,
"_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