OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/pay/deposit.ts:26
Properties
Section titled “Properties”amount
Section titled “amount”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.
contractAddress?
Section titled “contractAddress?”
optionalcontractAddress?: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.
optionalto?: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.
token?
Section titled “token?”
optionaltoken?: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.