⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

chain_getFinalizedHead – Mythos JSON-RPC Method

Returns the hash of the most recent block that has achieved GRANDPA finality on Mythos. This is useful for settlement logic that only proceeds once a block is irreversible.

Parameters

This method takes no parameters.

Returns

FieldTypeDescription
resultstringHex-encoded block hash for the last finalized block.

Request Example

{
"jsonrpc": "2.0",
"method": "chain_getFinalizedHead",
"params": [],
"id": 1
}

Usage Tips

  • After retrieving the hash, call chain_getBlock to inspect the finalized block contents.
  • Combine with state_getStorage at that hash to read immutable state for compliance-sensitive workflows.