MDK Logo
UI Kitreact-adapterHooks

useCancelAction

Cancels pending actions via `DELETE /auth/actions/:type/cancel?ids=…`. Invalidates the pool/miner/actions caches on success. Gated by `actions:w`.

Cancels pending actions via `DELETE /auth/actions/:type/cancel?ids=…`. Invalidates the pool/miner/actions caches on success. Gated by `actions:w`.

import { useCancelAction } from "@tetherto/mdk-react-adapter";

Signature

() => UseCancelActionResult
Package@tetherto/mdk-react-adapter
Requires providerNo