OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/erc20/approve.ts:22
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: packages/synapse-core/src/erc20/approve.ts:26
The amount to approve (in token base units).
spender?
Section titled “spender?”
optionalspender?:Address
Defined in: packages/synapse-core/src/erc20/approve.ts:28
The address of the spender to approve. If not provided, the Filecoin Pay contract address will be used.
token?
Section titled “token?”
optionaltoken?:Address
Defined in: packages/synapse-core/src/erc20/approve.ts:24
The address of the ERC20 token to approve. If not provided, the USDFC token address will be used.