Skip to main content
WSS
wss://stream.blockdb.io/v1/evm/
Messages
subscribe
type:object
unsubscribe
type:object
subscribe_response
type:object
unsubscribe_response
type:object
update
type:object

Description

The ERC-20 Tokens stream delivers notifications whenever a new ERC-20 token is registered in the BlockDB catalog. Use this stream to discover newly deployed tokens across the canonical chain.

Subscription Parameters

chain_id
number
required
Target EVM network.
address
string
Filter notifications to a specific ERC-20 token address.

Message Fields

address
string
The Ethereum address of the token.
name
string
The name of the token.
symbol
string
The symbol of the token.
decimals
number
The number of decimals for the token.
block_number
number
Block number of the registration event.
_tracing_id
string
Row-level lineage hash for correlation.

Subscription Example

# Use wscat to connect and subscribe
wscat -c wss://stream.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": {
    "address": "0000000000000000000000000000000000000001",
    "name": "Token Name",
    "symbol": "TOKEN",
    "decimals": 18,
    "block_number": 567890,
    "block_time": "2018-07-07T12:34:56Z",
    "tx_index": 4,
    "log_index": 2,
    "_tracing_id": "0201000000000000000000000000000000000001",
    "_created_at": "2025-11-11T18:42:15.123Z"
  }
}