dexQueryForKIBA

Returns DEX trades on Ethereum: full name, gas, gas price, gas value, transaction hash, transaction index, nonce and 9 more fields.

By Michael · saved 8 November 2021 · run 2 times · Bitquery API v1

What it returns

The query

query SampleQuery {
  ethereum {
    dexTrades {
      exchange {
        fullName
      }
      transaction(txSender: {in: "0xd314d0F4278098FF5772EBBb3D9B5A42dd8349D8"}) {
        gas
        gasPrice
        gasValue
        hash
        index
        nonce
      }
      sellCurrency {
        address
        name
        symbol
      }
      buyCurrency {
        address
        symbol
      }
      tradeAmount(in: USDT)
      date {
        date
      }
      buyAmount(calculate: average)
      sellAmount(calculate: average)
    }
  }
}

Similar queries