base query
Returns DEX trades on Base, where transaction from is 0x6106…045c: buy amount, buy amount in USD, buy smart contract, buy seller, buy buyer, sell amount, sell amount in USD and 6 more fields.
What it returns
- buy amount
- buy amount in USD
- buy smart contract
- buy seller
- buy buyer
- sell amount
- sell amount in USD
- sell smart contract
- sell buyer
- sell seller
- from
- transaction hash
- sender fee in USD
Filters
- transaction from is 0x6106…045c
The query
query ($address: String!) {
EVM(network: base, dataset: combined) {
DEXTrades(
where: {TransactionStatus: {Success: true}, any: [{Trade: {Buy: {Currency: {SmartContract: {is: $address}}}}}, {Trade: {Sell: {Currency: {SmartContract: {is: $address}}}}}], Transaction: {From: {is: "0x6106e8cab7de75cced3cb4dbaf2c0da396fd045c"}}}
limit: {offset: 0}
) {
Trade {
Buy {
Amount
AmountInUSD
Currency {
SmartContract
}
Seller
Buyer
}
Sell {
Amount
AmountInUSD
Currency {
SmartContract
}
Buyer
Seller
}
}
Transaction {
From
Hash
}
Fee {
SenderFeeInUSD
}
}
}
}
Variables
{
"address": "0xba0Dda8762C24dA9487f5FA026a9B64b695A07Ea"
}
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