Latest-slippage-of-a-pool-on-Pancakeswap
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: bsc, dataset: combined) archive full history combined archive + realtime in one result Ar
What it returns
- bto a price
- min amount out
- max amount in
- ato b price
- pool ID
- smart contract
- decimals
- pair name
- currency b symbol
- currency b name
- currency a symbol
- currency a name
- protocol version
- protocol name
- protocol family
- slippage basis points
- block time
- block number
Filters
- pool smart contract is 0x16b9…0dae
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: bsc, 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/
#
{
EVM(network: bsc) {
DEXPoolSlippages(
where: {Price: {Pool: {SmartContract: {is: "0x16b9a82891338f9ba80e2d6970fdda79d1eb0dae"}}}}
limit: {count: 10}
orderBy: {descending: Block_Time}
) {
Price {
BtoA {
Price
MinAmountOut
MaxAmountIn
}
AtoB {
Price
MinAmountOut
MaxAmountIn
}
Pool {
PoolId
SmartContract
Pair {
Decimals
SmartContract
Name
}
CurrencyB {
Symbol
SmartContract
Name
Decimals
}
CurrencyA {
Symbol
SmartContract
Name
Decimals
}
}
Dex {
SmartContract
ProtocolVersion
ProtocolName
ProtocolFamily
}
SlippageBasisPoints
}
Block {
Time
Number
}
}
}
}
Similar queries
- Flap.sh: Creation Details of One Token (BSC Events) · BNB Chain · Events
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades