v3 bsc

Returns transfers on BNB Chain, where transfer receiver is 0xC376…F503, transfer sender is 0xC376…F503 and block number is above 10000: transfer amount, decimals, currency name, smart contract, currency symbol, receiver, sender and 10 more fields.

By EMRE ÖZER · saved 23 December 2024 · run 13 times · Bitquery API v2

What it returns

Filters

The query

query (
  $network: evm_network, 
  $addresses: [String!], 
  $blockHeight: OLAP_BigInteger
) {
  EVM(network: $network) {
    received: Transfers(
      where: {
        Transfer: {
          Receiver: {in: $addresses}, 
          Success: true
        }, 
        Block: {Number: $blockHeight}
      }
    ) {
      Transfer {
        Amount
        Currency {
          Decimals
          Name
          SmartContract
          Symbol
        }
        Receiver
        Sender
        Success
      }
      Transaction {
        Gas
        GasPrice
        Hash
        Cost
        GasFeeCap
        GasTipCap
        Nonce
      }
      Block {
        Number
        Time
      }
    }
    sent: Transfers(
      where: {
        Transfer: {
          Sender: {in: $addresses}, 
          Success: true
        }, 
        Block: {Number: $blockHeight}}
    ) {
      Transfer {
        Amount
        Currency {
          Decimals
          Name
          SmartContract
          Symbol
        }
        Receiver
        Sender
        Success
      }
      Transaction {
        Gas
        GasPrice
        Hash
        Cost
        GasFeeCap
        GasTipCap
        Nonce
      }
      Block {
        Number
        Time
      }
    }
  }
}

Variables

{
  "network": "bsc",
  "addresses": ["0xC3762C715bA1457211c4C256CdB82379604AF503"],
  "blockHeight": {"gt": 10000}
}

Similar queries