getConfirmationRiskByHash
Get the confirmation risk of a given block, identified by its hash.
Usage
example.ts
import { publicClient } from "./client";
const confirmationRisk = await publicClient.getConfirmationRiskByHash({
blockHash: "0x...",
});
Returns
bigint
or undefined
The integer confirmation risk, or undefined if the block does not exist.
Parameters
blockHash
- Type:
Hash
const confirmationRisk = await publicClient.getConfirmationRiskByHash({
blockHash: "0x...",
});