Get_tx

Returns transactions on Ethereum and BNB Chain, where height is above 31079940 and height is below 31079949, sorted by block timestamp time: amount, sender address, gas value, hash, currency symbol, currency address, decimals and 6 more fields.

By Vertex · saved 25 August 2023 · Bitquery API v1

What it returns

Filters

The query

query Get_Tx($blockSince: Int, $blockTo: Int, $addresses: [String!]) {
  ethereum(network: bsc) {
    transactions(
      options: {asc: "block.timestamp.time"}
      height: {gt: $blockSince, lt: $blockTo}
    ) {
      amount
      sender(txSender: {in: $addresses}) {
        address
      }
      gasValue
      hash
      currency {
        symbol
        address
        decimals
      }
      index
      to {
        address
        smartContract {
          currency {
            symbol
            decimals
          }
        }
      }
      block {
        height
        timestamp {
          time
        }
      }
      nonce
      success
    }
  }
}

Variables

{
  "blockSince": 31079940,
  "blockTo": 31079949,
  "addresses": ["0xb218C5D6aF1F979aC42BC68d98A5A0D796C6aB01", "0xF6dDc8aCAFdA5BB95271CB73CFDe3AB7f67d3c99"]
}

Similar queries