Home

Starknet Get Block With Tx Hashes

POST
https://starknet.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns a block including transaction hashes.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_getBlockWithTxHashesrequired
paramsArray<object>required

Response

200OK

Successful JSON-RPC response

400Bad Request

Invalid JSON-RPC request or parameters

401Unauthorized

Missing or invalid API key

429Too Many Requests

Rate limit exceeded

500Internal Server Error

Node or upstream server error