UseDepositAndApproveProps
Defined in: synapse-react/src/payments/use-deposit-and-approve.ts:11
Extends
Section titled “Extends”Omit<DepositAndApproveOptions,"amount">
Properties
Section titled “Properties”address?
Section titled “address?”
optionaladdress:`0x${string}`
Defined in: synapse-core/dist/src/pay/payments.d.ts:7
Inherited from
Section titled “Inherited from”Omit.address
deadline?
Section titled “deadline?”
optionaldeadline:bigint
Defined in: synapse-core/dist/src/pay/payments.d.ts:8
Inherited from
Section titled “Inherited from”Omit.deadline
lockupAllowance?
Section titled “lockupAllowance?”
optionallockupAllowance:bigint
Defined in: synapse-core/dist/src/pay/payments.d.ts:10
Inherited from
Section titled “Inherited from”Omit.lockupAllowance
maxLockupPeriod?
Section titled “maxLockupPeriod?”
optionalmaxLockupPeriod:bigint
Defined in: synapse-core/dist/src/pay/payments.d.ts:11
Inherited from
Section titled “Inherited from”Omit.maxLockupPeriod
mutation?
Section titled “mutation?”
optionalmutation:Omit<MutateOptions<TransactionReceipt,Error,UseDepositAndApproveVariables,unknown>,"mutationFn">
Defined in: synapse-react/src/payments/use-deposit-and-approve.ts:15
The mutation options.
onHash()?
Section titled “onHash()?”
optionalonHash: (hash) =>void
Defined in: synapse-react/src/payments/use-deposit-and-approve.ts:19
The callback to call when the hash is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | string |
Returns
Section titled “Returns”void
operator?
Section titled “operator?”
optionaloperator:`0x${string}`
Defined in: synapse-core/dist/src/pay/payments.d.ts:4
Inherited from
Section titled “Inherited from”Omit.operator
rateAllowance?
Section titled “rateAllowance?”
optionalrateAllowance:bigint
Defined in: synapse-core/dist/src/pay/payments.d.ts:9
Inherited from
Section titled “Inherited from”Omit.rateAllowance
spender?
Section titled “spender?”
optionalspender:`0x${string}`
Defined in: synapse-core/dist/src/pay/payments.d.ts:6
Inherited from
Section titled “Inherited from”Omit.spender
token?
Section titled “token?”
optionaltoken:`0x${string}`
Defined in: synapse-core/dist/src/pay/payments.d.ts:5
Inherited from
Section titled “Inherited from”Omit.token