UseApproveAllowanceProps
Defined in: synapse-react/src/erc20.ts:53
Extends
Section titled “Extends”Omit<OptionsType,"amount">
Properties
Section titled “Properties”mutation?
Section titled “mutation?”
optionalmutation:Omit<MutateOptions<TransactionReceipt,Error,UseApproveAllowanceVariables,unknown>,"mutationFn">
Defined in: synapse-react/src/erc20.ts:57
The mutation options.
onHash()?
Section titled “onHash()?”
optionalonHash: (hash) =>void
Defined in: synapse-react/src/erc20.ts:61
The callback to call when the hash is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | string |
Returns
Section titled “Returns”void
spender?
Section titled “spender?”
optionalspender:`0x${string}`
Defined in: synapse-core/dist/src/erc20/approve.d.ts:10
Inherited from
Section titled “Inherited from”Omit.spender
token?
Section titled “token?”
optionaltoken:`0x${string}`
Defined in: synapse-core/dist/src/erc20/approve.d.ts:8
Inherited from
Section titled “Inherited from”Omit.token