base_trade_txn
Returns DEX trades on Base, where DEX smart contract is 0x88a4…bb9c and transaction hash is 0xf613…dbe8: buy price in USD, buy amount in USD, buy smart contract, buy currency name, buy amount, sell price in USD, sell amount and 4 more fields.
What it returns
- buy price in USD
- buy amount in USD
- buy smart contract
- buy currency name
- buy amount
- sell price in USD
- sell amount
- sell amount in USD
- sell currency name
- sell smart contract
- transaction hash
Filters
- DEX smart contract is 0x88a4…bb9c
- transaction hash is 0xf613…dbe8
The query
query MyQuery {
EVM(network: base, dataset: combined) {
DEXTrades(
where: {Trade: {Dex: {SmartContract: {is: "0x88a43bbdf9d098eec7bceda4e2494615dfd9bb9c"}}}, Transaction: {Hash: {is: "0xf61383ccd7bf7877f654aef611396e8516de0b5a3145ef750f3681fbdd20dbe8"}}}
) {
Trade {
Buy {
PriceInUSD
AmountInUSD
Currency {
SmartContract
Name
}
Amount
}
Sell {
PriceInUSD
Amount
AmountInUSD
Currency {
Name
SmartContract
}
}
}
Transaction {
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