Skip to content

UseDepositProps

Defined in: synapse-react/src/payments/index.ts:100

optional contractAddress: `0x${string}`

Defined in: synapse-core/dist/src/pay/deposit.d.ts:11

Omit.contractAddress


optional mutation: Omit<MutateOptions<TransactionReceipt, Error, UseDepositVariables, unknown>, "mutationFn">

Defined in: synapse-react/src/payments/index.ts:104

The mutation options.


optional onHash: (hash) => void

Defined in: synapse-react/src/payments/index.ts:108

The callback to call when the hash is available.

ParameterType
hashstring

void


optional to: `0x${string}`

Defined in: synapse-core/dist/src/pay/deposit.d.ts:9

Omit.to


optional token: `0x${string}`

Defined in: synapse-core/dist/src/pay/deposit.d.ts:8

Omit.token