Overview
- Dataset ID:
0303 - Liquidity Pool Swap Fees - Description: Per-swap fee accounting: executed swap sizes plus computed fee amounts using the pool’s fee terms (
blockdb_evm.b0212_liquidity_pools_fee_terms_v1). - Sample: Hugging Face Sample
Subscription Parameters
Filter updates to specific BlockDB pool identifiers.
Filter by input token addresses (hex strings, 20 bytes, no
0x prefix).Message Fields
BlockDB pool identifier.
Exchange/DEX identifier.
Pool type identifier.
Block height where the swap occurred.
Block time (ISO-8601).
Transaction index.
Log index.
Address of the input token.
Address of the output token.
Token address the fee is denominated in.
Executed input amount (raw units, integer string).
Executed output amount (raw units, integer string).
Total fee amount in
fee_token units.User/LP share of fees (raw units, nullable).
Protocol share of fees (raw units, nullable).
Extra destination share of fees (raw units, nullable).
Row-level lineage hash for correlation.
Parent lineage ids (hex).
Record creation time (ISO-8601).
Record last update time (ISO-8601).