UseApproveAllowanceProps
Defined in: synapse-react/src/erc20.ts:53
Extends
Section titled “Extends”Omit<ERC20ApproveAllowanceOptions,"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
token?
Section titled “token?”
optionaltoken:`0x${string}`
Defined in: synapse-core/dist/src/erc20.d.ts:14
Inherited from
Section titled “Inherited from”Omit.token