GetTradeInformation

Returns DEX trades on Ethereum and BNB Chain, where tx hash is 0x27de…b179: sell currency address, decimals, sell currency name, sell currency symbol, buy currency address, buy currency name, buy currency symbol and 4 more fields.

By Nico · saved 10 December 2021 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: bsc) {
    dexTrades(
      txHash: {is: "0x27de3c168df23829ad39814773f4b38ae5eeee2b9c2cbf341fac80153ee7b179"}
    ) {
      sellCurrency {
        address
        decimals
        name
        symbol
      }
      buyCurrency {
        address
        decimals
        name
        symbol
      }
      tradeAmount(in: USD, calculate: sum)
      sellAmount
      buyAmount
      exchange(exchangeName: {}) {
        fullName
      }
    }
  }
}

Similar queries