dex pair query

Returns DEX trades on Ethereum, where tx hash is 0x0002…e9ba: date date, quote currency address, quote currency name, quote currency symbol, base currency address, base currency name, base currency symbol and 2 more fields.

By Nick · saved 23 November 2021 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $tx: String!) {
  ethereum(network: $network) {
    dexTrades(txHash: {is: $tx}) {
      date {
        date
      }
      quoteCurrency {
        address
        name
        symbol
      }
      baseCurrency {
        address
        name
        symbol
      }
      exchange {
        name
      }
      transaction {
        hash
      }
    }
  }
}

Variables

{
    "limit": 15,
    "network": "ethereum",
    "tx": "0x00022c8cc07af698b30a22ddc28a2ed3e4f5e6da971557cf0d10e3e6e0d1e9ba",
    "dateFormat": "%Y-%m"
}

Similar queries