Skip to main content

chain_getFinalizedHead

Returns the hash of the last finalized block on Asset Hub.

Use Cases#

  • Confirmed state - Query state that cannot be reverted
  • Transaction confirmation - Verify transaction finality for native stablecoin transfers (USDC, USDT), DOT staking and governance, and cross-chain asset management via XCM
  • Safe checkpoints - Use finalized blocks for critical operations

Parameters#

This method accepts no parameters.

Request#

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

Code Examples#

curl https://api-asset-hub-polkadot.n.dwellir.com/<YOUR_API_KEY>/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "chain_getFinalizedHead",
"params": [],
"id": 1
}'