Docs

getCurrentBlockDifficulty

Calls the "getCurrentBlockDifficulty" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.