solana blocks

YMHS

Returns 10 blocks on Solana, where date since 2021-08-11, sorted by height, highest first: time time, height, transaction count and rewards.

By spendil · saved 17 August 2021 · Bitquery API v1

What it returns

Filters

The query

query ($network: SolanaNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  solana(network: $network) {
    blocks(
      options: {desc: "height", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
    ) {
      time {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
      height
      transactionCount
      USDreward: rewards(in: USD)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "solana",
  "from": "2021-08-11",
  "till": null,
  "dateFormat": "%Y-%m-%d"
}

Similar queries