Docs
Docs
Home
Getting Started
Agent Tooling
CLI
Supported Chains
Acala
Aptos
Arbitrum
Arc
Asset Hub
Astar
Avalanche
Base
Berachain
Bifrost
Binance Smart Chain
Bittensor
Blast
Boba Network
Bridge Hub
Celo
Centrifuge
Chiliz
Cronos
Enjin
Ethereum
Etherlink
Flow EVM Gateway
Gnosis
Hydration
Hyperliquid
Immutable
Ink
IoTeX
Kusama
Linea
LISK
Manta Atlantic
Manta Pacific
Mantle
MegaETH
Monad
Movement
Neuroweb
opBNB
Optimism
Plasma
Polkadot
Polygon
Pulsechain
Robinhood
Ronin
Scroll
Sonic
Starknet
Taiko
Tempo
Sui
TRON
Unichain
Viction
World Chain
XDC Network
XX Network
Zetachain
zkSync Era
Zora
Supported ChainsStarknetJSON-RPC API

starknet_getBlockWithReceipts - Get block I...

Get block information with full transactions and receipts given the block id

Starknet RPC endpoint: endpoint URLs, plans and pricing.

Get block information with full transactions and receipts given the block id

JSON-RPC request
{
  "jsonrpc": "2.0",
  "method": "starknet_getBlockWithReceipts",
  "params": [
    {
      "block_hash": "0x15d2401c3a65e0a2b74b20402b01bbea28b118291b07cdca4a94fe4e964270a"
    }
  ],
  "id": 1
}

Errors

CodeMessage
24Block not found

Examples

starknet_getBlockTransactionCount - Get Block Transaction Count

Get the number of transactions in a Starknet block by block ID. Useful for block analysis, throughput monitoring, and indexing pipelines.

starknet_getBlockWithTxHashes - Get block I...

Get block information with transaction hashes given the block id

On this page

ErrorsExamples