Buys

Returns DEX trades by token on Ethereum, where currency smart contract is 0x0645…6fb8 and trade buyer is 0x1818…754d: buyer, seller, trade amount, smart contract, currency name, currency symbol and transaction hash.

By Omkar_BQ · saved 3 November 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x06450dee7fd2fb8e39061434babcfc05599a6fb8"}}, Buyer: {is: "0x18186072687BBAE038D8700E2c505072B229754d"}}}
    ) {
      Trade {
        Buyer
        Seller
        Amount
        Currency {
          SmartContract
          Name
          Symbol
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries