Skip to content

UseApproveAllowanceProps

Defined in: synapse-react/src/erc20.ts:59

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

Defined in: synapse-react/src/erc20.ts:63

The mutation options.


optional onHash?: (hash) => void

Defined in: synapse-react/src/erc20.ts:67

The callback to call when the hash is available.

ParameterType
hashstring

void


optional spender?: `0x${string}`

Defined in: synapse-core/dist/src/erc20/approve.d.ts:11

Omit.spender


optional token?: `0x${string}`

Defined in: synapse-core/dist/src/erc20/approve.d.ts:9

Omit.token