Messages
{
"action": "<string>",
"chain_id": 123,
"dataset_id": "<string>",
"params": {
"contract_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": {
"contract_address": "<string>",
"name": "<string>",
"symbol": "<string>",
"token_uri": "<string>",
"block_number": 123,
"_tracing_id": "<string>"
}
}Entities
ERC-721 Tokens
Subscribe to real-time ERC-721 collection registry updates.
WSS
/
Overview
- Dataset ID:
0202 - ERC-721 Tokens - Description: Catalog of ERC-721 NFT collection contracts (EIP-721).
- Sample: Hugging Face Sample
Subscription Parameters
Optional filter: one collection contract (20-byte hex, no
0x prefix).Message Fields
Unique contract incarnation ID (26 bytes hex).
Collection contract address (20-byte hex).
Block where the collection was first recognized.
Block time (ISO-8601).
Transaction index within the block.
Collection name from
name() (ERC721Metadata, optional).Collection symbol from
symbol() (ERC721Metadata, optional).Representative sample from the discovery probe.
Whether the contract supports the ERC721Metadata extension; null when detection was via fallback.
Whether the contract supports the ERC721Enumerable extension; null when detection was via fallback.
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": "0202", "chain_id": 1, "params": {}}'
Response Example
{
"chain_id": 1,
"dataset_id": "0202",
"is_reorg": false,
"data": {
"contract_id": "0000000000000000000000000000000000000000000000000000",
"contract_address": "bc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"block_number": 12287507,
"block_time": "2021-04-22T23:43:17Z",
"tx_index": 114,
"name": "BoredApeYachtClub",
"symbol": "BAYC",
"token_uri": "ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/",
"supports_metadata": true,
"supports_enumerable": true,
"_tracing_id": "0202000000000000000000000000000000000001",
"_parent_tracing_ids": [
"0103000000000000000000000000000000000001"
],
"_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": {
"contract_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": {
"contract_address": "<string>",
"name": "<string>",
"symbol": "<string>",
"token_uri": "<string>",
"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