Amount in USD Coming 0

Returns the latest transfers on Ethereum and BNB Chain, where receiver is 0xa6f2…f1bc, currency is 0xefdf…7ed8 and sender is 0xa6f2…f1bc: timestamp time, block height, sender address, annotation, currency address, currency symbol, gas value and 4 more fields.

By gaurav · saved 9 June 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    inbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol"}
      receiver: {is: "0xa6f2d35d316da15d029e6eb3d0143a38afd5f1bc"}
      currency: {is: "0xefdfe2ce33000b5b6b5c64c6a4d54ac789677ed8"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      gasValue
      amount(in: USD)
      amountInUSD: amount(in: USD)
      transaction {
        hash
      }
      external
    }
    outbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol"}
      sender: {is: "0xa6f2d35d316da15d029e6eb3d0143a38afd5f1bc"}
      currency: {is: "0xefdfe2ce33000b5b6b5c64c6a4d54ac789677ed8"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      amountInUSD: amount(in: USD)
      transaction {
        hash
      }
      gasValue
      external
    }
  }
}

Similar queries