quote_price

Returns DEX trades on Ethereum, where taker is 0x90ca…ed9e and tx hash is 0xe43c…038b: quote currency address, quote currency name, base currency address, base currency name, quote price, base amount, quote amount and transaction hash.

By Omkar_BQ · saved 21 August 2023 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!) {
  ethereum(network: $network) {
    dexTrades(
      taker: {is: $address}
      txHash: {is: "0xe43c7786c56fa415bb7beb082759bf05b036661f23fee0a5dc5907cc6c5f038b"}
    ) {
      quoteCurrency {
        address
        name
      }
      baseCurrency {
        address
        name
      }
      quotePrice
      baseAmount
      quoteAmount
      transaction {
        hash
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "address": "0x90caa215693b2e5c83bf16898384270fdbb8ed9e"
  
}

Similar queries