Docs

allowance

Calls the "allowance" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.