Calls the "allowance" function on the contract.
import { allowance } from "thirdweb/extensions/erc20"; const result = await allowance({ contract, owner: ..., spender: ...,});
function allowance( options: BaseTransactionOptions<AllowanceParams>,): Promise<bigint>;
The options for the allowance function.
let options: BaseTransactionOptions<AllowanceParams>;
let returnType: Promise<bigint>;
The parsed result of the function call.