query_bsc_

Returns transactions and transfers on Ethereum and BNB Chain, where tx to is 0x4ad3…74be, receiver is 0x4ad3…74be and currency is BNB: minimum of time.

By Omkar_BQ · saved 21 October 2024 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork, $address: String!, $token: String!) {
    ethereum(network: $network) {
        transactions(txTo: {is: $address}) {
            date: minimum(of: time, get: time)
            hash: minimum(of: time, get: tx_hash)
            sender: minimum(of: time, get: tx_sender)
        }
        transfers(receiver: {is: $address}, currency: {is: $token}) {
            date: minimum(of: time, get: time)
            hash: minimum(of: time, get: tx_hash)
            sender: minimum(of: time, get: sender)
        }
    }
}

Variables

{
  "network": "bsc",
  "address": "0x4ad37b6d2e3320ec4e9012854fe187fd238f74be",
  "token": "BNB"
}

Similar queries