Trade Route by Hash | Ethereum

trade by transaction

Returns 50 DEX trades on Ethereum, where tx hash is 0x43fc…c5b5, 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 2 August 2022 · run 23 times · Bitquery API v1

What it returns

Filters

The query

query {
  ethereum(network: ethereum) {
    dexTrades(
      options: {asc: ["block.height", "tradeIndex"], limit: 50, offset: 0}
      txHash: {is: "0x43fce7f74d7b1b959541a09569456fa1d79b0d68681e3761f235880b9872c5b5"}
    ) {
      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