getBlockNumber

Calls the "getBlockNumber" function on the contract.

Example

import { getBlockNumber } from "thirdweb/extensions/multicall3";
const result = await getBlockNumber({
contract,
});

Parameters

Returns

The parsed result of the function call.