BSC - All transactions of an address

Returns the latest 10 transactions on Ethereum and BNB Chain, where date since 2023-06-01 and date till 2023-06-13: timestamp time, block height, success, sender address, gas value, gas currency symbol, hash and 2 more fields.

By gaurav · saved 13 June 2023 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      any: [{txSender: {is: $address}}, {txTo: {is: $address}}]
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      success
      sender {
        address
      }
      gasValue
      gas_value_usd: gasValue(in: USD)
      gasCurrency {
        symbol
      }
      hash
      to {
        address
        annotation
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0x3f349bbafec1551819b8be1efea2fc46ca749aa1",
  "from": "2023-06-01",
  "till": "2023-06-13T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries