UseDepositProps
Defined in: synapse-react/src/payments/index.ts:113
Extends
Section titled “Extends”Omit<DepositOptions,"amount">
Properties
Section titled “Properties”address?
Section titled “address?”
optionaladdress:`0x${string}`
Defined in: synapse-core/dist/src/pay/payments.d.ts:18
Inherited from
Section titled “Inherited from”Omit.address
mutation?
Section titled “mutation?”
optionalmutation:Omit<MutateOptions<TransactionReceipt,Error,UseDepositVariables,unknown>,"mutationFn">
Defined in: synapse-react/src/payments/index.ts:117
The mutation options.
onHash()?
Section titled “onHash()?”
optionalonHash: (hash) =>void
Defined in: synapse-react/src/payments/index.ts:121
The callback to call when the hash is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | string |
Returns
Section titled “Returns”void
token?
Section titled “token?”
optionaltoken:`0x${string}`
Defined in: synapse-core/dist/src/pay/payments.d.ts:17
Inherited from
Section titled “Inherited from”Omit.token