MDK Logo
UI Kitreact-adapterHooks

useContainerUnits

Fetches the site's container things from `GET /auth/list-things` (tag `t-container`). Returns the raw rows the Sites Overview merge needs — `id`, `type`, `in…

Fetches the site's container things from `GET /auth/list-things` (tag `t-container`). Returns the raw rows the Sites Overview merge needs — `id`, `type`, `info.container`, `info.poolConfig`, and the container status under `last.snap.stats.…

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

Signature

(options: UseContainerUnitsOptions = {}) => UseContainerUnitsResult
Package@tetherto/mdk-react-adapter
Requires providerNo