starknet_getBlockWithReceipts - Get block I...
Get block information with full transactions and receipts given the block id
Get block information with full transactions and receipts given the block id
Request Parameters
Block reference ("latest", "l1_accepted", block hash, or block number)
Response Body
The resulting block information with full transactions Block information with full transactions and receipts
Errors
| Code | Message |
|---|---|
| 24 | Block not found |
Examples
curl -X POST https://api-starknet-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_getBlockWithReceipts",
"params": [
{
"block_hash": "0x15d2401c3a65e0a2b74b20402b01bbea28b118291b07cdca4a94fe4e964270a"
}
],
"id": 1
}'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