Skip to content

RevokeOperatorProps

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

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

{ 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

The callback to call when the hash is available.

ParameterType
hashstring

void

optional operator: Address

The address of the operator to revoke. 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