Parameters
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"starknet_getBlockTransactionCount"
required
JSON-RPC method name.
object
required
Parameters for starknet_getBlockTransactionCount: [block_id].Parameters for
starknet_getBlockTransactionCount:params.block_id: BlockID object containing hash and number.params.index: Index of the transaction within the specified block.
Returns
integer
Integer - Number of transactions in the requested block. Example:
148.