Check_same12

Returns DEX trades on Ethereum, where tx hash is 0xa1c5…04c1: quote currency symbol, quote currency name, quote currency address, timestamp time, base currency name, base currency symbol, buy currency name and 12 more fields.

By Omkar Acharekar · saved 27 June 2023 · run 6 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!) {
  ethereum(network: $network) {
    dexTrades(
      txHash: {is:"0xa1c5851abacb442681b2b7457253d6fc28b8d11fc70a4eb447bd5ca1ba1c04c1"}
    ) {
      quoteCurrency {
        symbol
        name
        address
      }
      block {
        timestamp {
          time
        }
      }
      baseCurrency {
        name
        symbol
      }
      buyCurrency {
        name
        symbol
      }
      sellAmount
      buyAmount
      price
      sellCurrency {
        name
        symbol
      }
      transaction {
        hash
      }
      taker {
        address
      }
      maker {
        address
      }
      side
      exchange {
        fullName
        name
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "baseCurrency": "0x69e37422cb87d963367f73a119c8ce9a4d529b72",
  "buyCurrency":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "dateFormat": "%Y-%m-%d"
}

Similar queries