Skip to content
Alchemy Logo

starknet_getBlockTransactionCount

POST
/{apiKey}

Returns the number of transactions in the designated block.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

object or enumrequired

The hash of the requested block, or number (height) of the requested block, or a block tag

Block hash, number or tag

Responses

200

The number of transactions in the designated block

Was this page helpful?