MinimumReserve

Constant v290 → current NonZeroU64

Ensures pools maintain minimum depth.

Current Value

0x40420f0000000000
Relevant for: subnet ownersdevelopers

The Big Picture

Pools can't be drained below this amount, ensuring basic swap functionality.

From Chain Metadata

Minimum reserve for tao and alpha

Use Cases

  • Understand pool requirements

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Query MinimumReserve constant
const value = await api.constants.Swap.MinimumReserve();
console.log("MinimumReserve:", value);

Type Information

Byte Size
variable bytes
Encoding
composite
Raw Hex
0x40420f0000000000

Runtime Info

Pallet
Swap
First Version
v290
Latest Version
v290
Current Runtime
v411