Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/pay/deposit.ts:26

amount: bigint

Defined in: packages/synapse-core/src/pay/deposit.ts:32

The amount to deposit (in token base units). Must be greater than 0.


optional contractAddress?: Address

Defined in: packages/synapse-core/src/pay/deposit.ts:34

Payments contract address. If not provided, the default is the payments contract address for the chain.


optional to?: Address

Defined in: packages/synapse-core/src/pay/deposit.ts:30

The recipient address for the deposit. If not provided, the sender’s address will be used.


optional token?: Address

Defined in: packages/synapse-core/src/pay/deposit.ts:28

The address of the ERC20 token to deposit. If not provided, the USDFC token address will be used.