Solana RPC Blocks API

Block and slot-oriented JSON-RPC methods for the Solana blockchain. Includes getBlock to retrieve a confirmed block at a given slot, getBlockCommitment for commitment level of a slot, getBlockHeight for the current block height, getBlockProduction for recent block production information, getBlocks to list confirmed blocks in a slot range, getBlocksWithLimit to return a limited list, getBlockTime to return the estimated production time of a confirmed block, getFirstAvailableBlock for the lowest available slot on the ledger, getRecentPerformanceSamples for recent performance data, and minimumLedgerSlot for the minimum slot the node retains.

API entry from apis.yml

apis.yml Raw ↑
aid: solana:solana-rpc-blocks-api
name: Solana RPC Blocks API
tags:
- Blocks
- Slots
- Ledger
- Blockchain
humanURL: https://solana.com/docs/rpc/http/getblock
baseURL: https://api.mainnet.solana.com
properties:
- url: https://solana.com/docs/rpc/http
  type: Documentation
- url: https://solana.com/docs/rpc/http/getblock
  type: APIReference
description: Block and slot-oriented JSON-RPC methods for the Solana blockchain. Includes getBlock to
  retrieve a confirmed block at a given slot, getBlockCommitment for commitment level of a slot, getBlockHeight
  for the current block height, getBlockProduction for recent block production information, getBlocks
  to list confirmed blocks in a slot range, getBlocksWithLimit to return a limited list, getBlockTime
  to return the estimated production time of a confirmed block, getFirstAvailableBlock for the lowest
  available slot on the ledger, getRecentPerformanceSamples for recent performance data, and minimumLedgerSlot
  for the minimum slot the node retains.