This storage item was removed in v165
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 → v165 (removed)Block when coldkey arbitration period ends.
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 (~55 hours) 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
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | AccountId | key1 (AccountId) (hex -> SS58) |
Stored Value
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Query ColdkeyArbitrationBlock storage
const key1 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("ColdkeyArbitrationBlock")](
key1
);
console.log("ColdkeyArbitrationBlock:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v161
- Removed In
- v165