Skip to main content

Parameters

chainId
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"starknet_getBlockWithReceipts"
required
JSON-RPC method name.
params
object
default:[""]
Parameters for starknet_getBlockWithReceipts: [block_id]Positional parameters for starknet_getBlockWithReceipts:
  • params[0]: Block identifier, block hash or block number of block tag.

Returns

result
object
Detailed block information with full transactions and receipts