f-bsc-test

Returns transfers on Ethereum: amount, currency address, decimals, currency name, currency symbol, token ID, token type and 8 more fields.

By EMRE ÖZER · saved 22 December 2024 · Bitquery API v1

What it returns

The query

query (
  $network: EthereumNetwork, 
  $addresses: [EthereumAddressSelector!], 
  $mintAddresses: [EthereumCurrencySelector!], 
  $blockHeight: BlockSelector, 
  $options: QueryOptions
) { 
  ethereum(network: $network) { 
    received: transfers( 
      receiver: $addresses 
      height: $blockHeight 
      options: $options 
    ) {
      amount 
      currency(currency: $mintAddresses) {
        address 
        decimals 
        name 
        symbol 
        tokenId 
        tokenType
      } 
      receiver { 
        address 
      } 
      sender { 
        address 
      } 
      transaction { 
        gas
        gasPrice
        gasValue
        hash
      } 
      block { 
        height 
        timestamp { 
          unixtime
        } 
      } 
    } 
    sent: transfers( 
      sender: $addresses 
      height: $blockHeight 
      options: $options
    ) { 
      amount 
      currency(currency: $mintAddresses) { 
        address 
        decimals 
        name 
        symbol
        tokenId
        tokenType
      } 
      receiver { address } 
      sender { address } 
      transaction { 
        gas
        gasPrice
        gasValue
        hash
      } 
      block { 
        height
        timestamp { unixtime } 
      }
    }
  }
}

Variables

{
  "options": {
    "asc": "block.height"
  },
  "network": "bsc",
  "addresses": {
    "in": [
      "0xcA4b86cBC12Cd663c090Ba5cf76555F5b732eC3d",
      "0x96b48aA9043762C801257942Af0Ed406B801608b",
      "0xFd5845dF6Ecd56AAAdA015Ce6Ff649A04847d6B7",
      "0xAf5cCA1259bba051dA36C4092fab43a850cA5A48",
      "0x25EB6839BB3B88605cF1490D7672285F00D1F80F"
    ]
  },
  "blockHeight": {
    "gt": 45058388
  },
}

Similar queries