getLastBlockHash

Calls the "getLastBlockHash" function on the contract.

Example

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

Parameters

The options for the getLastBlockHash function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

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

The parsed result of the function call.