Trade Route by Hash | bsc

Returns 50 DEX trades on Ethereum and BNB Chain, where tx hash is 0x68e0…a2ba, sorted by block height trade index: side, base currency address, base currency symbol, decimals, quote currency address, quote currency symbol, quote price and 14 more fields.

By lukas · saved 16 October 2022 · run 7 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {asc: ["block.height", "tradeIndex"], limit: 50, offset: 0}
      txHash: {is: "0x68e001b8922e90566b7f6cdf6143a93ddc3ff02d16b094b3201b1fdb0482a2ba"}
    ) {
      side
      baseCurrency {
        address
        symbol
        decimals
      }
      quoteCurrency {
        address
        symbol
        decimals
      }
      quotePrice
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      sellAmount: buyAmount
      sellCurrency: buyCurrency {
        address
        symbol
      }
      buyAmount: sellAmount
      buyCurrency: sellCurrency {
        address
        symbol
      }
      tradeAmount(in: USD)
    }
  }
}

Similar queries