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
Type Declaration
Section titled “Type Declaration”{ mutation?: Omit<MutateOptions<TransactionReceipt, Error>, "mutationFn">; onHash?: (hash) => void; operator?: Address; token?: Address; }
mutation?
Section titled “mutation?”
optionalmutation:Omit<MutateOptions<TransactionReceipt,Error>,"mutationFn">
The mutation options.
onHash()?
Section titled “onHash()?”
optionalonHash: (hash) =>void
The callback to call when the hash is available.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | string |
Returns
Section titled “Returns”void
operator?
Section titled “operator?”
optionaloperator:Address
The address of the operator to revoke. If not provided, the operator will be the Warm Storage contract.
token?
Section titled “token?”
optionaltoken:Address
The address of the ERC20 token to query. If not provided, the USDFC token address will be used.
undefined