Skip to main content

moon_isBlockFinalized

Check for the finality of the block given by its block hash

Check for the finality of the block given by its block hash

Parameters

block_hash: STRING The hash of the block, accepts either Substrate-style or Ethereum-style block hash as its input

Returns

BOOLEAN Returns true if the block is finalized, false if the block is not finalized or not foundExample

Example

Request

curl -H "Content-Type: application/json" \
-d '{"id": 1, "jsonrpc":"2.0", "method": "moon_isBlockFinalized", "params": ["0xbf65fce6ca2a8543c67768f7e23731ccdaec36a74966954ff83a6908b54a2def"]}' \
https://moonbeam.blastapi.io/<project-id>

Result

{
"jsonrpc": "2.0",
"result": true,
"id": 1
}