DEX_TRADES

Returns DEX trades on Ethereum, where tx hash is 0xaa27…d33e: timestamp time, block height, trade index, protocol, full name, address address, annotation and 6 more fields.

By UppsalaBitqueryDev · saved 22 November 2024 · run 11 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      txHash: {is: "0xaa270830b8e94bf0fccbf6729039987231eff93ed1bb5c8390b80c311a77d33e"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      buyAmount
      buy_amount_usd: buyAmount(in: USD)
      buyCurrency {
        address
        symbol
      }
      sellAmount
      sell_amount_usd: sellAmount(in: USD)
      sellCurrency {
        address
        symbol
      }
    }
  }
}

Similar queries