getBasefee

Calls the "getBasefee" function on the contract.

Example

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

Parameters

The options for the getBasefee function.

Type

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

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.