allowance

Calls the "allowance" function on the contract.

Example

import { allowance } from "thirdweb/extensions/erc20";
const result = await allowance({
contract,
owner: ...,
spender: ...,
});

Parameters

Returns

The parsed result of the function call.