Home

Get latest finalized block hash

POST
https://dot-assethub.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Get the hash of the most recent finalized block.

The chain_getFinalizedHead method returns the block hash of the latest block that has been finalized by the GRANDPA finality gadget. Finalized blocks are irreversible and cannot be reorganized, providing the highest level of security for applications.

This method is crucial for:

  • Determining safe block height for transactions
  • Building applications that require finality guarantees
  • Monitoring chain progression and stability
  • Ensuring data consistency across services

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

methodstringchain_getFinalizedHeadrequired

The method to be invoked

idinteger | stringrequired

Request identifier for matching responses

paramsArray<any>required

Empty parameters array for this method

Response

200OK

Finalized block hash retrieved successfully

500Internal Server Error

Internal server error