Trades_in_Block

Returns DEX trades on Ethereum, where height is 18027152: timestamp time, block height, trade index, protocol, full name, address address, annotation and 7 more fields.

By Omkar Acharekar · saved 30 August 2023 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!) {
  ethereum(network: $network) {
    dexTrades(
      height: {is: 18027152}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      buyAmount
      buyCurrency {
        address
        symbol
      }
      buy_amount_usd: buyAmount(in: USD)
      sellAmount
      sellCurrency {
        address
        symbol
      }
      sell_amount_usd: sellAmount(in: USD)
      transaction {
        hash
      }
    }
  }
}

Variables

{"network":"ethereum","from":null,"till":null}

Similar queries