latest liquidity for a currency pair across all v4 pools
Returns the latest DEX pool events, where currency a smart contract is 0x0bb2…fc1e, currency b smart contract is 0xdac1…1ec7 and DEX protocol name is uniswap_v4: block time, ato b price, bto a price, ato b price in USD, bto a price in USD, amount currency a, amount currency b and 9 more fields.
What it returns
- block time
- ato b price
- bto a price
- ato b price in USD
- bto a price in USD
- amount currency a
- amount currency b
- amount currency a in USD
- amount currency b in USD
- decimals
- currency a name
- currency a symbol
- smart contract
- currency b name
- currency b symbol
- pool ID
Filters
- currency a smart contract is 0x0bb2…fc1e
- currency b smart contract is 0xdac1…1ec7
- DEX protocol name is uniswap_v4
The query
{
EVM {
DEXPoolEvents(
limitBy: {by: PoolEvent_Pool_PoolId count: 1}
orderBy: {descending: Block_Time}
where: {
PoolEvent: {
Dex: {ProtocolName: {is: "uniswap_v4"}},
Pool: {
CurrencyA: {SmartContract: {is: "0x0bb217e40f8a5cb79adf04e1aab60e5abd0dfc1e"}},
CurrencyB: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}
}
}
}
) {
Block {
Time
}
PoolEvent {
AtoBPrice
BtoAPrice
AtoBPriceInUSD
BtoAPriceInUSD
Liquidity {
AmountCurrencyA
AmountCurrencyB
AmountCurrencyAInUSD
AmountCurrencyBInUSD
}
Pool {
CurrencyA {
Decimals
Name
Symbol
SmartContract
}
CurrencyB {
Decimals
Name
SmartContract
Symbol
}
PoolId
}
}
}
}
}
Similar queries
- 0x99dfb1685a84679bcee2d4d26ea8700a19871f817fa6796b4e4222c903eecd37 · Ethereum · DEXPoolEvents
- top liquidity pools on Ethereum · Ethereum · DEXPoolEvents
- liquidiy of all token pools · Ethereum · DEXPoolEvents
- topPoolsEVM · Ethereum · DEXPoolEvents
- top liquidity pools of atoken on ethereum · Ethereum · DEXPoolEvents