Latest-slippage-of-a-pool-on-Uniswap-v3-Ethereum
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: eth, 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 0xa43f…ec9f
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: eth, 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/Ethereum/dextrades/ethereum-
# slippage-api/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
query {
EVM(network: eth) {
DEXPoolSlippages(
where: {Price: {Pool: {SmartContract: {is: "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f"}}}}
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
- EVM DEXPoolSlippages · Ethereum · DEXPoolSlippages
- evm_slippage · Ethereum · DEXPoolSlippages
- pair slippage on ethereum uniswap v4 · Ethereum · DEXPoolSlippages
- LatestSlippageForOneV4Pool · Ethereum · DEXPoolSlippages
- slippages for poolid · Ethereum · DEXPoolSlippages