getBlockHash

Calls the "getBlockHash" function on the contract.

Example

import { getBlockHash } from "thirdweb/extensions/multicall3";
const result = await getBlockHash({
contract,
blockNumber: ...,
});
function getBlockHash(
): Promise<`0x${string}`>;

Parameters

The options for the getBlockHash function.

Type

Returns

let returnType: Promise<`0x${string}`>;

The parsed result of the function call.