Skip to content

ApproveOperatorProps

ApproveOperatorProps = { mutation?: Omit<MutateOptions<TransactionReceipt, Error>, "mutationFn">; onHash?: (hash) => void; operator?: Address; token?: Address; } | undefined

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

{ mutation?: Omit<MutateOptions<TransactionReceipt, Error>, "mutationFn">; onHash?: (hash) => void; operator?: Address; token?: Address; }

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

The mutation options.

optional onHash?: (hash) => void

ParameterType
hashstring

void

optional operator?: Address

The address of the operator to approve. If not provided, the operator will be the Warm Storage contract.

optional token?: Address

The address of the ERC20 token to query. If not provided, the USDFC token address will be used.


undefined