UseDepositProps
Defined in: synapse-react/src/payments/index.ts:100
Extends
Section titled “Extends”Omit<OptionsType,"amount">
Properties
Section titled “Properties”contractAddress?
Section titled “contractAddress?”
optionalcontractAddress:`0x${string}`
Defined in: synapse-core/dist/src/pay/deposit.d.ts:11
Inherited from
Section titled “Inherited from”Omit.contractAddress
mutation?
Section titled “mutation?”
optionalmutation:Omit<MutateOptions<TransactionReceipt,Error,UseDepositVariables,unknown>,"mutationFn">
Defined in: synapse-react/src/payments/index.ts:104
The mutation options.
onHash()?
Section titled “onHash()?”
optionalonHash: (hash) =>void
Defined in: synapse-react/src/payments/index.ts:108
The callback to call when the hash is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | string |
Returns
Section titled “Returns”void
optionalto:`0x${string}`
Defined in: synapse-core/dist/src/pay/deposit.d.ts:9
Inherited from
Section titled “Inherited from”Omit.to
token?
Section titled “token?”
optionaltoken:`0x${string}`
Defined in: synapse-core/dist/src/pay/deposit.d.ts:8
Inherited from
Section titled “Inherited from”Omit.token