beefy_getFinalizedHead – Mythos JSON-RPC Method
Returns the latest block hash finalized by the BEEFY consensus gadget. This is primarily used by bridge relayers and indexers that need justifications for exporting Mythos state to external ecosystems.
Parameters
This method does not accept parameters.
Returns
Field | Type | Description |
---|---|---|
result | string | Hex-encoded block hash representing the most recent BEEFY-finalized head. |
Request Example
{
"jsonrpc": "2.0",
"method": "beefy_getFinalizedHead",
"params": [],
"id": 1
}
Usage Tips
- Pair with
chain_getBlock
to inspect the finalized block contents. - Subscribers can combine this call with
state_getReadProof
to export proofs for NFT ownership or marketplace state. - Ensure your node is configured with
--beefy
to expose BEEFY justifications.