curl -X POST "https://api.blockdb.io/v1/evm/lineage/record" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"tracing_id": "0201000000000000000000000000000000000001"
}'
{
"meta": {
"chain_id": 1,
"tracing_id": "0201000000000000000000000000000000000001"
},
"data": {
"dataset": "blockdb_evm.b0201_erc20_tokens_v1",
"record": {
"chain_id": 1,
"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",
"_parent_tracing_ids": [
"0103000000000000000000000000000000000001",
"0103000000000000000000000000000000000002"
],
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
}
}
Lineage
Lineage Record
Fetch canonical records directly by tracing identifier.
POST
/
v1
/
evm
/
lineage
/
record
curl -X POST "https://api.blockdb.io/v1/evm/lineage/record" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"tracing_id": "0201000000000000000000000000000000000001"
}'
{
"meta": {
"chain_id": 1,
"tracing_id": "0201000000000000000000000000000000000001"
},
"data": {
"dataset": "blockdb_evm.b0201_erc20_tokens_v1",
"record": {
"chain_id": 1,
"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",
"_parent_tracing_ids": [
"0103000000000000000000000000000000000001",
"0103000000000000000000000000000000000002"
],
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
}
}
Overview
Retrieves the canonical BlockDB representation of a single record, keyed by its lineage identifier. This is the lightweight entry point before requesting heavier parent expansions.Parameters
Lineage identifier for the target record (hex string, no
0x prefix). The legacy _tracing_id key is still accepted.Response Fields
Meta
Echo of request metadata applied to the response.
EVM chain ID echoed from the request.
Tracing identifier for the record whose artifacts are returned.
Data
Envelope containing the record payload.
Dataset namespace that owns the record (e.g.,
0201_tokens-erc20).Snapshot of the dataset-specific fields for this record. Common metadata includes:
Network identifier copied from the envelope.
Dataset-specific primary key (illustrated here with a token contract address).
Canonical block height where the record last changed.
ISO-8601 timestamp for the block that produced the record state.
Transaction position for provenance auditing when applicable.
Log position for provenance auditing when applicable.
Internal variant of
tracing_id.Internal variant mirrored for completeness.
Internal created-at timestamp.
Internal updated-at timestamp.
name,symbol,decimals
Dataset fields shown for the ERC-20 example. Actual shape varies per dataset—consult the dataset’s schema docs.
Next Steps
- Chain into
/evm/lineage/parentsto traverse upstream derived records.
curl -X POST "https://api.blockdb.io/v1/evm/lineage/record" \
-H "Authorization: Bearer $BLOCKDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain_id": 1,
"tracing_id": "0201000000000000000000000000000000000001"
}'
{
"meta": {
"chain_id": 1,
"tracing_id": "0201000000000000000000000000000000000001"
},
"data": {
"dataset": "blockdb_evm.b0201_erc20_tokens_v1",
"record": {
"chain_id": 1,
"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",
"_parent_tracing_ids": [
"0103000000000000000000000000000000000001",
"0103000000000000000000000000000000000002"
],
"_created_at": "2025-11-11T18:42:15.123Z",
"_updated_at": "2025-11-11T18:42:15.123Z"
}
}
}
Last modified on May 29, 2026
Was this page helpful?
⌘I