bing1_USD_PRICE

Returns DEX trades on Ethereum, where maker or taker is 0x90ca…ed9e: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, expression and 5 more fields.

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

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!) {
  ethereum(network: $network) {
    dexTrades(makerOrTaker: {is: $address}) {
      sellCurrency {
        symbol
        address
      }
      sellAmount
      sellAmountUSD: sellAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      buyAmount
      buyAmountUSD: buyAmount(in: USD)
      usdPrice: expression(get: "buyAmountUSD / sellAmount")
      transaction {
        hash
      }
      date {
        date
      }
      maker {
        address
      }
      taker {
        address
      }
      protocol
    }
  }
}

Variables

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

Similar queries