currency pair liquidity events
Streams DEX pool events as they happen, 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 8 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
Filters
- currency a smart contract is 0x0bb2…fc1e
- currency b smart contract is 0xdac1…1ec7
- DEX protocol name is uniswap_v4
The subscription
subscription {
EVM {
DEXPoolEvents(
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
}
}
}
}
}
}
Similar queries
- currency pair liquidity events stream · Ethereum · DEXPoolEvents
- uniswap-v4-pool-liquidity-by-poolid-ethereum · Ethereum · DEXPoolEvents
- Latest-Liquidity-Changes-of-Pools-in-a-Specific-DEX-Protocol---Uniswap-V4_6 · Ethereum · DEXPoolEvents
- Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4 · Ethereum · DEXPoolEvents
- Realtime Liquidity Stream of a Specific Pool · Ethereum · DEXPoolEvents