LUNA Token API

Returns transfers on Ethereum and BNB Chain, where currency is 0x156a…8962 and amount is above 0: currency symbol, currency name, decimals, currency address, token ID, token type, amount and 3 more fields.

By Divyasshree N · saved 22 June 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $token: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(
      currency: {is: $token}
      amount: {gt: 0}
      date: {since: $from, till: $till}
    ) {
      currency {
        symbol
        name
        decimals
        address
        tokenId
        tokenType
      }
      median: amount(calculate: median)
      average: amount(calculate: average)
      amount
      count
      days: count(uniq: dates)
      sender_count: count(uniq: senders)
      receiver_count: count(uniq: receivers)
      min_date: minimum(of: date)
      max_date: maximum(of: date)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "token": "0x156ab3346823b651294766e23e6cf87254d68962"
}

Similar queries