optimising query using date filter

Returns 25000 transactions on Ethereum and BNB Chain, where date after 2021-12-25, sorted by block height: timestamp time, block height, amount, sender address, annotation, to address, hash and 7 more fields.

By gaurav · saved 19 July 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    transactions(
      options: {asc: "block.height", limit: 25000, offset: 0}
      amount: {gteq: 0}
      date: {after: "2021-12-25"}
      height: {gteq: 13800001, lteq: 13800500}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      amount
      address: sender {
        address
        annotation
      }
      to {
        address
        annotation
      }
      hash
      gasValue
      gas
      gasPrice
      gasCurrency {
        symbol
      }
      currency {
        name
        address
        symbol
      }
    }
  }
}

Similar queries