This storage item was removed in v195

This storage item is no longer available in the current runtime. Existed from v161 to v165. Shown here for historical reference.

ColdkeyArbitrationBlock

Storage Removed Map v161 → current

REMOVED. Block when coldkey arbitration period ends.

Queried by: walletsstakersvalidatorsdevelopers

The Big Picture

This is the execution deadline. After this block, the swap proceeds and assets transfer. Before this block, you can dispute. Knowing this number lets you plan your response.

Why This Matters

When does the swap happen? This block number is your deadline. If current block >= arbitration block and no dispute, the swap executes. Track this closely for security.

Example Scenario

Query ColdkeyArbitrationBlock(coldkey=your_address) returns 7200000. Current block is 7100000. You have 100,000 blocks, about 13.9 days at 12 s per block, before the swap executes.

Common Questions

What happens at this block?
If not disputed, the swap becomes executable. Someone must call to actually execute it, but after this point it can't be stopped.
Can I dispute after this block?
No. The arbitration window closes at this block. Dispute before, or accept the swap.

Use Cases

  • Calculate exactly when a swap will execute
  • Build countdowns for pending swap execution
  • Create alerts when arbitration period is ending
  • Plan dispute timing if swap is unauthorized
  • Track swap timelines across accounts

Purpose & Usage

Purpose

Track when swap can execute - the deadline for disputing unauthorized swaps.

Common Query Patterns

  • Query by coldkey
  • Calculate time remaining before swap executes
  • Build countdown displays

Query Keys

#NameTypeDescription
1
key1
AccountId [u8; 32]key1 (AccountId) (hex -> SS58)

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

Default Value

0 0x0000000000000000

Absent keys read as this value — querying a key that has never been written returns this default, not an error or empty result.

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 ColdkeyArbitrationBlock storage
const key1 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";

const result = await api.query.SubtensorModule.ColdkeyArbitrationBlock.getValue(key1);
console.log("ColdkeyArbitrationBlock:", result);

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v161
Removed In
v195