Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/erc20/approve.ts:22

amount: bigint

Defined in: packages/synapse-core/src/erc20/approve.ts:26

The amount to approve (in token base units).


optional spender?: 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.


optional token?: 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.