total bnb received from an address

Returns transfers on Ethereum and BNB Chain, where sender is 0xd152…2150 and currency is BNB: count, amount, currency address, currency symbol and timestamp time.

By Raj · saved 26 April 2022 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!){
  total_transfers: ethereum(network: bsc){
    transfers(
      sender: {is: "0xd152f549545093347a162dce210e7293f1452150"}
     receiver:{is: $address}
     currency: {is: "BNB"}
    ){
      count
      sum_in: amount(calculate: sum, sender: {is: "0xd152f549545093347a162dce210e7293f1452150"})
      currency{
        address
        symbol
      }
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
    }
  }
}

Similar queries