Description
The AMM Pools stream delivers notifications whenever a new automated market maker (AMM) pool is deployed across supported DEX protocols. Use this stream to detect new liquidity venues as they are created.
Subscription Parameters
Filter notifications to specific exchange identifiers.
Filter pools by archetype.
Message Fields
BlockDB internal pool identifier.
Token contract addresses that compose the pool.
Block height containing the pool creation.
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": "0203", "chain_id": 1, "params": {"exchange_ids": [1, 2]}}'
Response Example
{
"chain_id": 1,
"dataset_id": "0203",
"is_reorg": false,
"data": {
"uid": "88e6a0c2ddd26feeb64f039a2c41296fcb3f5640000000000000000000000000",
"exchange_id": 1,
"contract_address": "88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
"type_id": 2,
"tokens": [
"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
],
"block_number": 19001234,
"block_time": "2025-12-20T12:34:56Z",
"_tracing_id": "0203000000000000000000000000000000000001",
"_created_at": "2025-12-20T12:35:01Z"
}
}