Get Transaction Count by Block Hash
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns number of transactions in an L2 block selected by hash.
Example response values are illustrative unless explicitly described as protocol constants; they are not authenticated live NOWNodes responses.
Body
application/json
JSON-RPC 2.0 request body. Send as HTTP POST to the endpoint root (/).
jsonrpcstring2.0requiredmethodstringeth_getBlockTransactionCountByHashrequiredparamsArray<string>requiredJSON-RPC positional parameters; see example and method description.
idintegerrequiredClient-selected JSON-RPC request identifier.
Response
200OK
HTTP response containing a JSON-RPC result or a JSON-RPC error object.
default
JSON-RPC protocol or execution error; may still be delivered with HTTP 200.