Copy of check wallet balance_test_bnb_sum_wrong

Returns transactions and transfers on Ethereum and BNB Chain, where tx sender is 0xe6be…30b8, receiver is 0xe6be…30b8 and sender is 0xe6be…30b8: gas value, timestamp time, block height, receiver address, annotation, currency address, currency symbol and 4 more fields.

By lukas · saved 21 August 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    total_gas: transactions(
      txSender: {is: "0xe6be8139820CDfD5b95152848e807cf26cd630b8"}
    ) {
      gasValue(calculate: sum)
    }
    inflow: transfers(
      receiver: {is: "0xe6be8139820CDfD5b95152848e807cf26cd630b8"}
      date: {since: "2019-01-01", till: "2023-08-10"}
      amount: {gt: 0}
      currency: {is: "BNB"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
        name
      }
      amount
      amount_usd: amount(in: USD)
      external
    }
    outflow: transfers(
      sender: {is: "0xe6be8139820CDfD5b95152848e807cf26cd630b8"}
      amount: {gt: 0}
      date: {since: "2019-01-01", till: "2023-08-10"}
      currency: {is: "BNB"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
        name
      }
      amount
      amount_usd: amount(in: USD)
      transaction {
        hash
      }
      external
    }
  }
}

Similar queries