liquidity of a pool - EVM - query
Returns the latest DEX pool event on Ethereum, where pool smart contract is 0x1ae7…ab7d: block time, block number, ato b price, bto a price, smart contract, protocol name, amount currency a and 10 more fields.
What it returns
- block time
- block number
- ato b price
- bto a price
- smart contract
- protocol name
- amount currency a
- amount currency a in USD
- amount currency b
- amount currency b in USD
- currency a name
- currency a symbol
- currency b name
- currency b symbol
- pool ID
- gas
- transaction hash
Filters
- pool smart contract is 0x1ae7…ab7d
The query
query PoolLiquidityEVM($network: evm_network, $poolAddress: String!) {
EVM(network: $network) {
DEXPoolEvents(
limit: {count: 1}
orderBy: {descending: Block_Time}
where: {PoolEvent: {Pool: {SmartContract: {is: $poolAddress}}}}
) {
Block {
Time
Number
}
PoolEvent {
AtoBPrice
BtoAPrice
Dex {
SmartContract
ProtocolName
}
Liquidity {
AmountCurrencyA
AmountCurrencyAInUSD
AmountCurrencyB
AmountCurrencyBInUSD
}
Pool {
CurrencyA {
Name
SmartContract
Symbol
}
CurrencyB {
Name
SmartContract
Symbol
}
PoolId
SmartContract
}
}
Transaction {
Gas
Hash
}
}
}
}
Variables
{
"network": "eth",
"poolAddress": "0x1ae71aadbeb70c0a8c297fd99075e5b71865ab7d"
}
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