All Trades for Wallet

Returns the latest DEX trades on Ethereum, where transaction from is 0x0ade…ddfd: buy amount, buy currency symbol, buy smart contract, sell amount, sell currency symbol, sell smart contract and transaction hash.

By lukas · saved 23 January 2024 · run 11 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Transaction: {From: {is: "0x0adef3e0de47eeef1ff6ff9a7c3ddfe8bd9dddfd"}}}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Buy {
          Amount
          Currency {
            Symbol
            SmartContract
          }
        }
        Sell {
          Amount
          Currency {
            Symbol
            SmartContract
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries