getCurrentBlockDifficulty

Calls the "getCurrentBlockDifficulty" function on the contract.

Example

import { getCurrentBlockDifficulty } from "thirdweb/extensions/multicall3";
const result = await getCurrentBlockDifficulty({
contract,
});
function getCurrentBlockDifficulty(
): Promise<bigint>;

Parameters

The options for the getCurrentBlockDifficulty function.

Type

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

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.