Latest Liquidity Changes of a Specific Pool
Latest slippage of a pool on Uniswap v3
Returns the latest 10 DEX pool events on Base, where pool smart contract is 0x9c08…b903: block time, block number, ato b price, bto a price, smart contract, protocol name, amount currency a and 8 more fields.
What it returns
- block time
- block number
- ato b price
- bto a price
- smart contract
- protocol name
- amount currency a
- amount currency b
- currency a name
- currency a symbol
- currency b name
- currency b symbol
- pool ID
- gas
- transaction hash
Filters
- pool smart contract is 0x9c08…b903
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(network: base, dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
# For more info on the endpoint visit -
# https://docs.bitquery.io/docs/blockchain/Base/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
query MyQuery {
EVM(network: base) {
DEXPoolEvents(
limit: { count: 10 }
orderBy: { descending: Block_Time }
where: {
PoolEvent: {
Pool: {
SmartContract: { is: "0x9c087eb773291e50cf6c6a90ef0f4500e349b903" }
}
}
}
) {
Block {
Time
Number
}
PoolEvent {
AtoBPrice
BtoAPrice
Dex {
SmartContract
ProtocolName
}
Liquidity {
AmountCurrencyA
AmountCurrencyB
}
Pool {
CurrencyA {
Name
SmartContract
Symbol
}
CurrencyB {
Name
SmartContract
Symbol
}
PoolId
SmartContract
}
}
Transaction {
Gas
Hash
}
}
}
}
Similar queries
- uniswap_v4_init · Base · DEXPoolEvents
- uniswap_v4_zero_liquidity · Base · DEXPoolEvents
- uniswap v4 liquidity is 0 · Base · DEXPoolEvents
- top liquidity pools of cbBTC · Base · DEXPoolEvents
- poolevent 1 · Base · DEXPoolEvents