two trades

Returns DEX trades on Ethereum and BNB Chain, where tx sender is 0xcf67…add7 and tx hash is 0x00c2…7ae4: transaction hash, tx from address, count, buy currency address, sell currency address, quote currency address, base currency address and 5 more fields.

By Tugay · saved 15 April 2022 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: bsc) {
    dexTrades(
      txSender:{is:"0xcf67c2bac13e35279e48a0ba41d4c3b9133dadd7"}
      txHash:{is:"0x00c2c68c65b39bb9dcc62bdb2cc7a0e7e0b10baf4cc2a325f9c42f0d08107ae4"}
      
    ){
      transaction{
        hash
        txFrom{
          address
        }
      }
      count
      buyCurrency{
        address
      }
      sellCurrency{
        address
      }
      quoteCurrency{
        address
      }
      baseCurrency{
        address
      }
      buyAmount
      sellAmount
      maker{
        address
      }
      taker{
        address
      }
      price
    }
  }
}

Similar queries