cpu_get_map
Read the live world state of Project CPU to navigate cells, monitor storage, and plan resource production.
Instructions
Read the live game world (public, background-synced). The world is a finite sphere of 29,150 cells keyed by tokenId — no coordinates: navigate via each cell’s neighbors (6 adjacent, 5 next to a pentagon vertex; owned/other/empty, empty = unminted) and cpu_next_hops; pos {face,i,j} is only a rough hint (wraps at face seams). Returns a summary, a resourceIndex of your cells, and per-resource storage (used/cap/full; a box with room for less than one whole cycle halts that resource’s production; cap null = uncapped WCPU, while every other missing/zero cap means no room). Scopes: mine | around (grid radius from aroundTokenId) | cells | all | summary. version/updated are epoch ms, serverTime/startAt unix seconds. server.reachable false means actions will fail; your to-do list is cpu_get_attention. This is land and storage, not the marketplace: storage.reserved.lots is how much of a hub box lot escrow holds, never an offer you can buy. For offers use cpu_get_markets and cpu_list_lots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | mine | around | cells | all | summary. Omit to default to "mine" (or "summary" if no wallet). | |
| radius | No | Grid radius (BFS steps) for scope="around" (default 2, max 10). | |
| tokenIds | No | Required for scope="cells": the cell tokenIds to return. | |
| aroundTokenId | No | Center cell tokenId for scope="around". |