apecoin

Returns DEX trades on Ethereum, where tx hash is 0x4384…bcf7: trade amount, taker address, annotation, maker address, gas, to address, tx from address and 7 more fields.

By gaurav · saved 26 April 2022 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum {
    dexTrades(
      txHash: {is: "0x4384be807d02d5723179cfb457b42ac6f99664d5e1cccbe69512f2747a34bcf7"}
    ) {
      tradeAmount(in: USD)
      taker {
        address
        annotation
      }
      maker {
        address
        annotation
      }
      transaction {
        gas
        to {
          address
          annotation
        }
        txFrom {
          address
          annotation
        }
      }
      block {
        timestamp {
          time
        }
      }
      gas(calculate: sum)
      sellCurrency {
        symbol
        name
      }
      sellAmount
      buyCurrency {
        symbol
        name
      }
      buyAmount
    }
  }
}

Similar queries