Latest trades for a token pair on uniswap v4 base
Returns the latest 100 DEX trades on Base, where trade pool ID is 0x7c76…4f30 and DEX protocol name is uniswap_v4: block time, pool ID, buy currency name, buy currency symbol, buy smart contract, buy decimals, buy amount and 16 more fields.
What it returns
- block time
- pool ID
- buy currency name
- buy currency symbol
- buy smart contract
- buy decimals
- buy amount
- buy amount in USD
- buy price
- buy price in USD
- buy seller
- sell currency name
- sell currency symbol
- sell smart contract
- sell decimals
- sell buyer
- sell amount
- sell amount in USD
- sell price
- sell price in USD
- from
- to
- transaction hash
Filters
- trade pool ID is 0x7c76…4f30
- DEX protocol name is uniswap_v4
The query
{
EVM(network: base) {
DEXTrades(
orderBy: {descending: Block_Time}
limit: {count: 100}
where: {Trade: {Dex: {ProtocolName: {is: "uniswap_v4"}}, PoolId: {is: "0x7c76fa7f6d64061837c3e03002f6362daa51ff9cc3c0ebbed69f140ca3844f30"}}}
) {
Block {
Time
}
Trade {
PoolId
Buy {
Currency {
Name
Symbol
SmartContract
Decimals
}
Amount
AmountInUSD
Price
PriceInUSD
Seller
}
Sell {
Currency {
Name
Symbol
SmartContract
Decimals
}
Buyer
Amount
AmountInUSD
Price
PriceInUSD
}
}
Transaction {
From
To
Hash
}
}
}
}
Similar queries
- Zora Trades For A Wallet Up To A Block · Base · DEXTrades
- dex_trade_by_tx_base · Base · DEXTrades
- base dextrades · Base · DEXTrades
- trades · Ethereum · DEXTrades
- base_aerodrome_slipstream · Base · DEXTrades