Home

Starknet Block Hash and Number

POST
https://starknet.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the hash and number of the latest accepted block.

Body

application/json
jsonrpcstring2.0required
idinteger | stringrequired
methodstringstarknet_blockHashAndNumberrequired
paramsArray<any>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