{"openapi":"3.0.3","info":{"title":"Voidwire API","version":"1.0.0","description":"The EVE Frontier data API from Voidwire: characters, organizations, trade hubs, item and coin markets, hauling, the star map and routing, and static world data.\n\nEndpoints are grouped by product, and each group is versioned on its own: `/{group}/v1/…`. A breaking change ships as `/{group}/v2/…`, with the v1 route marked deprecated for at least 90 days.\n\nAuthenticate with the `x-api-key` header; create keys at https://voidwire.xyz. Each operation's `x-cu-cost` is the Compute-Unit charge per call.\n\n**Gateway errors.** `401`: unknown or suspended key. `404`: route not found, or not in your key's scope. `429`: over your tier's throughput; back off and retry. `402 payment_required`: your rolling 30-day free allowance and prepaid credits are used up. The body is `{\"error\":\"payment_required\",\"reason\":\"balance\",\"balance_cu\":N,\"top_up_url\":\"…\"}`; buy a credit pack (a one-time payment in SUI) at https://voidwire.xyz/account/billing. Upstream `5xx` responses are never charged.","x-generated-at":"2026-11-23T05:05:16.640Z"},"servers":[{"url":"https://api.voidwire.xyz"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/characters/v1/characters/address/{address}":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns every character associated with the given wallet address, newest-created first (ties broken by higher `item_id`). A wallet can own several characters in one world; the first row for a tenant is the wallet's current character. Set `enrich=true` to also include the on-chain `owner_cap_id` and `assembly_id` fields.","operationId":"getCharacterByAddress","parameters":[{"name":"address","required":true,"in":"path","description":"Wallet address associated with the character.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"enrich","required":false,"in":"query","description":"When true, include the on-chain `owner_cap_id` and `assembly_id` fields in each result.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CharacterResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List characters by wallet address","tags":["Characters"],"x-cu-cost":20}},"/characters/v1/characters/batch":{"get":{"description":"**Cost:** 50 compute units per request.\n\nResolves up to 500 player wallet addresses to their characters in one request. Each result echoes the queried `address` so responses can be mapped back regardless of order; unresolved addresses return null character fields.","operationId":"batchGetCharacters","parameters":[{"name":"addresses","required":true,"in":"query","description":"Comma-separated list of player wallet addresses to resolve. At least 1 and at most 500 addresses per request.","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CharacterBatchResult"}}}}},"400":{"description":"`addresses` is missing, empty, or has more than 500 entries.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Batch-resolve player addresses to characters","tags":["Characters"],"x-cu-cost":50}},"/characters/v1/characters/name/{name}":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns every character whose name exactly matches the given value, newest first.","operationId":"getCharacterByName","parameters":[{"name":"name","required":true,"in":"path","description":"Exact character name.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CharacterResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List characters by exact name","tags":["Characters"],"x-cu-cost":20}},"/characters/v1/characters/{object_id}":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns the character with the given object ID. Set `enrich=true` to also include the on-chain `owner_cap_id` and `assembly_id` fields.","operationId":"getCharacter","parameters":[{"name":"object_id","required":true,"in":"path","description":"Object ID of the character.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"enrich","required":false,"in":"query","description":"When true, include the on-chain `owner_cap_id` and `assembly_id` fields in each result.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No character exists with the given object ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get a character by object ID","tags":["Characters"],"x-cu-cost":20}},"/characters/v1/players":{"get":{"description":"**Cost:** 50 compute units per request.\n\nEvery player (wallet) with a character, in address order, each with its current character — the newest created. Pass `tenant` to list only one world. Page with `limit` (up to 1000) and `cursor`.","operationId":"CharactersController_listPlayers_v1","parameters":[{"name":"tenant","required":false,"in":"query","description":"Only players with a character on this tenant (world).","schema":{"example":"stillness","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of players to return (1–1000).","schema":{"minimum":1,"maximum":1000,"default":500,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerPage"}}}},"400":{"description":"Invalid `limit` or `cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List players","tags":["Characters"],"x-cu-cost":50}},"/explore/v1/discovery":{"get":{"description":"**Cost:** 150 compute units per request.\n\nLive open orders across trade hub markets, ordered by last activity (newest first). Orders on hubs that no longer exist are excluded. Each row carries the hub display name (`hub_name`) and power state (`hub_state`, online/offline), so callers need not resolve them separately. All filters compose freely: scope by trade hubs (`storage_unit_ids`), by item (`asset_id`), by owner (`trading_account_id`), and by side. Private-shared hubs are resolved by the caller — pass the hub list you can see; omit it for all hubs, or set `public_only=true` to restrict to location-revealed (public) hubs, or `include_public=true` to widen `storage_unit_ids` to also cover every public hub. Set `exclude_offline=true` to drop orders on offline hubs. Pagination is a single self-contained `cursor` param: pass `next_cursor` to page backward or `prev_cursor` to poll for new activity. Cursors embed the original filters, so no other params are needed (and filters are ignored) on cursor requests.","operationId":"getDiscovery","parameters":[{"name":"storage_unit_ids","required":false,"in":"query","description":"Comma-separated trade hub IDs and/or item collection IDs (max 100). Omit for all trade hubs.","schema":{"type":"string"}},{"name":"asset_id","required":false,"in":"query","description":"Numeric item type / asset id. Omit for all items.","schema":{"type":"string"}},{"name":"trading_account_id","required":false,"in":"query","description":"Only orders owned by this trading account (\"my orders\").","schema":{"type":"string"}},{"name":"side","required":false,"in":"query","description":"Filter by order side (default: both). `buy` = bids.","schema":{"enum":["buy","sell","both"],"type":"string"}},{"name":"public_only","required":false,"in":"query","description":"Set `true` to restrict to location-revealed (public) assemblies. Omit for all visible hubs.","schema":{"type":"string"}},{"name":"include_public","required":false,"in":"query","description":"Set `true` to return orders on the `storage_unit_ids` hubs OR on any location-revealed (public) hub. Without `storage_unit_ids` it behaves like `public_only=true`.","schema":{"type":"string"}},{"name":"exclude_offline","required":false,"in":"query","description":"Set `true` to drop orders on hubs that are offline (`hub_state` `offline`). Hubs with no known state are kept. Omit to include them.","schema":{"type":"string"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response (`next_cursor` for the next page, `prev_cursor` to poll for new activity). Self-contained: it carries the original filters and limit, so other params are ignored.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Rows per page (default and max 100).","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveryOrderPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Unified open-orders discovery feed across trade hubs","tags":["Explore"],"x-cu-cost":150}},"/explore/v1/leaderboard":{"get":{"description":"**Cost:** 50 compute units per request.\n\nPlayers ranked by CRED trade volume (buys + sells) on item markets over a rolling 30 days, with each player’s buy/sell split, fill count, most-traded item, and last trade time. A player is a wallet: all of its trading accounts count. Pass `org_id` to rank one organization’s members (every tier, including members with no trades); omit it for every active trader. Ordered by volume, then address. Snapshots are recomputed hourly, so `generated_at` can be up to an hour old. Page with `limit` and `cursor`.","operationId":"LeaderboardController_getLeaderboard_v1","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"org_id","required":false,"in":"query","description":"Restrict the board to this organization’s members (every tier of its tree). Pass the root organization ID; an ID of any unit within the tree resolves to its root. Omit for the global board.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaderboardPage"}}}},"400":{"description":"Invalid `org_id`, `limit`, or `cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"`org_id` is not a known organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Player leaderboard by CRED volume","tags":["Explore"],"x-cu-cost":50}},"/explore/v1/leaderboard/hubs":{"get":{"description":"**Cost:** 50 compute units per request.\n\nPublic (location-revealed) trade hubs ranked by CRED trade volume on their item markets over a rolling 30 days, with each hub’s fill count, distinct traders, items traded, most-traded item, and last trade time, plus how many items currently have open sell and buy orders there (read live, not from the snapshot). Private and unanchored hubs are excluded, as are hubs with no fill in the window. Ordered by volume, then hub ID. Snapshots are recomputed hourly, so `generated_at` can be up to an hour old. Page with `limit` and `cursor`.","operationId":"LeaderboardController_getHubLeaderboard_v1","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubLeaderboardPage"}}}},"400":{"description":"Invalid `limit` or `cursor`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Public trade hub leaderboard by CRED volume","tags":["Explore"],"x-cu-cost":50}},"/explore/v1/search":{"get":{"description":"**Cost:** 100 compute units per request.\n\nSingle search endpoint across characters and organizations. Matches `q` against character names, and against organization names, exact organization IDs, and exact treasury IDs. Use the `characters` and `orgs` flags to include either or both result groups (both are on by default). Each group is capped at `limit` results.","operationId":"search","parameters":[{"name":"q","required":true,"in":"query","description":"Search term: a partial name, or an exact organization / treasury ID.","schema":{"type":"string"}},{"name":"characters","required":false,"in":"query","description":"Include character results (default true).","schema":{"type":"string"}},{"name":"orgs","required":false,"in":"query","description":"Include organization results (default true).","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum results per group (default 8, max 50).","schema":{"type":"string"}},{"name":"enrich_orgs","required":false,"in":"query","description":"Include each organization result’s `image_url` and `description` (default false; opt-in because it costs a metadata lookup). Has no effect on character results.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"400":{"description":"`q` is missing, or both `characters` and `orgs` are disabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Search characters and organizations","tags":["Explore"],"x-cu-cost":100}},"/explore/v1/stats":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns aggregate marketplace, organization, shared-storage, and pilot statistics: trade totals by window (all-time / 24h / 7d), distinct traders, open orders, items with live markets, active trade hubs, all-time and 7-day volume per quote currency, top items by quote volume, organization totals with a largest-orgs leaderboard, shared-vault counts, pilot counts, and 30-day daily series. Aggregates count private trade hubs but never identify them. All timestamps are integer Unix epoch milliseconds. Results are cached for up to 60 seconds.","operationId":"getStats","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsResponse"}}}}},"summary":"Global platform statistics","tags":["Explore"],"x-cu-cost":50}},"/hauling/v1/agreements":{"get":{"description":"**Cost:** 50 compute units per request.\n\nThe job board: open agreements by default, newest first. Filter by status, currency, minimum reward, source or destination hub, cargo or wanted items, lister, hauler and whether a claim gate applies; pass `claimable_by` to learn whether an address can accept each one. Fillers who hold the wanted items search accepted jobs by `want_collection_id`/`want_asset_id`. Each side of the haul names its trade hub and whether its collection is a known warehouse vault. Paged with a self-contained `cursor` (it carries the filters). `lapsed` and `overdue` are derived from wall-clock time, which the response returns as `evaluated_at`; events still reach the index with its delay (see `X-Indexer-Checkpoint`).","operationId":"listAgreements","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Comma-separated statuses (default `open`): `open`, `lapsed`, `accepted`, `overdue`, `delivered`, `defaulted`, `forfeited`, `cancelled`, `closed_lapsed`. Ignored on a `cursor` request: the cursor carries the original filters.","schema":{"example":"open,accepted","type":"string"}},{"name":"currency","required":false,"in":"query","description":"Only agreements paid in this coin type.","schema":{"example":"0x9f3a1b2c…::cred::CRED","type":"string"}},{"name":"min_reward","required":false,"in":"query","description":"Only agreements whose reward is at least this, in the smallest unit of their currency (u64 decimal). Combine with `currency`.","schema":{"example":"1000000","type":"string"}},{"name":"source_hub_id","required":false,"in":"query","description":"Only cargo picked up at this trade hub.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"destination_hub_id","required":false,"in":"query","description":"Only deliveries handed in at this trade hub.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"cargo_collection_id","required":false,"in":"query","description":"Only cargo of this warehouse-receipt collection.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"want_collection_id","required":false,"in":"query","description":"Only agreements that want items of this collection delivered (for fillers who already hold them).","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"cargo_asset_id","required":false,"in":"query","description":"Only cargo of this item type ID.","schema":{"example":"78437","type":"string"}},{"name":"want_asset_id","required":false,"in":"query","description":"Only agreements that want this item type ID delivered.","schema":{"example":"78437","type":"string"}},{"name":"lister","required":false,"in":"query","description":"Only agreements posted by this address.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"hauler","required":false,"in":"query","description":"Only agreements accepted by this address.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"org_id","required":false,"in":"query","description":"Only agreements posted on behalf of this organization by a trusted wrapper. No wrapper is trusted yet, so this matches nothing.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"gated","required":false,"in":"query","description":"`true`: only agreements with a claim gate (limited to listed players, machine keys or organizations); `false`: only agreements anyone can accept.","schema":{"type":"boolean"}},{"name":"claimable_by","required":false,"in":"query","description":"Add `eligibility` to each row: whether this address can accept it.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"accept_deadline_before","required":false,"in":"query","description":"Only agreements whose accept deadline is before this time (Unix epoch milliseconds). With `status=lapsed`, the listings lapsed long enough for the config admin to close.","schema":{"format":"int64","type":"integer"}},{"name":"sort","required":false,"in":"query","description":"Order (default `posted_desc`, newest first). `reward_desc` compares raw amounts, so filter by `currency` with it. Ties break on `agreement_id`.","schema":{"type":"string","enum":["posted_desc","reward_desc","accept_deadline_asc","delivery_deadline_asc"]}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingAgreementPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Search hauling agreements","tags":["Hauling"],"x-cu-cost":50}},"/hauling/v1/agreements/config":{"get":{"description":"**Cost:** 20 compute units per request.\n\nWhat posting an agreement costs and accepts: the approved currencies (with symbol and decimals), the flat posting fee, the delivery fee in basis points and the treasury, plus the most recent admin changes. Returns 503 until the indexer has seen the first config change.","operationId":"getAgreementsConfig","parameters":[{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingConfigResponse"}}}},"503":{"description":"No config change has been indexed yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get the hauling agreements protocol config","tags":["Hauling"],"x-cu-cost":20}},"/hauling/v1/agreements/stats":{"get":{"description":"**Cost:** 50 compute units per request.\n\nAgreements by status, volume per currency (rewards escrowed and paid, delivery fees, collateral forfeited), posting fees per fee coin and the ten busiest hub-to-hub lanes. Cached for 30 seconds. `lapsed` and `overdue` are derived from wall-clock time, which the response returns as `evaluated_at`; events still reach the index with its delay (see `X-Indexer-Checkpoint`).","operationId":"getAgreementStats","parameters":[{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingStatsResponse"}}}}},"summary":"Hauling agreements protocol stats","tags":["Hauling"],"x-cu-cost":50}},"/hauling/v1/agreements/{agreement_id}":{"get":{"description":"**Cost:** 30 compute units per request.\n\nOne agreement in full: parties, cargo and wanted items with their hubs, payment and deadlines, its accept requirements (claim gates with their players, machine keys and organizations; other rules raw), observer, lister cap holder, proceeds, fees, claims and event timeline. With `viewer`, adds the roles that address plays and, while the agreement is open, whether and how it can accept: the claim plan names the call for each requirement in order. `lapsed` and `overdue` are derived from wall-clock time, which the response returns as `evaluated_at`; events still reach the index with its delay (see `X-Indexer-Checkpoint`).","operationId":"getAgreement","parameters":[{"name":"agreement_id","required":true,"in":"path","description":"Object ID of the hauling agreement.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"viewer","required":false,"in":"query","description":"Add `viewer`: the roles this address plays, and while the agreement is open its eligibility and claim plan.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingAgreementDetailResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get a hauling agreement","tags":["Hauling"],"x-cu-cost":30}},"/hauling/v1/orgs/{org_id}/agreements":{"get":{"description":"**Cost:** 30 compute units per request.\n\nAgreements related to the organization (OU), newest first: `gated_to` (default) lists those its board members may claim, `claimed_via` those accepted through it, `posted_for` those posted on its behalf by a trusted wrapper (none is trusted yet). Only this exact OU counts: the chain checks its board, not its sub-units’. `lapsed` and `overdue` are derived from wall-clock time, which the response returns as `evaluated_at`; events still reach the index with its delay (see `X-Indexer-Checkpoint`).","operationId":"listOrgAgreements","parameters":[{"name":"org_id","required":true,"in":"path","description":"Object ID of the organization (OU).","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"relation","required":false,"in":"query","description":"How the agreements relate to the organization (default `gated_to`): `gated_to` = its board members may claim them; `claimed_via` = they were accepted through it; `posted_for` = posted on its behalf by a trusted wrapper (none is trusted yet, so this is empty). Ignored on a `cursor` request: the cursor carries the original filters.","schema":{"type":"string","enum":["posted_for","gated_to","claimed_via"]}},{"name":"status","required":false,"in":"query","description":"Comma-separated statuses (default: all). Ignored on a `cursor` request: the cursor carries the original filters.","schema":{"type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingAgreementPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"An organization’s hauling agreements","tags":["Hauling"],"x-cu-cost":30}},"/hauling/v1/players/{address}/agreements":{"get":{"description":"**Cost:** 50 compute units per request.\n\nAgreements the address plays a part in, newest first: as `lister`, `cap_holder`, `beneficiary`, `hauler`, or `claimed_via_org` (accepted through an organization whose board it sits on). Each row lists the roles in `viewer_roles`. Filter with `role` and `status`. `lapsed` and `overdue` are derived from wall-clock time, which the response returns as `evaluated_at`; events still reach the index with its delay (see `X-Indexer-Checkpoint`).","operationId":"listPlayerAgreements","parameters":[{"name":"address","required":true,"in":"path","description":"Player wallet address.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"role","required":false,"in":"query","description":"Comma-separated roles (default: all): `lister`, `cap_holder`, `beneficiary`, `hauler`, `claimed_via_org`. Ignored on a `cursor` request: the cursor carries the original filters.","schema":{"example":"lister,hauler","type":"string"}},{"name":"status","required":false,"in":"query","description":"Comma-separated statuses (default: all). Ignored on a `cursor` request: the cursor carries the original filters.","schema":{"example":"accepted,overdue","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingAgreementPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"A player’s hauling agreements","tags":["Hauling"],"x-cu-cost":50}},"/hauling/v1/players/{address}/agreements/actions":{"get":{"description":"**Cost:** 30 compute units per request.\n\nWhat the address can do next: collect proceeds its lister cap received, delete a spent cap, cancel its listing that nobody accepted in time, deliver a job before the deadline (soonest first) or default an overdue job it is owed. Each item names the Move call, its type argument and the object IDs to build the transaction from. `lapsed` and `overdue` are derived from wall-clock time, which the response returns as `evaluated_at`; events still reach the index with its delay (see `X-Indexer-Checkpoint`).","operationId":"listPlayerAgreementActions","parameters":[{"name":"address","required":true,"in":"path","description":"Player wallet address.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingActionPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"A player’s hauling to-do list","tags":["Hauling"],"x-cu-cost":30}},"/hauling/v1/players/{address}/agreements/claimable":{"get":{"description":"**Cost:** 50 compute units per request.\n\nOpen agreements, before their accept deadline, that the address can accept: no claim gate, or every gate lists the address (as a player or machine key) or an organization whose board it sits on. Each comes with its claim plan, the call to make for each requirement. Soonest accept deadline first. `include_unknown=true` adds agreements with rules this API cannot evaluate. Membership is read live, so a board change shows up as soon as the indexer has it.","operationId":"listClaimableAgreements","parameters":[{"name":"address","required":true,"in":"path","description":"Player wallet address.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"include_unknown","required":false,"in":"query","description":"Also return agreements whose every claim gate passes but which have rules this API cannot evaluate (`eligibility: unknown`).","schema":{"default":false,"type":"boolean"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimableHaulingAgreementPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Hauling agreements a player can accept","tags":["Hauling"],"x-cu-cost":50}},"/hauling/v1/players/{address}/agreements/reputation":{"get":{"description":"**Cost:** 30 compute units per request.\n\nAs hauler: jobs accepted, in progress, overdue, delivered, defaulted and forfeited, the completion rate, and net rewards and collateral lost per currency. As lister: agreements posted and how they went. Counts are by wallet address. `lapsed` and `overdue` are derived from wall-clock time, which the response returns as `evaluated_at`; events still reach the index with its delay (see `X-Indexer-Checkpoint`).","operationId":"getPlayerAgreementReputation","parameters":[{"name":"address","required":true,"in":"path","description":"Player wallet address.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HaulingReputationResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"A player’s hauling record","tags":["Hauling"],"x-cu-cost":30}},"/hubs/v1/assemblies/enriched":{"get":{"description":"**Cost:** 50 compute units per request.\n\nResolves assembly object IDs to their owner wallet address and character name via on-chain lookup. Results are cached for 5 minutes. Pass a comma-separated list of Sui object IDs (max 200).","operationId":"batchGetAssemblies","parameters":[{"name":"ids","required":true,"in":"query","description":"Comma-separated Sui object IDs (max 200)","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssemblyEnrichedResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get enriched assembly data (owner + character name) for a list of object IDs","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/assemblies/owners":{"get":{"description":"**Cost:** 50 compute units per request.\n\nResolves assembly object IDs to their owner wallet addresses via on-chain lookup. Results are cached for 5 minutes. Pass a comma-separated list of Sui object IDs (max 200).","operationId":"batchGetAssemblyOwners","parameters":[{"name":"ids","required":true,"in":"query","description":"Comma-separated Sui object IDs (max 200)","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssemblyOwnerResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get owner wallet addresses for a list of assembly object IDs","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/collections/{collection_id}/hub":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReverse lookup: returns the trade hub (`hub_id`) that owns the given item collection. Each collection belongs to exactly one hub.","operationId":"getCollectionHub","parameters":[{"name":"collection_id","required":true,"in":"path","description":"Sui object ID of the item collection","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubSummary"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Find the trade hub that owns an item collection","tags":["Trade hubs"],"x-cu-cost":20}},"/hubs/v1/hubs/economics":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns aggregated fee reserve (fees deposited minus fees withdrawn) and total open-order liquidity depth across all markets at each hub. Amounts are raw integers encoded as strings. Hubs that no longer exist are omitted from the result. Results are cached for 30 seconds. Maximum 200 IDs per request.","operationId":"batchGetHubEconomics","parameters":[{"name":"ids","required":true,"in":"query","description":"Comma-separated hub Sui object IDs (max 200)","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HubEconomics"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get fee reserve and liquidity depth for a list of trade hubs","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/hubs/enriched":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns location, region, market count, and last storage activity for up to 200 trade hubs. Pass a comma-separated list of Sui object IDs via the ids query parameter.","operationId":"batchGetHubs","parameters":[{"name":"ids","required":true,"in":"query","description":"Comma-separated Sui object IDs (max 200)","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HubEnrichedResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get enriched trade hub data for a list of object IDs","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/hubs/locations":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns current locations for all indexed trade hubs, with location and visibility metadata. Optionally filter by solar_system or tenant. Paginated: pass back `next_cursor` as `cursor` to fetch the next page.","operationId":"listHubLocations","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"solar_system","required":false,"in":"query","description":"Filter to hubs in a specific solar system ID","schema":{"type":"integer"}},{"name":"tenant","required":false,"in":"query","description":"Filter to hubs owned by a specific tenant","schema":{"type":"string"}},{"name":"has_vault","required":false,"in":"query","description":"When true, only return hubs that have trading initialised (a vault exists)","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationResponsePage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List all known trade hub locations","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/hubs/nearby-by-system":{"get":{"description":"**Cost:** 50 compute units per request.\n\nSame as /hubs/{hub_id}/nearby but accepts a solar system ID or name directly. Useful when the requesting hub is private and has no published location. Returns `null` when `system_id` is a name that could not be resolved; `[]` means the system resolved but no hubs are in range.","operationId":"listHubsNearSolarSystem","parameters":[{"name":"system_id","required":true,"in":"query","description":"Solar system ID or name to search from","schema":{"type":"string"}},{"name":"range","required":false,"in":"query","description":"Search radius in light years (default 3500, max 3500)","schema":{"type":"number"}},{"name":"type_id","required":false,"in":"query","description":"Filter to hubs with open orders for this item type","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/NearbyHubResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Find trade hubs near a given solar system","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/hubs/{hub_id}/dao-vaults":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns every active organization (DAO) receipt vault registered at the given trade hub, each with its current member set per role (`deposit` / `withdraw` / `edit`). Results are cached for 30 seconds.","operationId":"listHubDaoVaults","parameters":[{"name":"hub_id","required":true,"in":"path","description":"Sui object ID of the trade hub","schema":{"type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HubDaoVault"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List organization receipt vaults registered at a trade hub","tags":["Trade hubs"],"x-cu-cost":30}},"/hubs/v1/hubs/{hub_id}/items":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns the item types (`asset_id`) that currently have open orders at the given trade hub, with flags indicating whether buy orders (bids) and/or sell orders (asks) exist. The full set is always returned in a single page — `next_cursor` is always `null`. Results are cached for 30 seconds.","operationId":"listHubItems","parameters":[{"name":"hub_id","required":true,"in":"path","description":"Sui object ID of the trade hub","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubItemPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List item types with active orders at a trade hub","tags":["Trade hubs"],"x-cu-cost":20}},"/hubs/v1/hubs/{hub_id}/location":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns coordinates, tenant, and visibility metadata (is_public, region_id) for a single trade hub, identified by its Sui object ID.","operationId":"getHubLocation","parameters":[{"name":"hub_id","required":true,"in":"path","description":"Sui object ID of the trade hub (hex, e.g. 0x...)","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationResponse"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get the current location of a trade hub","tags":["Trade hubs"],"x-cu-cost":20}},"/hubs/v1/hubs/{hub_id}/nearby":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns hubs within a light-year radius of the specified hub. Optionally filter to hubs that have open orders for a specific item type.","operationId":"listHubsNearHub","parameters":[{"name":"hub_id","required":true,"in":"path","description":"Sui object ID of the trade hub (hex, e.g. 0x...)","schema":{"type":"string"}},{"name":"range","required":false,"in":"query","description":"Search radius in light years (default 3500, max 3500)","schema":{"type":"number"}},{"name":"type_id","required":false,"in":"query","description":"Filter to hubs with open orders for this item type (e.g. 70810)","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NearbyHubResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Find trade hubs near a given hub","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/hubs/{hub_id}/top-items":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the items traded at the given hub over the last `days` days (default 7), ranked by quote (CRED) volume. Amounts are returned both raw and human-readable. Results are cached for 30 seconds.","operationId":"SSUController_getTopItems_v1","parameters":[{"name":"hub_id","required":true,"in":"path","description":"Sui object ID of the trade hub","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","description":"Look-back window in days (1–90).","schema":{"minimum":1,"maximum":90,"default":7,"type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return (1–50).","schema":{"minimum":1,"maximum":50,"default":10,"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HubTopItem"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List the most-traded items at a trade hub","tags":["Trade hubs"],"x-cu-cost":30}},"/hubs/v1/hubs/{hub_id}/vault":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns the item collection (`collection_id`) backing the hub and the hub vault's configuration object (`vault_config_id`).","operationId":"getHubVault","parameters":[{"name":"hub_id","required":true,"in":"path","description":"Sui object ID of the trade hub","schema":{"type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubVaultInfo"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get vault configuration for a trade hub","tags":["Trade hubs"],"x-cu-cost":20}},"/hubs/v1/inventory/balances":{"get":{"description":"**Cost:** 50 compute units per request.\n\nAuthoritative current contents per storage, straight from the chain indexer — the spendable truth that overlay containers merely arrange. The whole read is scoped by `storage_unit_id`; the item collection is derived from it server-side. One call can read several storages at once: pass `owner_address` for the wallet warehouse, `trading_account_id` for marketplace (trading account) holdings, `vault_ids` for organization (DAO) receipt vaults, and/or `inventory_key` for the trade hub hangar (keyed by game `type_id`, not collection-scoped). Sections whose selector was not passed come back empty. All amounts are raw integers as decimal strings.","operationId":"getInventoryBalances","parameters":[{"name":"storage_unit_id","required":true,"in":"query","description":"Trade hub scoping the whole read. The item collection is derived from it server-side (each hub backs exactly one collection), so no collection id is passed. A hub with no known collection fails with `404 not_found`.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"owner_address","required":false,"in":"query","description":"Holder wallet — returns warehouse balances.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"trading_account_id","required":false,"in":"query","description":"Trading account — returns marketplace balances.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"vault_ids","required":false,"in":"query","description":"Comma-separated organization (DAO) receipt vault ids — returns per-vault balances.","schema":{"type":"string"}},{"name":"inventory_key","required":false,"in":"query","description":"Inventory field key (hub or character `owner_cap_id`) selecting which hangar — when passed, returns hangar contents (by type_id).","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryBalancesResponse"}}}},"400":{"description":"Malformed or failed-validation parameters (`invalid_request`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No item collection is known for `storage_unit_id` (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get authoritative inventory balances at a trade hub","tags":["Trade hubs"],"x-cu-cost":50}},"/hubs/v1/items/{item_id}/locations":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns the location of every located hub with a live sell order for the given item (type_id), newest location first. Hubs without a reported location are not listed. Paginated: pass back `next_cursor` as `cursor` to fetch the next page.","operationId":"listItemLocations","parameters":[{"name":"item_id","required":true,"in":"path","description":"The type_id of the tradeable item to filter by","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationResponsePage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List locations that have a specific item for sale","tags":["Trade hubs"],"x-cu-cost":50}},"/map/v1/routing/compare":{"get":{"tags":["Map and routing"],"summary":"Compare the fuel, time, and balanced routes at once","description":"**Cost:** 300 compute units per request.\n\nRuns the same search three times — once per optimization — and returns all\nthree routes, so a client can show the trade-off (fewer jumps versus less\nfuel) without issuing three requests and without the results drifting apart\nif the map reloads between calls.\n\nThis is three route calculations in one call and is priced accordingly;\nprefer `/v1/routing/route` when only one optimization is needed. A 404 means\n*no* optimization could connect the two systems under these parameters.","operationId":"compareRoutes","parameters":[{"name":"origin","in":"query","description":"Solar system name to depart from (case-insensitive).","required":true,"schema":{"type":"string"},"example":"EHK-KH7"},{"name":"destination","in":"query","description":"Solar system name to arrive at (case-insensitive).","required":true,"schema":{"type":"string"},"example":"ET7-FQ7"},{"name":"mass","in":"query","description":"Ship mass, in the game's mass units (default 1.0).","required":false,"schema":{"type":"number","format":"double"},"example":1},{"name":"gate_weight","in":"query","description":"How much to favour stargates over jump drives, 0.0–1.0, applied to the\n`balanced` result (default 0.5).","required":false,"schema":{"type":"number","format":"double"},"example":0.5},{"name":"max_jump_range_ly","in":"query","description":"Ship's maximum jump-drive range in light years (default 50.0).","required":false,"schema":{"type":"number","format":"double"},"example":50}],"responses":{"200":{"description":"All three routes for this pair","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteComparison"}}}},"400":{"description":"Invalid parameter value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Unknown solar system, or no route between them","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"x-cu-cost":300}},"/map/v1/routing/route":{"get":{"tags":["Map and routing"],"summary":"Calculate a route between two solar systems","description":"**Cost:** 100 compute units per request.\n\nRuns an A* search over the stargate network plus every jump-drive hop within\n`max_jump_range_ly`, and returns the ordered waypoints together with the\nroute's jump counts and travel distance.\n\n**Choosing an optimization.** `time` minimises travel time and will take long\njump-drive hops to skip gate chains. `fuel` minimises fuel burn and prefers\nstargates, which are free but slower. `balanced` interpolates between them\nusing `gate_weight`.\n\n**Ship parameters matter.** `mass` scales fuel burn per light year, so a\nheavier ship shifts `fuel` and `balanced` results toward gates;\n`max_jump_range_ly` bounds which drive hops exist at all, so a short-range\nship may be routed entirely over gates — or get a 404 when no gate path\nexists.\n\n**Reading the result.** `total_cost.total_jumps` is the hop count a player\nsees; `gate_jumps` and `drive_jumps` split it by hop type;\n`total_distance_ly` is the whole path and `drive_distance_ly` only the\njump-drive portion. A 404 means either that a name has not been reported\nby any player yet (the message says which), or that the systems are known\nbut unreachable under these parameters — retrying with a larger\n`max_jump_range_ly` may succeed. Waypoints through systems whose name has\nnot been reported carry a `null` `solar_system_name`.","operationId":"getRoute","parameters":[{"name":"origin","in":"query","description":"Solar system name to depart from (case-insensitive).","required":true,"schema":{"type":"string"},"example":"EHK-KH7"},{"name":"destination","in":"query","description":"Solar system name to arrive at (case-insensitive).","required":true,"schema":{"type":"string"},"example":"ET7-FQ7"},{"name":"optimization","in":"query","description":"Which cost to minimise: `fuel`, `time`, or `balanced` (default `time`).","required":false,"schema":{"type":"string"},"example":"time"},{"name":"mass","in":"query","description":"Ship mass, in the game's mass units. Heavier ships burn more fuel per\nlight year, so raising this pushes `fuel` and `balanced` routes toward\nstargates (default 1.0).","required":false,"schema":{"type":"number","format":"double"},"example":1},{"name":"gate_weight","in":"query","description":"How much to favour stargates over jump drives, 0.0–1.0, used only by\n`balanced` (default 0.5). 0.0 behaves like `time`, 1.0 like `fuel`.","required":false,"schema":{"type":"number","format":"double"},"example":0.5},{"name":"max_jump_range_ly","in":"query","description":"Ship's maximum jump-drive range in light years (default 50.0). Jumps\nlonger than this are excluded from the graph before the search runs.","required":false,"schema":{"type":"number","format":"double"},"example":50}],"responses":{"200":{"description":"The optimal route under the given parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Route"}}}},"400":{"description":"Invalid parameter value","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Unknown solar system, or no route between them","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"x-cu-cost":100}},"/map/v1/routing/stats":{"get":{"tags":["Map and routing"],"summary":"Get routing graph coverage","description":"**Cost:** 20 compute units per request.\n\nReports the size of the stargate and jump-drive graphs the router searches.\nUse it to sanity-check which map revision a client is routing against, and\nto see the default `max_jump_range_ly` the jump-drive edges were built with.","operationId":"getRoutingStats","responses":{"200":{"description":"Routing graph coverage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoutingStats"}}}}},"x-cu-cost":20}},"/map/v1/solar-systems/names":{"get":{"description":"**Cost:** 50 compute units per request.\n\nBatch-resolve numeric solar system IDs to their display names. Results are cached for 30 minutes. Pass a comma-separated list of IDs (max 200).","operationId":"batchGetSolarSystemNames","parameters":[{"name":"ids","required":true,"in":"query","description":"Comma-separated Sui object IDs (max 200)","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SolarSystemName"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Resolve solar system IDs to human-readable names","tags":["Map and routing"],"x-cu-cost":50}},"/map/v1/spatial/coordinates/nearby":{"get":{"tags":["Map and routing"],"summary":"Find solar systems near a point in space","description":"**Cost:** 50 compute units per request.\n\nReturns every solar system whose center lies within `radius_ly` light years\nof the given coordinates, nearest first.\n\nUse this when the origin is not itself a solar system — a ship, structure, or\nsmart assembly position read from the chain. `x`, `y` and `z` are decimal\nstrings in meters (see `Coordinates`), the same representation the market-data\nAPI uses for hub locations, so a hub's `x`/`y`/`z` can be passed straight\nthrough as query parameters.","operationId":"listSystemsNearCoordinates","parameters":[{"name":"x","in":"query","description":"X coordinate of the search origin, in meters (decimal string)","required":true,"schema":{"type":"string"},"example":"-6523761465801880000"},{"name":"y","in":"query","description":"Y coordinate of the search origin, in meters (decimal string)","required":true,"schema":{"type":"string"},"example":"-253634337518181280"},{"name":"z","in":"query","description":"Z coordinate of the search origin, in meters (decimal string)","required":true,"schema":{"type":"string"},"example":"4013616888017946600"},{"name":"radius_ly","in":"query","description":"Search radius in light years (positive, max 10,000)","required":true,"schema":{"type":"number","format":"double"},"example":100},{"name":"limit","in":"query","description":"Maximum systems to return, nearest first (default 100, max 1,000)","required":false,"schema":{"type":"integer","minimum":0},"example":100}],"responses":{"200":{"description":"Systems within the radius, nearest first","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoordinateSearchResponse"},"example":{"count":1,"location":{"x":"-6523761465801880000","y":"-253634337518181280","z":"4013616888017946600"},"radius_ly":"50","systems":[{"distance_ly":"0","location":{"x":"-6523761465801880000","y":"-253634337518181280","z":"4013616888017946600"},"solar_system_id":30001053,"solar_system_name":"IF3-HS9"}]}}}},"400":{"description":"Malformed coordinates, or `radius_ly` non-positive or above 10,000","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"x-cu-cost":50}},"/map/v1/spatial/stats":{"get":{"tags":["Map and routing"],"summary":"Get star-map coverage","description":"**Cost:** 20 compute units per request.\n\nReports how many solar systems the coordinate index holds. Use it to confirm\nthe dataset a client is querying against before caching results.","operationId":"getStarMapStats","responses":{"200":{"description":"Coverage of the loaded star map","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpatialStatsResponse"},"example":{"known_solar_system_names":15,"status":"operational","total_systems":24018}}}}},"x-cu-cost":20}},"/map/v1/spatial/systems":{"get":{"tags":["Map and routing"],"summary":"Look up many solar systems at once","description":"**Cost:** 50 compute units per request.\n\nResolves up to 100 solar systems in one call. Pass either\n`solar_system_ids` or `solar_system_names` — not both.\n\nIdentifiers that match nothing are omitted from `systems` rather than\nreturned as nulls — including names no player has reported yet — so\ncompare `count` against the number you asked for to detect misses. Prefer\nthis over looping the single-system endpoint: it costs one call instead of N.","operationId":"batchGetSolarSystems","parameters":[{"name":"solar_system_ids","in":"query","description":"Comma-separated solar system IDs (max 100)","required":false,"schema":{"type":"string"},"example":"30000142,30001053"},{"name":"solar_system_names","in":"query","description":"Comma-separated solar system names (max 100, case-insensitive)","required":false,"schema":{"type":"string"},"example":"EHK-KH7,IF3-HS9"}],"responses":{"200":{"description":"The systems that resolved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchSystemsResponse"},"example":{"count":1,"systems":[{"constellation_id":20000070,"location":{"x":"-6523761465801880000","y":"-253634337518181280","z":"4013616888017946600"},"region_id":10000013,"solar_system_id":30001053,"solar_system_name":"IF3-HS9"}]}}}},"400":{"description":"Neither or both selectors given, empty selector, or more than 100 identifiers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"x-cu-cost":50}},"/map/v1/spatial/systems/search/autocomplete":{"get":{"tags":["Map and routing"],"summary":"Autocomplete solar system names","description":"**Cost:** 20 compute units per request.\n\nReturns solar systems whose name starts with `q`, matched case-insensitively\nand sorted alphabetically.\n\nOnly systems whose name a player has reported are searched, so a prefix\nthat matches nothing today may match once more of the map is discovered.\n\nIntended for type-ahead inputs: it is served from an in-memory prefix index\nand returns only identifiers, so it is far cheaper than the full system\nlookup. Resolve the chosen suggestion with `/v1/spatial/systems/{solar_system}`\nwhen you need coordinates.","operationId":"autocompleteSolarSystems","parameters":[{"name":"q","in":"query","description":"Name prefix to search (case-insensitive, at least 1 character)","required":true,"schema":{"type":"string"},"example":"EHK"},{"name":"limit","in":"query","description":"Maximum suggestions to return (default 10, max 50)","required":false,"schema":{"type":"integer","minimum":0},"example":10}],"responses":{"200":{"description":"Matching systems, alphabetically sorted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutocompleteResponse"},"example":{"count":2,"systems":[{"solar_system_id":30007477,"solar_system_name":"EHK-1D2"},{"solar_system_id":30010826,"solar_system_name":"EHK-4NH"}]}}}},"400":{"description":"`q` missing or empty","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"x-cu-cost":20}},"/map/v1/spatial/systems/{solar_system}":{"get":{"tags":["Map and routing"],"summary":"Get one solar system","description":"**Cost:** 20 compute units per request.\n\nResolves a solar system by name or numeric ID and returns its coordinates,\nconstellation, and region.\n\nThe path segment is treated as a `solar_system_id` when it parses as an\ninteger and as a case-insensitive `solar_system_name` otherwise, so both\n`/v1/spatial/systems/EHK-KH7` and `/v1/spatial/systems/30000142` resolve the\nsame system.","operationId":"getSolarSystem","parameters":[{"name":"solar_system","in":"path","description":"Solar system name (case-insensitive) or numeric solar system ID","required":true,"schema":{"type":"string"},"example":"EHK-KH7"}],"responses":{"200":{"description":"The solar system","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolarSystem"},"example":{"constellation_id":20000011,"location":{"x":"-4552684039025347600","y":"-1259408979310431000","z":"715413928863438800"},"region_id":10000005,"solar_system_id":30000142,"solar_system_name":"EHK-KH7"}}}},"404":{"description":"No such solar system","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"x-cu-cost":20}},"/map/v1/spatial/systems/{solar_system}/nearby":{"get":{"tags":["Map and routing"],"summary":"Find solar systems near another solar system","description":"**Cost:** 50 compute units per request.\n\nReturns every solar system whose center lies within `radius_ly` light years\nof the given system, nearest first. The origin system itself is not included.\n\nUse this to answer \"what is within jump-drive range of here\" — pair it with\n`max_jump_range_ly` on the routing endpoints, or with the market-data API's\n`/v1/hubs/nearby-by-system` to find trade hubs in the same neighbourhood.\n\nResults are capped by `limit` (default 100, max 1,000) *after* sorting by\ndistance, so a large radius with a small limit returns the nearest systems\nrather than an arbitrary subset.","operationId":"listSystemsNearSolarSystem","parameters":[{"name":"solar_system","in":"path","description":"Solar system name (case-insensitive) or numeric solar system ID","required":true,"schema":{"type":"string"},"example":"EHK-KH7"},{"name":"radius_ly","in":"query","description":"Search radius in light years (positive, max 10,000)","required":true,"schema":{"type":"number","format":"double"},"example":100},{"name":"limit","in":"query","description":"Maximum systems to return, nearest first (default 100, max 1,000)","required":false,"schema":{"type":"integer","minimum":0},"example":100}],"responses":{"200":{"description":"Systems within the radius, nearest first","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NearbySystemsResponse"},"example":{"count":1,"radius_ly":"100","solar_system_id":30000142,"solar_system_name":"EHK-KH7","systems":[{"distance_ly":"18.991165304211588","location":{"x":"-4717330100777980000","y":"-1257087323238631400","z":"643527214957671600"},"solar_system_id":30001978,"solar_system_name":"IJD-297"}]}}}},"400":{"description":"`radius_ly` missing, non-positive, or above 10,000","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"No such solar system","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"x-cu-cost":50}},"/orgs/v1/orgs":{"get":{"description":"**Cost:** 50 compute units per request.\n\nSame as `GET /v1/orgs/{org_id}` but accepts up to 200 IDs at once via the `ids` query parameter. Returns one entry per requested ID, in request order; IDs that do not resolve return an entry with null fields and `metadata.error_reason = \"unresolved\"`. Results are cached per organization for 5 minutes.","operationId":"batchGetOrgs","parameters":[{"name":"ids","required":true,"in":"query","description":"Comma-separated organization object IDs (max 200).","schema":{"type":"array","items":{"type":"string"}}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrgResponse"}}}}},"400":{"description":"`ids` is missing, empty, or has more than 200 entries.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Batch-get organizations by ID","tags":["Organizations"],"x-cu-cost":50}},"/orgs/v1/orgs/directory":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns top-level organizations (never their internal units) for a \"discover organizations\" listing. Each entry carries a member count as a size hint plus an icon and description when the organization has configured them. Sorted by member count (largest first) by default; pass `sort=name` for alphabetical. Paginate with `limit` and the returned `next_cursor`.","operationId":"listOrgDirectory","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of organizations to return (1–50).","schema":{"minimum":1,"maximum":50,"default":8,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Sort order: `members` (member count, largest first — the default) or `name` (alphabetical).","schema":{"type":"string","enum":["members","name"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgDirectoryEntryPage"}}}},"400":{"description":"Invalid `limit`, `cursor`, or `sort` value.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List organizations for the discovery directory","tags":["Organizations"],"x-cu-cost":50}},"/orgs/v1/orgs/{org_id}":{"get":{"description":"**Cost:** 30 compute units per request.\n\nResolves an organization object ID to the full organization: name, metadata, treasury and related object IDs, current members, and the complete tree of child units (`ous`). The ID may be the top-level organization or any unit within its tree — the top-level organization is always returned. Results are cached for up to 5 minutes, dropped as soon as the indexer reports a change.","operationId":"getOrg","parameters":[{"name":"org_id","required":true,"in":"path","description":"Object ID of the organization — the root organization or any unit within its tree.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No organization exists with the given ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get an organization and its full unit tree","tags":["Organizations"],"x-cu-cost":30}},"/orgs/v1/orgs/{org_id}/proposals":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns every governance proposal of the organization, newest first: identity, creation time, lifecycle status, vote tallies, the off-chain metadata IPFS CID, the governance config the proposal was created under (still available after the on-chain proposal is deleted on execution or expiry), and — for composite proposals — the ordered step list. Snapshot weights are not included; read those from the live on-chain object while the proposal exists.","operationId":"listOrgProposals","parameters":[{"name":"org_id","required":true,"in":"path","description":"Object ID of the organization.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProposalResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List an organization's proposals","tags":["Organizations"],"x-cu-cost":30}},"/orgs/v1/players/{address}/orgs":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns every organization the address is a current governance member of, each resolved to its full unit tree. One entry per distinct top-level organization — inspect each tree’s per-unit `members` to see exactly where the address sits. Trees are cached for up to 5 minutes, dropped as soon as the indexer reports a change.","operationId":"listPlayerOrgs","parameters":[{"name":"address","required":true,"in":"path","description":"Player wallet address.","schema":{"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrgResponse"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List the organizations a player belongs to","tags":["Organizations"],"x-cu-cost":30}},"/trading/v1/coin-pools/discovery":{"get":{"description":"**Cost:** 50 compute units per request.\n\nLists every coin market with open-order depth, best bid/ask (raw prices, scaled by `price_scaling`), distinct resting traders, and the most recent trade. Markets with the deepest books come first. Paginated: pass back `next_cursor` as `cursor` to fetch the next page.","operationId":"CoinPoolsController_getDiscovery_v1","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinMarketPage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List coin markets","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/coin-pools/open-orders":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns the orders currently resting on every coin order book, newest activity first, with base/quote pair metadata and the order’s owner (trading account, owner address, character or organization name) on every row. Expired orders are excluded. Filters compose freely: by owner (`trading_account_id`), by market (`pool_id`), by coin on either side of the pair (`coin_type`), and by side. Pass back `next_cursor` as `cursor`, with the same filters, to fetch the next page.","operationId":"CoinPoolsController_listMarketOpenOrders_v1","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"trading_account_id","required":false,"in":"query","description":"Only orders owned by this trading account (\"my orders\").","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"pool_id","required":false,"in":"query","description":"Only orders on this coin pool.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"coin_type","required":false,"in":"query","description":"Only markets with this coin as their base or quote.","schema":{"example":"0x9f3a1b2c…::cred::CRED","type":"string"}},{"name":"side","required":false,"in":"query","description":"Filter by order side. `buy` = bids.","schema":{"default":"both","type":"string","enum":["both","buy","sell"]}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinMarketOpenOrderPage"}}}},"400":{"description":"Invalid query parameters or a malformed cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List open orders across all coin markets","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/coin-pools/resolve":{"get":{"description":"**Cost:** 30 compute units per request.\n\nLooks up the pool (order book) for a (base_type, quote_type) coin pair. Returns `{ pool_id }` for the pair, or `{ pool_id: null }` when no pool exists for it yet.","operationId":"CoinPoolsController_resolvePool_v1","parameters":[{"name":"base_type","required":true,"in":"query","description":"Fully-qualified base coin type.","schema":{"example":"0x9f3a1b2c…::cred::CRED","type":"string"}},{"name":"quote_type","required":true,"in":"query","description":"Fully-qualified quote coin type (CRED per current scope).","schema":{"example":"0x9f3a1b2c…::cred::CRED","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinPoolResolve"}}}},"400":{"description":"Missing or invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Resolve a coin pool ID by coin pair","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/coin-pools/trades/recent":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns the latest executed trades across every coin market, newest first. Prices, quantities, and fees are returned both human-readable and raw (`*_raw`, scaled by the pool `price_scaling` and coin decimals). Use `before` (epoch milliseconds) to page backward — pass the previous response’s `next_cursor` as `before`. Use `after` to poll for trades executed since a given time. Filter with `pool_id` to follow a single market. At most 50 rows are returned per page.","operationId":"CoinPoolsController_getRecentTrades_v1","parameters":[{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"pool_id","required":false,"in":"query","description":"Restrict the feed to a single coin pool.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinTradePage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List recent trades across all coin markets","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/coin-pools/{pool_id}/metadata":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns the pair metadata for a coin market (coin types, symbols, decimals, lot/tick/min size), the raw pool fee with its decimal `fee_rate` for sizing taker-fee buffers, and the `price_scaling` divisor used by raw prices. Responds 404 for unknown pools.","operationId":"CoinPoolsController_getPoolMetadata_v1","parameters":[{"name":"pool_id","required":true,"in":"path","description":"Pool (orderbook) object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinPoolMetadata"}}}},"404":{"description":"No coin pool with this ID exists.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get coin-pool metadata by pool ID","tags":["Trading"],"x-cu-cost":20}},"/trading/v1/coin-pools/{pool_id}/orderbook":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns `{ bids, asks }` of orders currently resting on the book. Bids are highest-price-first, asks lowest-price-first. Prices are raw integers scaled by the pool `price_scaling`. Responds 404 when the pool is not a known coin pool.","operationId":"CoinPoolsController_getOrderbook_v1","parameters":[{"name":"pool_id","required":true,"in":"path","description":"Pool (orderbook) object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookResponse"}}}},"404":{"description":"No coin pool with this ID exists.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get the current resting orderbook for a coin pool","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/coin-pools/{pool_id}/orders/{order_id}":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns full detail for a single coin-market order — status, prices and quantities, the account that placed it, base/quote coin metadata, and its fill history. Order IDs are scoped per pool, so both path segments are required. Responds 404 if the order is unknown.","operationId":"CoinPoolsController_getOrder_v1","parameters":[{"name":"pool_id","required":true,"in":"path","description":"Pool (orderbook) object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"order_id","required":true,"in":"path","description":"Encoded TriEx order ID (unsigned integer as decimal string).","schema":{"example":"170141183460469231731687303715884105728","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinOrderDetail"}}}},"400":{"description":"Invalid path parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No order with this ID exists in this pool.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get one order on a coin pool","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/coins":{"get":{"description":"**Cost:** 30 compute units per request.\n\nThe consolidated coin list, enumerated from the token registry so coins with no triex pool (e.g. CRED) still appear. Each coin merges registry identity, on-chain supply/contract facts (circulating supply is total minus known treasury holdings), and market data appended from the indexer's coin pools (null when the coin has no pool). Coins with a pool come first, ordered by activity. Pass `coin_types` to restrict the list to specific coins.","operationId":"listCoins","parameters":[{"name":"coin_types","required":false,"in":"query","description":"Optional comma-separated coin types to restrict the list to (max 200). Omit for the full registry list.","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CoinResponse"}}}}},"400":{"description":"Malformed `coin_types` filter (e.g. more than 200 entries).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List coins with supply, contract, and market data","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/display-prices":{"get":{"description":"**Cost:** 50 compute units per request.\n\nPlain market display prices (no trading fee applied) from the `display_price` view; a client that wants to show a fee applies the viewer's own rate for the pool. Pass `item_ids` alone for vault-independent item-tier prices (one per item). Pass `item_ids` + `storage_unit_ids` to run the full traded → item → book → unknown waterfall per (item, vault); a pair with no pool falls back to the vault-independent item-tier price (`tier: \"item\"` with a null `pool_id`) unless `fallback=false`, and comes back `tier: \"unknown\"` when the item has no price anywhere. `storage_unit_ids` may hold either trade hub ids or vault item collection ids.","operationId":"listDisplayPrices","parameters":[{"name":"item_ids","required":true,"in":"query","description":"Comma-separated numeric item (asset) IDs. Batch ceiling: at most 100 IDs per request — larger batches are rejected with 400.","schema":{"type":"string"}},{"name":"storage_unit_ids","required":false,"in":"query","description":"Comma-separated trade hub / vault item collection ids. When present, must match the number of `item_ids` (paired by position) or be a single id (applied to every item).","schema":{"type":"string"}},{"name":"fallback","required":false,"in":"query","description":"Pair mode only. Set to \"false\" to disable the item-tier price fallback for pairs with no pool at the requested vault (default: enabled). Ignored in item-only mode.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisplayPricesResponse"}}}},"400":{"description":"Missing/non-numeric `item_ids`, more than 100 IDs, or mismatched `storage_unit_ids` length.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Batch display prices for items (optionally per vault)","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/display-prices/{item_id}":{"get":{"description":"**Cost:** 20 compute units per request.\n\nConvenience single-item form of `/display-prices`. With `storage_unit_id`, returns the per-vault waterfall price; without it, the vault-independent item-tier price.","operationId":"getDisplayPrice","parameters":[{"name":"item_id","required":true,"in":"path","description":"Numeric item (asset) id","schema":{"type":"string"}},{"name":"storage_unit_id","required":false,"in":"query","description":"Trade hub / vault item collection id to price against.","schema":{"type":"string"}},{"name":"fallback","required":false,"in":"query","description":"Pair mode only. Set to \"false\" to disable the item-tier price fallback when no pool exists at the vault (default: enabled). Ignored without `storage_unit_id`.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisplayPricesResponse"}}}},"400":{"description":"`item_id` is not a numeric string.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Display price for a single item (optionally at a vault)","tags":["Trading"],"x-cu-cost":20}},"/trading/v1/fills/{event_digest}":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the raw record of a single fill event, with no account perspective applied: both maker and taker fees and trading accounts are included. `asset_id` and `storage_unit_id` are `null` until the market’s metadata has been indexed. Responds 404 if the event digest is unknown.","operationId":"getFill","parameters":[{"name":"event_digest","required":true,"in":"path","description":"Fill event identifier: the transaction digest with the event index appended.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FillDetail"}}}},"404":{"description":"No fill with this event digest exists.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get one fill by event digest","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/hubs/{hub_id}/items/{asset_id}/orderbook":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns the live order book for one item at a trade hub in a single request: resting bids and asks (bids highest-price-first, asks lowest-price-first), plus the resolved pool_id and pool metadata (asset names, decimals, taker fee) needed to price, size, and place orders against the book. Pass quote_type to prefer a market quoted in a specific currency. Responds 404 when the hub has no trading vault. When the hub trades but no market exists for this item yet, responds 200 with pool_id null and an empty book.","operationId":"getHubItemOrderbook","parameters":[{"name":"hub_id","required":true,"in":"path","description":"Trade hub (storage unit) object ID","schema":{"type":"string"}},{"name":"asset_id","required":true,"in":"path","description":"Numeric item type ID","schema":{"type":"string"}},{"name":"quote_type","required":false,"in":"query","description":"Quote asset type string; exact matches are preferred.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubItemOrderbookResponse"}}}}},"summary":"Get an item's order book at a trade hub","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/pools":{"get":{"description":"**Cost:** 30 compute units per request.\n\nEvery pool, coin and item, oldest first: its kind, base and quote types, the item’s collection and type ID and its hub, and when it was created. Filter by `kind` and page with `cursor`. A page never goes past the indexer’s committed checkpoint for the creation tables, so paging on never skips a pool. Returns 503 while that checkpoint is unknown.","operationId":"PoolsController_listPools_v1","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from a previous response’s `next_cursor`. Omit for the first page.","schema":{"type":"string"}},{"name":"kind","required":false,"in":"query","description":"Only coin pools (`Pool<Base, Quote>`) or item pools (`MultiCoinPool<Quote>`). Ignored on a `cursor` request: the cursor carries the original filter.","schema":{"type":"string","enum":["coin","item"]}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolSummaryPage"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The indexer’s committed checkpoint is unknown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List pools","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/pools/resolve":{"get":{"description":"**Cost:** 30 compute units per request.\n\nIndexed replacement for the client-side registry dynamic-field walk. Returns { pool_id } for the given collection_id + asset_id (optionally preferring an exact quote_type match), or { pool_id: null } if no pool has been created yet.","operationId":"resolvePool","parameters":[{"name":"collection_id","required":true,"in":"query","description":"MultiCoin vault collection ID","schema":{"type":"string"}},{"name":"asset_id","required":true,"in":"query","description":"Numeric item type ID","schema":{"type":"string"}},{"name":"quote_type","required":false,"in":"query","description":"Quote asset type string; exact matches are preferred.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolResolveResponseDto"}}}}},"summary":"Resolve a MultiCoin pool ID by (collection, asset, quote)","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/pools/top-by-fees":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns pools and multicoin pools ranked by unclaimed fee balance (total deposited minus total withdrawn), descending. Only pools with a positive unclaimed balance are included.","operationId":"listTopPoolsByFees","parameters":[{"name":"limit","required":false,"in":"query","description":"Max number of results to return (default 20, max 100)","schema":{"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PoolFeeResponseDto"}}}}}},"summary":"Get pools with the most fees available to claim","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/pools/{pool_id}/fee":{"get":{"description":"**Cost:** 20 compute units per request.\n\nWithout trading_account_id: the pool's current fee rates, the entry tier of its fee class, or its creation-time rate when no class schedule is indexed. Use taker_fee_rate to size the fee buffer on a market order's deposit.\n\nWith trading_account_id: what the pool's fee views report for that account, served from the indexer: the fee class, the active and staged fee schedules, the class's cancel retention, the account's trailing fee turnover, and the tier and taker/maker fees that turnover earns under the active schedule. Turnover is rebuilt from indexed fills and the pools' pending maker credits; while the indexer is catching up with the account's newest fills it can read low (a higher fee, never a lower one): pass min_checkpoint to wait for your own transaction.\n\nRaw fees are integer strings scaled by 1e9; the *_rate fields are their decimal form; u64/u128 values are decimal strings. Strict: a 200 always carries both fees, and the endpoint never answers null or 0 for an unknown fee. Responds 400 for a malformed pool_id or trading_account_id; 404 when the pool is not indexed at all (retryable: right after creation the indexer may not have it yet); 503 when the pool's fee, the account's turnover or the current epoch cannot be resolved (do not fall back to a zero fee).","operationId":"PoolsController_getPoolFee_v1","parameters":[{"name":"pool_id","required":true,"in":"path","description":"Pool (orderbook) object ID","schema":{"type":"string"}},{"name":"trading_account_id","required":false,"in":"query","description":"Trading account object ID. When given, the response is that account's fee state in the pool (its tier, rates, turnover and the schedules) instead of the pool's entry-tier rate.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"PoolCurrentFeeResponse without trading_account_id; PoolAccountFeeResponse with it.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PoolCurrentFeeResponse"},{"$ref":"#/components/schemas/PoolAccountFeeResponse"}]}}}},"400":{"description":"pool_id or trading_account_id is not a valid Sui object ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Pool not indexed (yet). Retry after a short delay.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"The pool's fee, the account's turnover or the current epoch could not be resolved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get a pool's current taker and maker fee, or an account's","tags":["Trading"],"x-cu-cost":20}},"/trading/v1/pools/{pool_id}/metadata":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns enriched metadata for a pool including asset names, symbols, decimals, and the associated storage unit ID (for multicoin pools). Queries pools UNION multicoin_pools joined with warehouse_vaults.","operationId":"getPoolMetadata","parameters":[{"name":"pool_id","required":true,"in":"path","description":"Pool (orderbook) object ID","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolMetadataResponseDto"}}}}},"summary":"Get pool metadata by pool ID","tags":["Trading"],"x-cu-cost":20}},"/trading/v1/pools/{pool_id}/orderbook":{"get":{"description":"**Cost:** 30 compute units per request.\n\nIndexed replacement for the client-side versioned-inner dynamic-field walk. Returns { bids, asks } of resting orders (remaining_quantity > 0) from the materialized open_orders table. Bids are highest-price-first, asks lowest-price-first.","operationId":"getPoolOrderbook","parameters":[{"name":"pool_id","required":true,"in":"path","description":"Pool (orderbook) object ID","schema":{"type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookResponseDto"}}}}},"summary":"Get the current resting orderbook for a pool","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/pools/{pool_id}/orders/{order_id}":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns full detail for a single order — status, prices and quantities, the account that placed it, the trade hub it lives at, the market’s quote currency, and its fill history. Order IDs are scoped per pool, so both path segments are required. Responds 404 if the order is unknown to the indexer.","operationId":"getPoolOrder","parameters":[{"name":"pool_id","required":true,"in":"path","description":"Pool (order book) object ID the order belongs to.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"order_id","required":true,"in":"path","description":"Order ID (u128, passed as a decimal string).","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetail"}}}},"400":{"description":"Invalid path parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No order with this ID exists in this pool.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get one order on a pool","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/trades/recent":{"get":{"description":"**Cost:** 50 compute units per request.\n\nReturns the latest executed trades across every item market, newest first. Use `before` (epoch milliseconds) to page backward — pass the previous response’s `next_cursor` as `before`. Use `after` to poll for trades executed since a given time. Filter with `public_only` (location-revealed trade hubs only), `item_id` (a single item type) and `hub_id` (a single trade hub). At most 50 rows are returned per page.","operationId":"getRecentTrades","parameters":[{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"public_only","required":false,"in":"query","description":"When `true`, only return trades from trade hubs whose location is publicly revealed.","schema":{"default":false,"type":"boolean"}},{"name":"item_id","required":false,"in":"query","description":"Only return trades for this item type (numeric asset ID).","schema":{"example":"77800","type":"string"}},{"name":"hub_id","required":false,"in":"query","description":"Only return trades at this trade hub (storage unit object ID).","schema":{"example":"0x5c0f…","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemTradePage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List recent trades across all item markets","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/trading-accounts/owners":{"get":{"description":"**Cost:** 50 compute units per request.\n\nResolves trading account object IDs to their owner, tagged by owner type: `player:<wallet_address>` for a character-owned trading account, or `ou:<org_id>` for an organization-owned one. `owner_name` is the matching character or organization's display name, or null if unresolved. `root_ou_id` is set when the owning organization is a sub-organization, pointing to its top-level organization. Results are cached for 5 minutes. Pass a comma-separated list of Sui object IDs (max 200).","operationId":"batchGetTradingAccountOwners","parameters":[{"name":"ids","required":true,"in":"query","description":"Comma-separated Sui object IDs (max 200)","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TradingAccountOwner"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get owner info for trading account IDs","tags":["Trading"],"x-cu-cost":50}},"/trading/v1/trading-accounts/{trading_account_id}/coin-pools/fills":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the individual coin-market fills (order executions) a balance manager participated in, newest first, from that account’s perspective. Use `before` (epoch milliseconds) to page backward — pass the previous response’s `next_cursor` as `before`. Use `after` to poll for fills executed since a given time. Filter with `pool_id` and `side` (role in the fill).","operationId":"CoinPoolsController_listFills_v1","parameters":[{"name":"trading_account_id","required":true,"in":"path","description":"Trading account object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"pool_id","required":false,"in":"query","description":"Filter by pool (orderbook) object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"side","required":false,"in":"query","description":"Restrict to fills where this account was maker or taker.","schema":{"default":"all","type":"string","enum":["maker","taker","all"]}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FillPage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List a trading account's coin-market fills","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/trading-accounts/{trading_account_id}/coin-pools/open-orders":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the orders a trading account currently has resting on coin order books, newest activity first, with base/quote pair metadata on every row. Use `before` (epoch milliseconds) to page backward through older orders — pass the previous response’s `next_cursor` as `before`. Use `after` to fetch only orders updated since a given time.","operationId":"CoinPoolsController_listOpenOrders_v1","parameters":[{"name":"trading_account_id","required":true,"in":"path","description":"Trading account object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinOpenOrderPage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List a trading account's open coin-market orders","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/trading-accounts/{trading_account_id}/coin-pools/trades":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the coin-market trades (fills) a trading account participated in, newest first, from that account’s perspective, with base/quote pair metadata on every row. Use `before` (epoch milliseconds) to page backward — pass the previous response’s `next_cursor` as `before`. Use `after` to poll for trades executed since a given time. Filter with `side` (role in the trade) and `base_type` (base coin type).","operationId":"CoinPoolsController_listTrades_v1","parameters":[{"name":"trading_account_id","required":true,"in":"path","description":"Trading account object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"side","required":false,"in":"query","description":"Restrict to trades where this account was maker or taker.","schema":{"default":"all","type":"string","enum":["maker","taker","all"]}},{"name":"base_type","required":false,"in":"query","description":"Filter by base coin type.","schema":{"example":"0x9f3a1b2c…::cred::CRED","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoinAccountTradePage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List a trading account's coin-market trades","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/trading-accounts/{trading_account_id}/fills":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the individual fills (order executions) a trading account participated in, newest first, from that account’s perspective. Use `before` (epoch milliseconds) to page backward — pass the previous response’s `next_cursor` as `before`. Use `after` to poll for fills executed since a given time. Filter with `pool_id` and `side` (role in the fill).","operationId":"listAccountFills","parameters":[{"name":"trading_account_id","required":true,"in":"path","description":"Trading account object ID","schema":{"type":"string"}},{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"pool_id","required":false,"in":"query","description":"Only return fills from this pool (order book).","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"side","required":false,"in":"query","description":"Filter by the account's role in the fill.","schema":{"default":"all","type":"string","enum":["maker","taker","all"]}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FillPage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List a trading account's fills","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/trading-accounts/{trading_account_id}/open-orders":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the orders a trading account currently has resting on item-market order books, newest activity first. Use `before` (epoch milliseconds) to page backward through older orders — pass the previous response’s `next_cursor` as `before`. Use `after` to fetch only orders updated since a given time.","operationId":"listAccountOpenOrders","parameters":[{"name":"trading_account_id","required":true,"in":"path","description":"Trading account object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemOpenOrderPage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List a trading account's open orders","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/trading-accounts/{trading_account_id}/sweepable":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns everything a \"sweep all to hangar\" operation would move for this trading account: per-pool settled (claimable) and owed balances with open-order counts, plus idle item balances already held by the account. Each entry carries the trade-hub storage unit and vault configuration needed to build the withdrawal transaction. `as_of_checkpoint` indicates how current the snapshot is.","operationId":"listAccountSweepable","parameters":[{"name":"trading_account_id","required":true,"in":"path","description":"Trading account object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sweepable"}}}}},"summary":"List a trading account's sweepable balances and items","tags":["Trading"],"x-cu-cost":30}},"/trading/v1/trading-accounts/{trading_account_id}/trades":{"get":{"description":"**Cost:** 30 compute units per request.\n\nReturns the trades (fills) a trading account participated in, newest first, from that account’s perspective. Use `before` (epoch milliseconds) to page backward — pass the previous response’s `next_cursor` as `before`. Use `after` to poll for trades executed since a given time. Filter with `side` (role in the trade) and `asset_id` (item type).","operationId":"listAccountTrades","parameters":[{"name":"trading_account_id","required":true,"in":"path","description":"Trading account object ID.","schema":{"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","type":"string"}},{"name":"before","required":false,"in":"query","description":"Only return entries strictly older than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"after","required":false,"in":"query","description":"Only return entries strictly newer than this Unix-epoch-millisecond timestamp.","schema":{"format":"int64","type":"integer"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (1–100).","schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"}},{"name":"side","required":false,"in":"query","description":"Filter by the account's role in the trade.","schema":{"default":"all","type":"string","enum":["maker","taker","all"]}},{"name":"asset_id","required":false,"in":"query","description":"Only return trades for this item type (numeric asset ID).","schema":{"type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemAccountTradePage"}}}},"400":{"description":"Invalid query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List a trading account's trade history","tags":["Trading"],"x-cu-cost":30}},"/world/v1/world/items":{"get":{"operationId":"listItems","tags":["World"],"summary":"List all items","description":"**Cost:** 20 compute units per request.\n\nThe full curated item list for the current world: every player-relevant item (tradeable goods, modules, ores, commodities) plus deployable structure and infrastructure items. Static reference data — regenerated and republished when the game client data changes, typically far less than daily. Cache aggressively.","responses":{"200":{"description":"The complete item list.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Item"}}}}}},"x-cu-cost":20}},"/world/v1/world/items/search":{"get":{"description":"**Cost:** 50 compute units per request.\n\nSearch tradeable item types by partial, case-insensitive name (or exact numeric type ID). Returns display metadata, mass, and crafting recipes for each match, best matches first (exact ID, exact name, name prefix, then name substring). Item data comes from the hourly refreshed game-data list. With `variants=true`, each match also carries its supply in live storage units and its top variants (neotype keys), ranked by `variant_sort`, from a snapshot rebuilt every 5 minutes.","operationId":"searchAssets","parameters":[{"name":"q","required":true,"in":"query","description":"Search term: a partial item name, or an exact type ID.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum results (default 20, max 50).","schema":{"type":"string"}},{"name":"variants","required":false,"in":"query","description":"Include `supply` and `variants` (keys with units in storage) on each match. Default false.","schema":{"type":"boolean"}},{"name":"variant_sort","required":false,"in":"query","description":"Variant order: `supply` (most units in storage, default) or `storage_units` (held in the most storage units).","schema":{"enum":["supply","storage_units"],"type":"string"}},{"name":"variant_limit","required":false,"in":"query","description":"Variants per match (default 5, max 50).","schema":{"type":"string"}},{"name":"tenant","required":false,"in":"query","description":"World to count supply in, e.g. `stillness`. Omitted: every world.","schema":{"type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetSearchResponse"}}}},"400":{"description":"`q` is missing or empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Search item types by name","tags":["World"],"x-cu-cost":50}},"/world/v1/world/items/{asset_id}":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns the display name and group symbol for a numeric asset id. A neotype (digital chemistry) variant key `(variant_id << 32) | type_id` is decomposed into `type_id` + `variant_id` and resolved through its base type, with the name composed as `<base> #<variant>`. The items list is cached for 1 hour.","operationId":"getAsset","parameters":[{"name":"asset_id","required":true,"in":"path","description":"Numeric asset id: a plain item type id (e.g. 88561) or a neotype variant key (e.g. 1885490740881 = Inkstone 97937, variant 439)","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetInfo"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get asset info by asset id (item type or neotype variant)","tags":["World"],"x-cu-cost":20}},"/world/v1/world/items/{type_id}/variants":{"get":{"description":"**Cost:** 30 compute units per request.\n\nEvery key of a base item type (the plain item and each neotype variant) that has units in a live storage unit, ranked by total supply (default) or by how many storage units hold it. Supply counts every SSU inventory, including the open storage that holds warehouse-receipt deposits; destroyed and unanchored storage units are excluded. From a snapshot rebuilt every 5 minutes.","operationId":"ItemVariantsController_listVariants_v1","parameters":[{"name":"type_id","required":true,"in":"path","description":"Base item type id (e.g. 97937). A full variant key resolves to its base type.","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Ranking: `supply` (default) or `storage_units`.","schema":{"enum":["supply","storage_units"],"type":"string"}},{"name":"tenant","required":false,"in":"query","description":"World to count, e.g. `stillness`. Omitted: the sum over every world.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Max keys (default 50, max 200).","schema":{"type":"string"}},{"name":"before","required":false,"in":"query","description":"Cursor from `next_cursor`: the next keys down the ranking.","schema":{"type":"string"}},{"name":"after","required":false,"in":"query","description":"Cursor from `prev_cursor`: the keys ranked above a page.","schema":{"type":"string"}},{"name":"min_checkpoint","required":false,"in":"query","description":"Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemVariantsResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"The type id is not a u64 or not in the items list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"List an item type’s variants by supply in storage","tags":["World"],"x-cu-cost":30}},"/world/v1/world/recipes":{"get":{"operationId":"listRecipes","tags":["World"],"summary":"List all crafting recipes (blueprints)","description":"**Cost:** 20 compute units per request.\n\nEvery known crafting recipe, as blueprints decoded from the game client: each one consumes one or more inputs and yields one or more outputs (refining often yields several). `kind` says what the blueprint does: `manufacture`, `refine`, `construct` (construction-site structures, which have a null `blueprintId` and no facilities) or `reverse` (the backward half of a production loop, such as unpacking). An item can be produced by several blueprints. To estimate an item's price from its recipe, use only `manufacture`, `refine` and `construct` blueprints, and skip any with a non-null `blueprintId` but no `facilities` (no player can run those). Static reference data — regenerated and republished when the client data changes. Cache aggressively.","responses":{"200":{"description":"The complete blueprint list.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Blueprint"}}}}}},"x-cu-cost":20}},"/world/v1/world/recipes/{item_id}":{"get":{"operationId":"getRecipe","tags":["World"],"summary":"Get the recipes (blueprints) for one item","description":"**Cost:** 20 compute units per request.\n\nEvery blueprint that touches the given item: `producedBy` lists the blueprints with the item among their outputs (its recipes), and `usedIn` lists the blueprints that consume it as an input. Both lists include every `kind`, `reverse` among them; filter on `kind` as needed.","parameters":[{"name":"item_id","in":"path","required":true,"description":"Item type id (the item-list `id`).","schema":{"type":"integer"}}],"responses":{"200":{"description":"The blueprints that produce and consume this item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemBlueprints"}}}},"404":{"description":"No blueprint produces or consumes this item id."}},"x-cu-cost":20}},"/world/v1/world/tribes/{tribe_id}":{"get":{"description":"**Cost:** 20 compute units per request.\n\nReturns tribe metadata (name, short name, tax rate, …) for the given numeric tribe ID. Tribes are game-world factions distinct from on-chain organizations.","operationId":"getTribe","parameters":[{"name":"tribe_id","required":true,"in":"path","description":"Numeric tribe ID.","schema":{"example":98000001,"type":"integer"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TribeResponse"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No tribe exists with the given ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"summary":"Get a tribe by numeric ID","tags":["World"],"x-cu-cost":20}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Send your API key in the `x-api-key` header. Each operation lists its `x-cu-cost` (Compute Units charged per call).\n\n**New here?** Use the public read-only test key `sk_vw_39e4fc4a58cce9fe1d43feb6bc9e5921bd67ec6fbd94f95954795634c22b375f` to try calls right here - it is rate-limited to ~5 requests/second (the `test` tier). Request your own key for higher throughput.","x-default-api-key":"sk_vw_39e4fc4a58cce9fe1d43feb6bc9e5921bd67ec6fbd94f95954795634c22b375f"}},"schemas":{"ApiError":{"type":"object","description":"Error body returned by every non-2xx response.\n\nField semantics match the Trinary Exchange market-data API (`ErrorResponse`)\nso a client can share one error handler across both services.","required":["error","message"],"properties":{"error":{"type":"string","description":"Machine-readable error code (snake_case). Stable across releases — branch\non this field, never on `message`. Codes: `invalid_request`,\n`unauthorized`, `not_found`, `internal`.","example":"not_found"},"message":{"type":"string","description":"Human-readable explanation of the failure. Wording may change at any\ntime; do not parse.","example":"solar system 'EHK-KH8' not found"}}},"AssemblyEnrichedResponse":{"type":"object","properties":{"assembly_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Assembly Sui object ID."},"owner":{"type":"string","nullable":true,"description":"Wallet address that owns the assembly (resolved on-chain)."},"owner_character_name":{"type":"string","nullable":true,"description":"Character name associated with the owner address."},"owner_character_id":{"type":"string","nullable":true,"description":"Character object ID."},"assembly_name":{"type":"string","nullable":true,"description":"Human-readable assembly name from on-chain metadata (null if metadata not set)."}},"required":["assembly_id","owner","owner_character_name","owner_character_id","assembly_name"]},"AssemblyOwnerResponse":{"type":"object","properties":{"assembly_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Assembly Sui object ID."},"owner":{"type":"string","nullable":true,"description":"Wallet address that owns the assembly, or null if unresolved."}},"required":["assembly_id","owner"]},"AssetBalance":{"type":"object","properties":{"asset_id":{"type":"string","description":"Numeric item type id (raw integer, decimal string); for hangars this is the game `type_id`."},"amount":{"type":"string","description":"Total amount held (raw integer, decimal string)."}},"required":["asset_id","amount"]},"AssetInfo":{"type":"object","properties":{"asset_id":{"type":"string","example":"1885490740881","description":"The requested asset id (a u64), as a decimal string. For a neotype variant this is the composed key `(variant_id << 32) | type_id`."},"name":{"type":"string","nullable":true,"example":"Inkstone #439","description":"Item display name, or null when unknown. A neotype variant reads `<base name> #<variant_id>`."},"symbol":{"type":"string","nullable":true,"example":"Raw Materials","description":"The item's group name, or null when the item has no group."},"type_id":{"type":"string","example":"97937","description":"Base item type id (the low 32 bits of `asset_id`). Equals `asset_id` for a plain item."},"variant_id":{"type":"string","nullable":true,"example":"439","description":"Neotype (digital chemistry) variant id (the high 32 bits of `asset_id`), or null for a plain item."},"base_name":{"type":"string","nullable":true,"example":"Inkstone","description":"The base type's display name, without the variant suffix."}},"required":["asset_id","name","symbol","type_id","variant_id","base_name"]},"AssetRecipe":{"type":"object","properties":{"output_quantity":{"type":"integer","example":1,"description":"Units of the item produced per craft."},"components":{"description":"Input materials consumed per craft.","type":"array","items":{"$ref":"#/components/schemas/AssetRecipeComponent"}},"byproducts":{"description":"Other items the same craft yields alongside this one (refining co-outputs); empty for single-output recipes.","type":"array","items":{"$ref":"#/components/schemas/AssetRecipeComponent"}}},"required":["output_quantity","components","byproducts"]},"AssetRecipeComponent":{"type":"object","properties":{"asset_id":{"type":"string","example":"77811","description":"Numeric item type ID of the input material, as a string."},"quantity":{"type":"integer","example":5,"description":"Units of this material consumed per craft."}},"required":["asset_id","quantity"]},"AssetSearchResponse":{"type":"object","properties":{"data":{"description":"Item types matching the search term, best matches first (exact ID, exact name, name prefix, then name substring).","type":"array","items":{"$ref":"#/components/schemas/AssetSearchResult"}}},"required":["data"]},"AssetSearchResult":{"type":"object","properties":{"asset_id":{"type":"string","example":"88561","description":"Numeric item type ID, as a string."},"name":{"type":"string","nullable":true,"example":"Common Ore","description":"Item display name, or null when unknown."},"symbol":{"type":"string","nullable":true,"example":"Raw Materials","description":"The item's group name, or null when the item has no group."},"mass":{"type":"number","example":100,"description":"Item mass in kilograms, from the game data."},"recipes":{"description":"Crafting recipes that produce this item; empty when the item is not craftable.","type":"array","items":{"$ref":"#/components/schemas/AssetRecipe"}},"supply":{"nullable":true,"description":"Only with `variants=true`: total units of the type in live storage units, over all its keys; null when none are in storage.","allOf":[{"$ref":"#/components/schemas/ItemSupplySummary"}]},"variants":{"description":"Only with `variants=true`: the type’s keys (plain item and neotype variants) in storage, ordered by `variant_sort`, at most `variant_limit`. Page the rest with `GET /v1/world/items/{type_id}/variants`.","type":"array","items":{"$ref":"#/components/schemas/ItemVariantSupply"}}},"required":["asset_id","name","symbol","mass","recipes"]},"AutocompleteResponse":{"type":"object","description":"Autocomplete suggestions for a name prefix.","required":["count","systems"],"properties":{"count":{"type":"integer","description":"Number of suggestions returned.","example":2,"minimum":0},"systems":{"type":"array","items":{"$ref":"#/components/schemas/SolarSystemSuggestion"},"description":"Matching systems, sorted alphabetically."}}},"BatchSystemsResponse":{"type":"object","description":"Result of a batch solar-system lookup.","required":["count","systems"],"properties":{"count":{"type":"integer","description":"Number of systems resolved.","example":3,"minimum":0},"systems":{"type":"array","items":{"$ref":"#/components/schemas/SolarSystem"},"description":"Resolved systems. Identifiers that matched nothing are omitted rather\nthan returned as nulls, so `count` may be lower than the number requested."}}},"Blueprint":{"type":"object","description":"A crafting recipe: one run of a blueprint, consuming `inputs` and yielding `outputs`.","required":["blueprintId","primaryTypeId","kind","runTime","inputs","outputs","facilities"],"properties":{"blueprintId":{"type":"integer","nullable":true,"description":"Game-client id of the recipe: a digital chemistry recipe id when `source` is `recipe`, an industry blueprint id when `source` is `industry`; null for `construct` entries."},"source":{"type":"string","enum":["recipe","industry","construct"],"description":"`recipe`: a digital chemistry recipe (cycle 7 on; nearly all crafting). `industry`: a legacy industry blueprint (a few remain, none runnable). `construct`: a construction-site structure."},"name":{"type":"string","description":"Recipe name (`recipe` entries only)."},"primaryTypeId":{"type":"integer","description":"The item the blueprint is keyed by: its main output for `manufacture`/`construct`, the ore or salvage consumed for `refine`."},"kind":{"type":"string","enum":["manufacture","refine","construct","reverse"],"description":"`manufacture`: build an item from parts. `refine`: refine or reprocess ore, crude matter or salvage, often into several outputs. `construct`: a construction-site structure (null `blueprintId`, no facilities). `reverse`: the backward half of a production loop (unpacking, D2 Fuel → Salt); do not price items from these."},"runTime":{"type":"integer","description":"Run time in seconds (raw game-client value); -1 when unknown."},"inputs":{"type":"array","description":"Items consumed per run.","items":{"$ref":"#/components/schemas/BlueprintItem"}},"outputs":{"type":"array","description":"Items produced per run. More than one for most `refine` blueprints and a few `manufacture` ones.","items":{"$ref":"#/components/schemas/BlueprintItem"}},"facilities":{"type":"array","description":"Facilities that can run the blueprint. Empty for `construct` entries, and for the few industry blueprints no facility can run.","items":{"$ref":"#/components/schemas/BlueprintFacility"}}}},"BlueprintFacility":{"type":"object","description":"A facility that can run a blueprint, with its per-job limits.","required":["typeId","name"],"properties":{"typeId":{"type":"integer","description":"Item type id of the facility (e.g. a Refinery or Printer)."},"name":{"type":"string","description":"Facility display name."},"maxInputRuns":{"type":"integer","description":"Maximum input runs per job in this facility. Industry blueprints only."},"maxOutputRuns":{"type":"integer","description":"Maximum output runs per job in this facility. Industry blueprints only."},"maxMultiplier":{"type":"integer","description":"Maximum job multiplier in this facility. Digital chemistry recipes only."}}},"BlueprintItem":{"type":"object","description":"One input or output line of a blueprint. For a digital chemistry recipe it is a slot: an input can name a type, require traits, or both.","required":["id","quantity"],"properties":{"id":{"type":"integer","nullable":true,"description":"Item type id (joins to the item list `id`). Null for a trait-only input slot, which any stack meeting `traits` fills; see `candidates`. Outputs always have an id."},"name":{"type":"string","description":"Display name; for a trait-only slot, its trait names. May be empty."},"quantity":{"type":"number","description":"Units consumed or produced per run. Fractional for continuous-quantity items (see the item list's `quantityKind`). For an output with `yield`, the nominal amount."},"slot":{"type":"integer","description":"Input or output index within the recipe (`recipe` entries only)."},"traits":{"type":"array","description":"Traits (named property ranges) the stack in this input slot must meet.","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"integer"},"name":{"type":"string"}}}},"candidates":{"type":"array","description":"Trait-only slots: neotypes whose natural property ranges could meet `traits`. `guaranteed` means every variant of the type does; otherwise only some variants.","items":{"type":"object","required":["id","name","guaranteed"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"guaranteed":{"type":"boolean"}}}},"traitsGuaranteed":{"type":"boolean","description":"Typed slots with `traits`: whether every variant of the type meets them."},"yield":{"type":"string","description":"Outputs whose amount varies: `breakpointTable` means it scales with an input property (`yieldPropertyId`), e.g. ore quality."},"yieldPropertyId":{"type":"integer","description":"The input property a variable yield follows (see `v1/items/neotype_properties.json`)."}}},"CharacterBatchResult":{"type":"object","properties":{"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"The queried player address, echoed back."},"object_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the resolved character, or null when the address did not resolve to a character."},"character_address":{"type":"string","nullable":true,"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"The resolved character's own wallet address, or null when unresolved."},"name":{"type":"string","nullable":true,"description":"Character name, or null when unresolved."},"tribe_id":{"type":"number","nullable":true,"description":"Numeric tribe ID, or null when unresolved."},"tribe_name":{"type":"string","nullable":true,"description":"Human-readable tribe name. Null when the character has no tribe or the name could not be resolved."}},"required":["address","object_id","character_address","name","tribe_id","tribe_name"]},"CharacterResponse":{"type":"object","properties":{"object_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the character."},"item_id":{"type":"string","description":"Numeric in-game item ID of the character."},"tenant":{"type":"string","description":"Tenant (game world) the character belongs to."},"tribe_id":{"type":"number","nullable":true,"description":"Numeric tribe ID the character belongs to, or null when the character has no tribe."},"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Wallet address that owns the character."},"name":{"type":"string","description":"Character name.","example":"Rin Farshot"},"description":{"type":"string","description":"Character description."},"url":{"type":"string","description":"URL of the character's portrait image."},"checkpoint_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the character record was last updated. Unix epoch milliseconds."},"owner_cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the character's owner capability. Present only when the request sets `enrich=true`."},"assembly_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the character's assembly. Present only when the request sets `enrich=true`."}},"required":["object_id","item_id","tenant","tribe_id","address","name","description","url","checkpoint_at"]},"CharacterSummary":{"type":"object","properties":{"object_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the character."},"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Wallet address that owns the character."},"name":{"type":"string","description":"Character name.","example":"Rin Farshot"},"tribe_id":{"type":"number","nullable":true,"description":"Numeric tribe ID the character belongs to, or null when the character has no tribe."}},"required":["object_id","address","name","tribe_id"]},"ClaimPlanStepResponse":{"type":"object","properties":{"req_index":{"type":"integer"},"rule":{"type":"string","enum":["claim","unknown"]},"type_name":{"type":"string"},"is_identity_rule":{"type":"boolean"},"action":{"type":"string","enum":["satisfy_directly","satisfy","not_satisfiable","unknown"],"description":"The call for this requirement in the accept transaction: `satisfy_directly` = `agreement_roles::claim::satisfy_directly` (the address is listed); `satisfy` = `agreement_roles::claim::satisfy` with the OU `org_id`; `not_satisfiable` = the address cannot pass this gate; `unknown` = a rule this API cannot plan."},"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"For `satisfy`: the organization to pass.","nullable":true}},"required":["req_index","rule","type_name","is_identity_rule","action","org_id"]},"ClaimableHaulingAgreementPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ClaimableHaulingAgreementResponse"}},"next_cursor":{"type":"string","nullable":true},"evaluated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Wall-clock time each row’s `status` was derived at. Unix epoch milliseconds."}},"required":["data","next_cursor","evaluated_at"]},"ClaimableHaulingAgreementResponse":{"type":"object","properties":{"agreement_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the shared `HaulingAgreement<T>`."},"status":{"type":"string","enum":["open","lapsed","accepted","overdue","delivered","defaulted","forfeited","cancelled","closed_lapsed"],"description":"`open` (accepting until `accept_deadline_at`), `lapsed` (open past it), `accepted` (in progress), `overdue` (accepted, past `delivery_deadline_at`: anyone may default it), or how it ended: `delivered`, `defaulted`, `forfeited`, `cancelled`, `closed_lapsed`. `lapsed` and `overdue` are derived from the clock at `evaluated_at`."},"posted_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the agreement was drafted. Unix epoch milliseconds."},"accept_deadline_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Accepts must land before this time (exclusive; `accept_by_ms`). Unix epoch milliseconds."},"haul_duration_ms":{"type":"integer","format":"int64","description":"Time a hauler has to deliver after accepting, in milliseconds."},"lister":{"description":"Signer of the draft.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"beneficiary":{"description":"Paid on delivery or default. With `pays_cap_holder` this is the lister cap’s own address, and whoever holds the cap is paid.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"pays_cap_holder":{"type":"boolean","description":"Lister-side payouts go to the lister cap as `Proceeds`, collected by its holder."},"on_behalf_of":{"nullable":true,"description":"Who the agreement was posted for, when a wrapper set it.","allOf":[{"$ref":"#/components/schemas/HaulingEntityResponse"}]},"cargo":{"description":"Cargo escrowed by the lister, picked up by the hauler: one entry per item, in the agreement’s order. Empty for an agreement that only pays for delivery.","type":"array","items":{"$ref":"#/components/schemas/HaulingItemsResponse"}},"want":{"description":"Exactly what must be handed in to deliver: one entry per item. A delivery hands in one balance per entry, in this order.","type":"array","items":{"$ref":"#/components/schemas/HaulingItemsResponse"}},"currency":{"description":"Coin type `T` of reward, collateral and delivery fee.","allOf":[{"$ref":"#/components/schemas/CoinRef"}]},"reward":{"type":"string","nullable":false,"example":"2500000","description":"Escrowed reward, before any delivery fee. In the smallest unit of the currency (u64 decimal string)."},"collateral":{"type":"string","nullable":false,"example":"2500000","description":"Collateral a hauler locks on accept. In the smallest unit of the currency (u64 decimal string)."},"delivery_fee_bps":{"type":"integer","description":"Delivery fee on the reward, in basis points, fixed at posting."},"claim_gated":{"type":"boolean","description":"Accepting is limited to listed players, machine keys or organizations."},"has_other_rules":{"type":"boolean","description":"Accepting needs requirements this API cannot evaluate (including any identity rule)."},"hauler":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"hauler_identity":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingIdentityResponse"}]},"accepted_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When it was accepted. Unix epoch milliseconds.","nullable":true},"delivery_deadline_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Delivery must land before this time (exclusive; `deadline_ms`). After it, anyone may default the agreement. Unix epoch milliseconds.","nullable":true},"closed_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When it ended. Unix epoch milliseconds.","nullable":true},"closed_by":{"nullable":true,"description":"Sender of the transaction that ended it.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"hauler_reward":{"type":"string","nullable":true,"example":"2500000","description":"Delivered: the reward paid to the hauler, net of the fee. In the smallest unit of the currency (u64 decimal string)."},"delivery_fee":{"type":"string","nullable":true,"example":"2500000","description":"Delivered: the fee sent to the treasury. In the smallest unit of the currency (u64 decimal string)."},"refunded_to":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"`closed_lapsed`: where the escrow went (the lister, or the cap’s address when it pays the cap holder).","nullable":true},"cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The agreement’s `ListerCap`."},"posted_tx_digest":{"type":"string","description":"Digest of the posting transaction."},"accepted_tx_digest":{"type":"string","nullable":true},"closed_tx_digest":{"type":"string","nullable":true},"eligibility":{"type":"string","enum":["eligible","ineligible","unknown"],"description":"With a viewer address: `eligible`, `ineligible` (a claim gate lists nothing the address satisfies) or `unknown` (other rules apply)."},"viewer_roles":{"type":"array","description":"With a viewer address: the roles it plays.","items":{"type":"string","enum":["lister","cap_holder","beneficiary","hauler","claimed_via_org"]}},"claim_plan":{"$ref":"#/components/schemas/HaulingClaimPlanResponse"}},"required":["agreement_id","status","posted_at","accept_deadline_at","haul_duration_ms","lister","beneficiary","pays_cap_holder","on_behalf_of","cargo","want","currency","reward","collateral","delivery_fee_bps","claim_gated","has_other_rules","hauler","hauler_identity","accepted_at","delivery_deadline_at","closed_at","closed_by","hauler_reward","delivery_fee","refunded_to","cap_id","posted_tx_digest","accepted_tx_digest","closed_tx_digest","claim_plan"]},"CoinAccountTrade":{"type":"object","properties":{"event_digest":{"type":"string","description":"Unique fill event identifier (transaction digest + event index)."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID the trade happened on."},"order_id":{"type":"string","description":"The queried account's order ID involved in this trade (u128 decimal string)."},"counterparty_trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID of the counterparty."},"price":{"type":"string","description":"Execution price (raw integer, decimal string)."},"base_quantity":{"type":"string","description":"Base quantity exchanged (raw integer, decimal string)."},"quote_quantity":{"type":"string","description":"Quote quantity exchanged (raw integer, decimal string)."},"fee":{"type":"string","description":"Fee paid by the queried account on this trade, in raw quote units (decimal string)."},"role":{"type":"string","enum":["maker","taker"],"description":"The queried account's role: `maker` (resting order) or `taker` (incoming order)."},"side":{"type":"string","enum":["buy","sell"],"description":"The queried account's side of the trade: `buy` or `sell`."},"traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the trade executed on-chain. Unix epoch milliseconds."},"base_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified base coin type."},"base_asset_symbol":{"type":"string","nullable":true,"example":"AWAR","description":"Ticker symbol of the base coin, or `null` if unknown."},"base_asset_name":{"type":"string","nullable":true,"description":"Display name of the base coin, or `null` if unknown."},"base_asset_decimals":{"type":"integer","example":9,"description":"Decimal places of the base coin."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified quote coin type."},"quote_asset_symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol of the quote coin, or `null` if unknown."},"quote_asset_name":{"type":"string","nullable":true,"description":"Display name of the quote coin, or `null` if unknown."},"quote_asset_decimals":{"type":"integer","example":6,"description":"Decimal places of the quote coin."}},"required":["event_digest","pool_id","order_id","counterparty_trading_account_id","price","base_quantity","quote_quantity","fee","role","side","traded_at","base_asset_id","base_asset_symbol","base_asset_name","base_asset_decimals","quote_asset_id","quote_asset_symbol","quote_asset_name","quote_asset_decimals"]},"CoinAccountTradePage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/CoinAccountTrade"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"CoinMarket":{"type":"object","properties":{"base_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified base coin type."},"base_asset_symbol":{"type":"string","nullable":true,"example":"AWAR","description":"Ticker symbol of the base coin, or `null` if unknown."},"base_asset_name":{"type":"string","nullable":true,"description":"Display name of the base coin, or `null` if unknown."},"base_asset_decimals":{"type":"integer","example":9,"description":"Decimal places of the base coin."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified quote coin type."},"quote_asset_symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol of the quote coin, or `null` if unknown."},"quote_asset_name":{"type":"string","nullable":true,"description":"Display name of the quote coin, or `null` if unknown."},"quote_asset_decimals":{"type":"integer","example":6,"description":"Decimal places of the quote coin."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID."},"pool_name":{"type":"string","nullable":true,"example":"AWAR/CRED","description":"Human-readable pool name, or `null` if unset."},"fee":{"type":"string","nullable":true,"example":"20000000","description":"Current pool taker fee — the entry tier of the pool's fee class, or its creation-time rate when no class schedule is indexed — scaled by 1e9 (e.g. `20000000` = 2%), or `null` if unknown."},"fee_rate":{"type":"number","nullable":true,"example":0.02,"description":"Decimal form of the pool taker fee (`fee` / 1e9)."},"maker_fee":{"type":"string","nullable":true,"example":"18000000","description":"Current pool maker fee — same fee-class tier and scaling as `fee` — charged when a resting order fills, or `null` if unknown."},"maker_fee_rate":{"type":"number","nullable":true,"example":0.018,"description":"Decimal form of the pool maker fee (`maker_fee` / 1e9)."},"best_bid":{"type":"string","nullable":true,"description":"Highest resting bid price (raw integer, decimal string, scaled by `price_scaling`), or `null` when no bids rest."},"best_ask":{"type":"string","nullable":true,"description":"Lowest resting ask price (raw integer, decimal string, scaled by `price_scaling`), or `null` when no asks rest."},"open_orders":{"type":"integer","description":"Number of orders currently resting on the book."},"traders":{"type":"integer","description":"Distinct accounts with orders resting on the book."},"last_price":{"type":"string","nullable":true,"description":"Price of the most recent trade (raw integer, decimal string), or `null` if the market has never traded."},"last_traded_at":{"type":"integer","format":"int64","nullable":true,"example":1755043200000,"description":"When the most recent trade executed. Unix epoch milliseconds; `null` if the market has never traded."}},"required":["base_asset_id","base_asset_symbol","base_asset_name","base_asset_decimals","quote_asset_id","quote_asset_symbol","quote_asset_name","quote_asset_decimals","pool_id","pool_name","fee","fee_rate","maker_fee","maker_fee_rate","best_bid","best_ask","open_orders","traders","last_price","last_traded_at"]},"CoinMarketOpenOrder":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID this order rests on."},"order_id":{"type":"string","example":"170141211044891661156su39299822993408","description":"Order ID, unique within its pool (u128, serialized as a decimal string)."},"encoded_order_id":{"type":"string","description":"Book-encoded order ID (u128 decimal string) when the venue exposes one; omitted otherwise."},"side":{"type":"string","enum":["buy","sell"],"description":"`buy` for bids, `sell` for asks."},"price":{"type":"string","description":"Limit price as a raw on-chain integer (decimal string), in quote units per base unit before decimal scaling."},"remaining_quantity":{"type":"string","description":"Base quantity still open on the book (raw integer, decimal string)."},"filled_quantity":{"type":"string","description":"Base quantity already filled (raw integer, decimal string)."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order expires. Unix epoch milliseconds."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order state last changed on-chain. Unix epoch milliseconds."},"base_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified base coin type."},"base_asset_symbol":{"type":"string","nullable":true,"example":"AWAR","description":"Ticker symbol of the base coin, or `null` if unknown."},"base_asset_name":{"type":"string","nullable":true,"description":"Display name of the base coin, or `null` if unknown."},"base_asset_decimals":{"type":"integer","example":9,"description":"Decimal places of the base coin."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified quote coin type."},"quote_asset_symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol of the quote coin, or `null` if unknown."},"quote_asset_name":{"type":"string","nullable":true,"description":"Display name of the quote coin, or `null` if unknown."},"quote_asset_decimals":{"type":"integer","example":6,"description":"Decimal places of the quote coin."},"trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account that placed the order."},"trader_address":{"type":"string","nullable":true,"description":"Address that owns the order's trading account (for an organization, its custody), or `null` when unresolvable."},"trader_name":{"type":"string","nullable":true,"description":"Character name, else organization name, of the order's owner; `null` when unresolvable."}},"required":["pool_id","order_id","side","price","remaining_quantity","filled_quantity","expires_at","updated_at","base_asset_id","base_asset_symbol","base_asset_name","base_asset_decimals","quote_asset_id","quote_asset_symbol","quote_asset_name","quote_asset_decimals","trading_account_id","trader_address","trader_name"]},"CoinMarketOpenOrderPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/CoinMarketOpenOrder"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"CoinMarketPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/CoinMarket"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"CoinMarketResponse":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Representative (most-active) pool ID."},"quote_asset_id":{"type":"string","nullable":true},"quote_asset_symbol":{"type":"string","nullable":true},"quote_asset_decimals":{"type":"number","nullable":true},"best_bid":{"type":"string","nullable":true,"description":"Raw best bid (1e9-scaled)."},"best_ask":{"type":"string","nullable":true,"description":"Raw best ask (1e9-scaled)."},"last_price":{"type":"string","nullable":true,"description":"Raw last fill price (1e9-scaled)."},"last_traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Time of the last fill on the pool. Unix epoch milliseconds.","nullable":true},"open_orders":{"type":"number","description":"Open resting orders on the pool."},"traders":{"type":"number","description":"Distinct resting traders."},"price_change_24h":{"type":"number","nullable":true,"description":"24h price change as a fraction (0.0372 = +3.72%)."}},"required":["pool_id","quote_asset_id","quote_asset_symbol","quote_asset_decimals","best_bid","best_ask","last_price","last_traded_at","open_orders","traders","price_change_24h"]},"CoinMintPolicy":{"type":"object","properties":{"kind":{"type":"string","enum":["fixed","mintable"],"description":"`fixed`: no more minting — the TreasuryCap is consumed or burn-only, per the chain or, when the chain reports no supply state (e.g. a cap wrapped in the package's own object), per the token registry's declared `supply_policy`. Burn-only coins report `fixed` too; their total supply can still shrink. `mintable`: cap still live."},"capped":{"type":"boolean","nullable":true,"description":"For `mintable` only: whether a hard cap exists."}},"required":["kind"]},"CoinOpenOrder":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID this order rests on."},"order_id":{"type":"string","example":"170141211044891661156su39299822993408","description":"Order ID, unique within its pool (u128, serialized as a decimal string)."},"encoded_order_id":{"type":"string","description":"Book-encoded order ID (u128 decimal string) when the venue exposes one; omitted otherwise."},"side":{"type":"string","enum":["buy","sell"],"description":"`buy` for bids, `sell` for asks."},"price":{"type":"string","description":"Limit price as a raw on-chain integer (decimal string), in quote units per base unit before decimal scaling."},"remaining_quantity":{"type":"string","description":"Base quantity still open on the book (raw integer, decimal string)."},"filled_quantity":{"type":"string","description":"Base quantity already filled (raw integer, decimal string)."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order expires. Unix epoch milliseconds."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order state last changed on-chain. Unix epoch milliseconds."},"base_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified base coin type."},"base_asset_symbol":{"type":"string","nullable":true,"example":"AWAR","description":"Ticker symbol of the base coin, or `null` if unknown."},"base_asset_name":{"type":"string","nullable":true,"description":"Display name of the base coin, or `null` if unknown."},"base_asset_decimals":{"type":"integer","example":9,"description":"Decimal places of the base coin."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified quote coin type."},"quote_asset_symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol of the quote coin, or `null` if unknown."},"quote_asset_name":{"type":"string","nullable":true,"description":"Display name of the quote coin, or `null` if unknown."},"quote_asset_decimals":{"type":"integer","example":6,"description":"Decimal places of the quote coin."}},"required":["pool_id","order_id","side","price","remaining_quantity","filled_quantity","expires_at","updated_at","base_asset_id","base_asset_symbol","base_asset_name","base_asset_decimals","quote_asset_id","quote_asset_symbol","quote_asset_name","quote_asset_decimals"]},"CoinOpenOrderPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/CoinOpenOrder"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"CoinOrderAsset":{"type":"object","properties":{"type_string":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified Move coin type (`<address>::<module>::<STRUCT>`)."},"symbol":{"type":"string","nullable":true,"description":"Ticker symbol, or `null` if unknown."},"name":{"type":"string","nullable":true,"description":"Display name, or `null` if unknown."},"decimals":{"type":"integer","description":"Decimal places of the coin."}},"required":["type_string","symbol","name","decimals"]},"CoinOrderDetail":{"type":"object","properties":{"order_id":{"type":"string","description":"Order ID (unsigned integer, decimal string), unique within its pool."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID the order belongs to."},"pool_name":{"type":"string","nullable":true,"example":"AWAR/CRED","description":"Human-readable pool name, or `null` if unset."},"side":{"type":"string","enum":["buy","sell"],"description":"`buy` for bids, `sell` for asks."},"order_type":{"type":"string","enum":["market_buy","market_sell","limit_buy","limit_sell"],"nullable":true,"description":"The order's type and direction. `null` when order metadata is unavailable."},"status":{"type":"string","enum":["open","filled","cancelled"],"description":"Current lifecycle status of the order."},"price":{"type":"string","description":"Limit price as a raw on-chain integer (decimal string, scaled by the pool `price_scaling`)."},"quantity":{"type":"string","description":"Total original base quantity (remaining + filled; raw integer, decimal string)."},"remaining_quantity":{"type":"string","description":"Base quantity still open (raw integer, decimal string)."},"filled_quantity":{"type":"string","description":"Base quantity already filled (raw integer, decimal string)."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order expires. Unix epoch milliseconds."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order state last changed on-chain. Unix epoch milliseconds."},"trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID that placed the order."},"base_asset":{"description":"Base coin of the market.","allOf":[{"$ref":"#/components/schemas/CoinOrderAsset"}]},"quote_asset":{"description":"Quote coin of the market.","allOf":[{"$ref":"#/components/schemas/CoinOrderAsset"}]},"fills":{"description":"Fill events for this order, oldest first. Empty for open orders with no fills.","type":"array","items":{"$ref":"#/components/schemas/CoinOrderDetailFill"}}},"required":["order_id","pool_id","pool_name","side","order_type","status","price","quantity","remaining_quantity","filled_quantity","expires_at","updated_at","trading_account_id","base_asset","quote_asset","fills"]},"CoinOrderDetailFill":{"type":"object","properties":{"event_digest":{"type":"string","description":"Unique fill event identifier (transaction digest + event index)."},"price":{"type":"string","description":"Execution price (raw integer, decimal string)."},"base_quantity":{"type":"string","description":"Base quantity exchanged (raw integer, decimal string)."},"quote_quantity":{"type":"string","description":"Quote quantity exchanged (raw integer, decimal string)."},"fee":{"type":"string","description":"Fee paid by this order on the fill, in raw quote units (decimal string)."},"role":{"type":"string","enum":["maker","taker"],"description":"This order's role in the fill: `maker` or `taker`."},"counterparty_trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID of the counterparty."},"traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the fill executed on-chain. Unix epoch milliseconds."}},"required":["event_digest","price","base_quantity","quote_quantity","fee","role","counterparty_trading_account_id","traded_at"]},"CoinPoolMetadata":{"type":"object","properties":{"base_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified base coin type."},"base_asset_symbol":{"type":"string","nullable":true,"example":"AWAR","description":"Ticker symbol of the base coin, or `null` if unknown."},"base_asset_name":{"type":"string","nullable":true,"description":"Display name of the base coin, or `null` if unknown."},"base_asset_decimals":{"type":"integer","example":9,"description":"Decimal places of the base coin."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified quote coin type."},"quote_asset_symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol of the quote coin, or `null` if unknown."},"quote_asset_name":{"type":"string","nullable":true,"description":"Display name of the quote coin, or `null` if unknown."},"quote_asset_decimals":{"type":"integer","example":6,"description":"Decimal places of the quote coin."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID."},"pool_name":{"type":"string","nullable":true,"example":"AWAR/CRED","description":"Human-readable pool name, or `null` if unset."},"min_size":{"type":"string","nullable":true,"description":"Minimum order size in raw base units (decimal string), or `null` if unknown."},"lot_size":{"type":"string","nullable":true,"description":"Order quantities must be a multiple of this raw base amount (decimal string), or `null` if unknown."},"tick_size":{"type":"string","nullable":true,"description":"Prices must be a multiple of this raw increment (decimal string), or `null` if unknown."},"fee":{"type":"string","nullable":true,"example":"20000000","description":"Current pool taker fee — the entry tier of the pool's fee class, or its creation-time rate when no class schedule is indexed — scaled by 1e9 (e.g. `20000000` = 2%), or `null` if unknown."},"fee_rate":{"type":"number","nullable":true,"example":0.02,"description":"Decimal form of the pool taker fee (`fee` / 1e9). Size taker buys as notional × (1 + fee_rate)."},"maker_fee":{"type":"string","nullable":true,"example":"18000000","description":"Current pool maker fee — same fee-class tier and scaling as `fee` — charged when a resting order fills, or `null` if unknown."},"maker_fee_rate":{"type":"number","nullable":true,"example":0.018,"description":"Decimal form of the pool maker fee (`maker_fee` / 1e9)."},"price_scaling":{"type":"string","example":"1000000000","description":"Divisor for raw prices: quote_raw = base_raw × price / price_scaling. Always 1e9 for coin pools."}},"required":["base_asset_id","base_asset_symbol","base_asset_name","base_asset_decimals","quote_asset_id","quote_asset_symbol","quote_asset_name","quote_asset_decimals","pool_id","pool_name","min_size","lot_size","tick_size","fee","fee_rate","maker_fee","maker_fee_rate","price_scaling"]},"CoinPoolResolve":{"type":"object","properties":{"pool_id":{"type":"string","nullable":true,"description":"Resolved pool (order book) object ID for the pair, or `null` when no pool exists for it yet."}},"required":["pool_id"]},"CoinRef":{"type":"object","properties":{"coin_type":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified Move coin type (`<address>::<module>::<STRUCT>`)."},"symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol from the coin metadata, or null if unknown."},"name":{"type":"string","nullable":true,"example":"Cred","description":"Human-readable coin name, or null if unknown."},"decimals":{"type":"integer","nullable":true,"example":9,"description":"Decimal places of the smallest on-chain unit (raw amounts are divided by 10^decimals for display), or null if unknown."}},"required":["coin_type","symbol","name","decimals"]},"CoinResponse":{"type":"object","properties":{"coin_type":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified Move coin type (`<address>::<module>::<STRUCT>`)."},"symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol from the coin metadata, or null if unknown."},"name":{"type":"string","nullable":true,"example":"Cred","description":"Human-readable coin name, or null if unknown."},"decimals":{"type":"integer","nullable":true,"example":9,"description":"Decimal places of the smallest on-chain unit (raw amounts are divided by 10^decimals for display), or null if unknown."},"icon_url":{"type":"string","nullable":true},"total_supply":{"type":"number","nullable":true,"description":"Total minted supply (TreasuryCap) in whole coins."},"circulating":{"type":"number","nullable":true,"description":"Circulating supply in whole coins: total minus known treasury holdings. Equals total_supply when the registry lists none."},"treasury_holdings":{"nullable":true,"description":"Known non-circulating holdings excluded from circulating.","type":"array","items":{"$ref":"#/components/schemas/CoinTreasuryHolding"}},"max_supply":{"type":"number","nullable":true,"description":"Hard-cap supply in whole coins. Null when uncapped."},"mint_policy":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CoinMintPolicy"}]},"immutable":{"type":"boolean","nullable":true,"description":"Metadata cap deleted → coin metadata can no longer change."},"upgradeable":{"type":"boolean","nullable":true,"description":"The package enforcing the supply policy can still be upgraded (its UpgradeCap is live), so an upgrade could change it. From the token registry's `supply_policy`; null when the registry doesn't say."},"verified":{"type":"boolean","nullable":true,"description":"Supply facts were read from chain (a TreasuryCap was found)."},"market":{"nullable":true,"description":"Appended market data, or null when the coin has no pool.","allOf":[{"$ref":"#/components/schemas/CoinMarketResponse"}]}},"required":["coin_type","symbol","name","decimals","icon_url","total_supply","circulating","treasury_holdings","max_supply","mint_policy","immutable","upgradeable","verified","market"]},"CoinTrade":{"type":"object","properties":{"price":{"type":"string","description":"Execution price in human-readable quote units (decimal string, already adjusted for quote decimals)."},"quantity":{"type":"string","description":"Base quantity exchanged, human-readable (decimal string)."},"side":{"type":"string","enum":["buy","sell"],"description":"Taker's side: `buy` when the incoming order was a bid, `sell` otherwise."},"order_type":{"type":"string","enum":["market_buy","market_sell","limit_buy","limit_sell"],"nullable":true,"description":"The taker order's type and direction. `null` when order metadata is unavailable for this trade."},"traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the trade executed on-chain. Unix epoch milliseconds."},"tx_digest":{"type":"string","description":"Digest of the transaction that produced this trade."},"fee_rate_bps":{"type":"integer","example":5,"description":"Effective taker fee rate of this trade, in basis points, derived from the fill (taker fee / quote quantity × 10000, rounded)."},"fee_amount":{"type":"string","description":"Total fee charged on this trade, in human-readable quote units (decimal string)."},"base_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified base coin type."},"base_asset_symbol":{"type":"string","nullable":true,"example":"AWAR","description":"Ticker symbol of the base coin, or `null` if unknown."},"base_asset_name":{"type":"string","nullable":true,"description":"Display name of the base coin, or `null` if unknown."},"base_asset_decimals":{"type":"integer","example":9,"description":"Decimal places of the base coin."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Fully-qualified quote coin type."},"quote_asset_symbol":{"type":"string","nullable":true,"example":"CRED","description":"Ticker symbol of the quote coin, or `null` if unknown."},"quote_asset_name":{"type":"string","nullable":true,"description":"Display name of the quote coin, or `null` if unknown."},"quote_asset_decimals":{"type":"integer","example":6,"description":"Decimal places of the quote coin."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID the trade happened on."},"price_raw":{"type":"string","description":"Raw on-chain execution price (decimal string, scaled by the pool `price_scaling`)."},"quantity_raw":{"type":"string","description":"Raw on-chain base quantity exchanged (decimal string, unscaled base units)."}},"required":["price","quantity","side","order_type","traded_at","tx_digest","fee_rate_bps","fee_amount","base_asset_id","base_asset_symbol","base_asset_name","base_asset_decimals","quote_asset_id","quote_asset_symbol","quote_asset_name","quote_asset_decimals","pool_id","price_raw","quantity_raw"]},"CoinTradePage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/CoinTrade"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"CoinTreasuryHolding":{"type":"object","properties":{"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Holder address, or the object ID for an object holder."},"holder":{"type":"string","enum":["address","object","dynamic_fields"],"description":"`address`: an account's balance; `object`: a Balance stored inside the object at `address` (e.g. a treasury object); `dynamic_fields`: balances in the object's dynamic fields (e.g. a Bag of balances)."},"label":{"type":"string","nullable":true,"description":"Human-readable label from the registry, or null."},"type":{"type":"string","description":"Holding kind (e.g. treasury/team/vesting/unactivated)."},"amount":{"type":"number","description":"Balance held at this address or object, in whole coins."}},"required":["address","holder","label","type","amount"]},"CoordinateSearchResponse":{"type":"object","description":"Result of a radius search around a point in space.","required":["location","radius_ly","count","systems"],"properties":{"count":{"type":"integer","description":"Number of systems returned (after `limit` is applied).","example":4,"minimum":0},"location":{"$ref":"#/components/schemas/Coordinates","description":"The point the search ran from, echoed back in meters."},"radius_ly":{"type":"string","description":"Radius the search used, in light years (decimal string).","example":"100"},"systems":{"type":"array","items":{"$ref":"#/components/schemas/NearbySystem"},"description":"Systems within the radius, nearest first."}}},"Coordinates":{"type":"object","description":"A point in the star map, in meters from the galactic origin.\n\nCoordinates are decimal strings, not JSON numbers: the values exceed 2^53\nand would lose precision in any IEEE-754 double (including every JavaScript\nclient). The same representation is used by the market-data API's hub\nlocations.","required":["x","y","z"],"properties":{"x":{"type":"string","description":"X coordinate in meters.","example":"-6523761465801880000"},"y":{"type":"string","description":"Y coordinate in meters.","example":"-253634337518181280"},"z":{"type":"string","description":"Z coordinate in meters.","example":"4013616888017946600"}}},"CurrencyAmountResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CoinRef"},"amount":{"type":"string","nullable":false,"example":"2500000","description":"Total. In the smallest unit of the currency (u64 decimal string)."}},"required":["currency","amount"]},"DiscoveryOrder":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Market (pool) the order sits on."},"order_id":{"type":"string","description":"Order ID within the market, as a string."},"price":{"type":"string","description":"Limit price. Raw integer amount as a string."},"is_bid":{"type":"boolean","description":"True for a buy order (bid), false for a sell order (ask)."},"trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account that placed the order."},"remaining_quantity":{"type":"string","description":"Unfilled quantity remaining. Raw integer as a string."},"filled_quantity":{"type":"string","description":"Quantity already filled. Raw integer as a string."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order expires, in Unix epoch milliseconds. `null` for good-til-cancelled orders (no expiry).","nullable":true},"last_activity_at":{"type":"integer","format":"int64","example":1755043200000,"description":"The order's last activity (place / modify / partial fill) — the feed's sort key. Unix epoch milliseconds."},"asset_id":{"type":"string","example":"70810","description":"Numeric item type ID, as a string."},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Item collection of the hub's vault the market trades against."},"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub hosting the order; null when the market is not linked to a hub.","nullable":true},"hub_name":{"type":"string","nullable":true,"description":"Hub display name (last published metadata); null when unavailable."},"hub_state":{"type":"string","nullable":true,"example":"online","description":"Hub power state: `online` or `offline`; null when unavailable."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Quote currency of the market.","nullable":true},"quote_asset_symbol":{"type":"string","nullable":true,"example":"CRED","description":"Symbol of the quote currency, when known."},"quote_asset_decimals":{"type":"integer","nullable":true,"example":9,"description":"Decimal places of the quote currency (0 when unknown)."},"trader_address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Wallet that owns the trading account; null when unresolved.","nullable":true},"trader_name":{"type":"string","nullable":true,"description":"Character name, else organization name, of the order's owner; null when unresolvable."}},"required":["pool_id","order_id","price","is_bid","trading_account_id","remaining_quantity","filled_quantity","expires_at","last_activity_at","asset_id","collection_id","hub_id","hub_name","hub_state","quote_asset_id","quote_asset_symbol","quote_asset_decimals","trader_address","trader_name"]},"DiscoveryOrderPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/DiscoveryOrder"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."},"prev_cursor":{"type":"string","nullable":true,"description":"Opaque cursor pointing at activity newer than this page. Pass it back as the `cursor` query parameter to poll for new orders; `null` when the page is empty."}},"required":["data","next_cursor","prev_cursor"]},"DisplayPrice":{"type":"object","properties":{"item_id":{"type":"string","example":"77800","description":"Requested numeric item (asset type) ID, echoed back."},"storage_unit_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Requested trade hub in pair mode; null in item-only mode.","nullable":true},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"MultiCoin vault collection ID; null when no pool matched.","nullable":true},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (orderbook) object ID; null in item-only mode or when no pool matched.","nullable":true},"quote_currency":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Quote currency the price is denominated in; null when unresolved. Usually CRED but NOT guaranteed — check before treating `price` as CRED.","nullable":true},"quote_decimals":{"type":"integer","nullable":true,"example":9,"description":"Quote currency decimals used to scale `price`; null when unresolved."},"tier":{"type":"string","enum":["traded","item","book","estimated","unknown"],"description":"Waterfall tier the price came from: `traded` (recent fills at this pool), `item` (vault-independent item price), `book` (resting book mid), `estimated` (not directly traded — price derived from recipe component costs), or `unknown` (no price anywhere — `price` is null)."},"price":{"type":"string","nullable":true,"example":"12.5","description":"Human-readable market price in quote units, with no trading fee applied (scaled by `quote_decimals`). Null = unknown; do not prefill."},"price_raw":{"type":"string","nullable":true,"example":"12500000000","description":"Raw market price, with no trading fee applied (integer quote units per item). Null = unknown."},"best_bid":{"type":"string","nullable":true,"description":"Human-readable best bid, or null (item-only mode / one-sided / no book)."},"best_ask":{"type":"string","nullable":true,"description":"Human-readable best ask, or null."},"fills_here":{"type":"integer","description":"Recent fills at THIS pool that fed the `traded` tier."},"fills_this_item":{"type":"integer","description":"Recent fills for this item across all vaults that fed the `item` tier."}},"required":["item_id","storage_unit_id","collection_id","pool_id","quote_currency","quote_decimals","tier","price","price_raw","best_bid","best_ask","fills_here","fills_this_item"]},"DisplayPricesResponse":{"type":"object","properties":{"prices":{"description":"One entry per requested item (or per requested (item, vault) pair), in request order.","type":"array","items":{"$ref":"#/components/schemas/DisplayPrice"}}},"required":["prices"]},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string","example":"not_found","description":"Machine-readable error code (snake_case). Stable across releases — branch on this field, never on `message`. Common codes: `invalid_request`, `unauthorized`, `not_found`, `rate_limited`, `internal`."},"message":{"type":"string","example":"character not found","description":"Human-readable explanation of the failure. Wording may change at any time; do not parse."}},"required":["error","message"]},"FeeScheduleDto":{"type":"object","properties":{"tiers":{"description":"Tiers in ascending min_turnover; an account sits in the highest tier whose min_turnover is at most its turnover.","type":"array","items":{"$ref":"#/components/schemas/FeeTierDto"}}},"required":["tiers"]},"FeeTierDto":{"type":"object","properties":{"min_turnover":{"type":"string","example":"20000000000","description":"Inclusive lower bound on trailing fee turnover for this tier, raw quote units (u128 as a decimal string). \"0\" for tier 0."},"taker_fee":{"type":"string","example":"25000000","description":"Taker fee at this tier, scaled by 1e9 (u64 string)."},"maker_fee":{"type":"string","example":"18000000","description":"Maker fee at this tier, scaled by 1e9 (u64 string)."}},"required":["min_turnover","taker_fee","maker_fee"]},"Fill":{"type":"object","properties":{"event_digest":{"type":"string","description":"Unique fill event identifier (transaction digest + event index)."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID the fill happened on."},"order_id":{"type":"string","description":"The queried account's order ID involved in this fill (u128 decimal string)."},"counterparty_trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID of the counterparty."},"price":{"type":"string","description":"Execution price (raw integer, decimal string)."},"base_quantity":{"type":"string","description":"Base quantity exchanged (raw integer, decimal string)."},"quote_quantity":{"type":"string","description":"Quote quantity exchanged (raw integer, decimal string)."},"fee":{"type":"string","description":"Fee paid by the queried account on this fill, in raw quote units (decimal string)."},"role":{"type":"string","enum":["maker","taker"],"description":"The queried account's role: `maker` (resting order) or `taker` (incoming order)."},"taker_is_bid":{"type":"boolean","description":"True when the taker side of this fill was buying (the incoming order was a bid)."},"filled_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the fill executed on-chain. Unix epoch milliseconds."}},"required":["event_digest","pool_id","order_id","counterparty_trading_account_id","price","base_quantity","quote_quantity","fee","role","taker_is_bid","filled_at"]},"FillDetail":{"type":"object","properties":{"event_digest":{"type":"string","description":"Unique fill event identifier (transaction digest + event index)."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID the fill happened on."},"asset_id":{"type":"string","nullable":true,"example":"77800","description":"Item type (asset) ID traded by the pool, or `null` if not yet indexed."},"storage_unit_id":{"type":"string","nullable":true,"description":"Storage unit (trade hub) object ID backing the market, or `null` if not yet indexed."},"price":{"type":"string","description":"Execution price (raw integer, decimal string)."},"base_quantity":{"type":"string","description":"Base quantity exchanged (raw integer, decimal string)."},"quote_quantity":{"type":"string","description":"Quote quantity exchanged (raw integer, decimal string)."},"maker_fee":{"type":"string","description":"Fee charged to the maker, in raw quote units (decimal string)."},"taker_fee":{"type":"string","description":"Fee charged to the taker, in raw quote units (decimal string)."},"taker_is_bid":{"type":"boolean","description":"True when the taker side of this fill was buying (the incoming order was a bid)."},"maker_trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID of the maker."},"taker_trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID of the taker."},"filled_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the fill executed on-chain. Unix epoch milliseconds."}},"required":["event_digest","pool_id","asset_id","storage_unit_id","price","base_quantity","quote_quantity","maker_fee","taker_fee","taker_is_bid","maker_trading_account_id","taker_trading_account_id","filled_at"]},"FillPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/Fill"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"HaulerRecordResponse":{"type":"object","properties":{"accepted":{"type":"integer"},"in_progress":{"type":"integer","description":"Accepted, before the deadline."},"overdue":{"type":"integer","description":"Accepted, past the deadline."},"delivered":{"type":"integer"},"defaulted":{"type":"integer"},"forfeited":{"type":"integer"},"completion_rate":{"type":"number","nullable":true,"example":0.95,"description":"delivered / (delivered + defaulted + forfeited); null before any job finished."},"net_reward":{"description":"Rewards received, net of delivery fees, per currency.","type":"array","items":{"$ref":"#/components/schemas/CurrencyAmountResponse"}},"collateral_lost":{"description":"Collateral lost to defaults and forfeits, per currency.","type":"array","items":{"$ref":"#/components/schemas/CurrencyAmountResponse"}}},"required":["accepted","in_progress","overdue","delivered","defaulted","forfeited","completion_rate","net_reward","collateral_lost"]},"HaulingActionPage":{"type":"object","properties":{"data":{"description":"Deliveries soonest-due first, then the rest newest first.","type":"array","items":{"$ref":"#/components/schemas/HaulingActionResponse"}},"next_cursor":{"type":"string","nullable":true,"description":"Always null: the list is returned whole (up to 200 items)."},"evaluated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Wall-clock time the actions were derived at. Unix epoch milliseconds."}},"required":["data","next_cursor","evaluated_at"]},"HaulingActionResponse":{"type":"object","properties":{"action":{"type":"string","enum":["collect_proceeds","delete_cap","cancel_lapsed","deliver","default"],"description":"`collect_proceeds`: collect what the ended agreement sent your cap; `delete_cap`: reclaim a spent cap’s storage; `cancel_lapsed`: cancel your listing nobody accepted in time and take back the escrow; `deliver`: hand in the wanted items before the deadline; `default`: claim reward and collateral from an overdue job you are owed."},"move_call":{"type":"string","enum":["hauling::collect","hauling::delete_cap","hauling::cancel","hauling::deliver","hauling::default"],"description":"Function to call in the hauling_agreements package, with `type_argument` as `T` (none for `delete_cap`)."},"type_argument":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"`T` of `HaulingAgreement<T>`."},"agreement_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID (0x-prefixed, 64 hex characters)."},"cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Your `ListerCap`.","nullable":true},"proceeds_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"`collect_proceeds`: the `Proceeds<T>` to receive.","nullable":true},"due_at":{"type":"integer","format":"int64","example":1755043200000,"description":"`deliver`: the delivery deadline (exclusive). Unix epoch milliseconds.","nullable":true},"agreement":{"$ref":"#/components/schemas/HaulingAgreementResponse"}},"required":["action","move_call","type_argument","agreement_id","cap_id","proceeds_id","due_at","agreement"]},"HaulingAgreementDetailResponse":{"type":"object","properties":{"agreement_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the shared `HaulingAgreement<T>`."},"status":{"type":"string","enum":["open","lapsed","accepted","overdue","delivered","defaulted","forfeited","cancelled","closed_lapsed"],"description":"`open` (accepting until `accept_deadline_at`), `lapsed` (open past it), `accepted` (in progress), `overdue` (accepted, past `delivery_deadline_at`: anyone may default it), or how it ended: `delivered`, `defaulted`, `forfeited`, `cancelled`, `closed_lapsed`. `lapsed` and `overdue` are derived from the clock at `evaluated_at`."},"posted_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the agreement was drafted. Unix epoch milliseconds."},"accept_deadline_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Accepts must land before this time (exclusive; `accept_by_ms`). Unix epoch milliseconds."},"haul_duration_ms":{"type":"integer","format":"int64","description":"Time a hauler has to deliver after accepting, in milliseconds."},"lister":{"description":"Signer of the draft.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"beneficiary":{"description":"Paid on delivery or default. With `pays_cap_holder` this is the lister cap’s own address, and whoever holds the cap is paid.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"pays_cap_holder":{"type":"boolean","description":"Lister-side payouts go to the lister cap as `Proceeds`, collected by its holder."},"on_behalf_of":{"nullable":true,"description":"Who the agreement was posted for, when a wrapper set it.","allOf":[{"$ref":"#/components/schemas/HaulingEntityResponse"}]},"cargo":{"description":"Cargo escrowed by the lister, picked up by the hauler: one entry per item, in the agreement’s order. Empty for an agreement that only pays for delivery.","type":"array","items":{"$ref":"#/components/schemas/HaulingItemsResponse"}},"want":{"description":"Exactly what must be handed in to deliver: one entry per item. A delivery hands in one balance per entry, in this order.","type":"array","items":{"$ref":"#/components/schemas/HaulingItemsResponse"}},"currency":{"description":"Coin type `T` of reward, collateral and delivery fee.","allOf":[{"$ref":"#/components/schemas/CoinRef"}]},"reward":{"type":"string","nullable":false,"example":"2500000","description":"Escrowed reward, before any delivery fee. In the smallest unit of the currency (u64 decimal string)."},"collateral":{"type":"string","nullable":false,"example":"2500000","description":"Collateral a hauler locks on accept. In the smallest unit of the currency (u64 decimal string)."},"delivery_fee_bps":{"type":"integer","description":"Delivery fee on the reward, in basis points, fixed at posting."},"claim_gated":{"type":"boolean","description":"Accepting is limited to listed players, machine keys or organizations."},"has_other_rules":{"type":"boolean","description":"Accepting needs requirements this API cannot evaluate (including any identity rule)."},"hauler":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"hauler_identity":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingIdentityResponse"}]},"accepted_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When it was accepted. Unix epoch milliseconds.","nullable":true},"delivery_deadline_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Delivery must land before this time (exclusive; `deadline_ms`). After it, anyone may default the agreement. Unix epoch milliseconds.","nullable":true},"closed_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When it ended. Unix epoch milliseconds.","nullable":true},"closed_by":{"nullable":true,"description":"Sender of the transaction that ended it.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"hauler_reward":{"type":"string","nullable":true,"example":"2500000","description":"Delivered: the reward paid to the hauler, net of the fee. In the smallest unit of the currency (u64 decimal string)."},"delivery_fee":{"type":"string","nullable":true,"example":"2500000","description":"Delivered: the fee sent to the treasury. In the smallest unit of the currency (u64 decimal string)."},"refunded_to":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"`closed_lapsed`: where the escrow went (the lister, or the cap’s address when it pays the cap holder).","nullable":true},"cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The agreement’s `ListerCap`."},"posted_tx_digest":{"type":"string","description":"Digest of the posting transaction."},"accepted_tx_digest":{"type":"string","nullable":true},"closed_tx_digest":{"type":"string","nullable":true},"eligibility":{"type":"string","enum":["eligible","ineligible","unknown"],"description":"With a viewer address: `eligible`, `ineligible` (a claim gate lists nothing the address satisfies) or `unknown` (other rules apply)."},"viewer_roles":{"type":"array","description":"With a viewer address: the roles it plays.","items":{"type":"string","enum":["lister","cap_holder","beneficiary","hauler","claimed_via_org"]}},"requirements":{"type":"array","items":{"$ref":"#/components/schemas/HaulingRequirementResponse"}},"observer":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingObserverResponse"}]},"cap":{"$ref":"#/components/schemas/HaulingCapResponse"},"proceeds":{"nullable":true,"description":"Set when the ending sent proceeds to the cap.","allOf":[{"$ref":"#/components/schemas/HaulingProceedsResponse"}]},"fees":{"$ref":"#/components/schemas/HaulingFeesResponse"},"claims":{"type":"array","items":{"$ref":"#/components/schemas/HaulingClaimResponse"}},"timeline":{"description":"Every indexed event, oldest first.","type":"array","items":{"$ref":"#/components/schemas/HaulingTimelineEventResponse"}},"viewer":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingViewerResponse"}]},"evaluated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Wall-clock time `status` was derived at. Unix epoch milliseconds."}},"required":["agreement_id","status","posted_at","accept_deadline_at","haul_duration_ms","lister","beneficiary","pays_cap_holder","on_behalf_of","cargo","want","currency","reward","collateral","delivery_fee_bps","claim_gated","has_other_rules","hauler","hauler_identity","accepted_at","delivery_deadline_at","closed_at","closed_by","hauler_reward","delivery_fee","refunded_to","cap_id","posted_tx_digest","accepted_tx_digest","closed_tx_digest","requirements","observer","cap","proceeds","fees","claims","timeline","viewer","evaluated_at"]},"HaulingAgreementPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/HaulingAgreementResponse"}},"next_cursor":{"type":"string","nullable":true,"example":"eyJrIjoi...","description":"Opaque cursor for the next page. Pass it back as `cursor`; `null` when there are no further results."},"evaluated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Wall-clock time each row’s `status` was derived at. Unix epoch milliseconds."}},"required":["data","next_cursor","evaluated_at"]},"HaulingAgreementResponse":{"type":"object","properties":{"agreement_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the shared `HaulingAgreement<T>`."},"status":{"type":"string","enum":["open","lapsed","accepted","overdue","delivered","defaulted","forfeited","cancelled","closed_lapsed"],"description":"`open` (accepting until `accept_deadline_at`), `lapsed` (open past it), `accepted` (in progress), `overdue` (accepted, past `delivery_deadline_at`: anyone may default it), or how it ended: `delivered`, `defaulted`, `forfeited`, `cancelled`, `closed_lapsed`. `lapsed` and `overdue` are derived from the clock at `evaluated_at`."},"posted_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the agreement was drafted. Unix epoch milliseconds."},"accept_deadline_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Accepts must land before this time (exclusive; `accept_by_ms`). Unix epoch milliseconds."},"haul_duration_ms":{"type":"integer","format":"int64","description":"Time a hauler has to deliver after accepting, in milliseconds."},"lister":{"description":"Signer of the draft.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"beneficiary":{"description":"Paid on delivery or default. With `pays_cap_holder` this is the lister cap’s own address, and whoever holds the cap is paid.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"pays_cap_holder":{"type":"boolean","description":"Lister-side payouts go to the lister cap as `Proceeds`, collected by its holder."},"on_behalf_of":{"nullable":true,"description":"Who the agreement was posted for, when a wrapper set it.","allOf":[{"$ref":"#/components/schemas/HaulingEntityResponse"}]},"cargo":{"description":"Cargo escrowed by the lister, picked up by the hauler: one entry per item, in the agreement’s order. Empty for an agreement that only pays for delivery.","type":"array","items":{"$ref":"#/components/schemas/HaulingItemsResponse"}},"want":{"description":"Exactly what must be handed in to deliver: one entry per item. A delivery hands in one balance per entry, in this order.","type":"array","items":{"$ref":"#/components/schemas/HaulingItemsResponse"}},"currency":{"description":"Coin type `T` of reward, collateral and delivery fee.","allOf":[{"$ref":"#/components/schemas/CoinRef"}]},"reward":{"type":"string","nullable":false,"example":"2500000","description":"Escrowed reward, before any delivery fee. In the smallest unit of the currency (u64 decimal string)."},"collateral":{"type":"string","nullable":false,"example":"2500000","description":"Collateral a hauler locks on accept. In the smallest unit of the currency (u64 decimal string)."},"delivery_fee_bps":{"type":"integer","description":"Delivery fee on the reward, in basis points, fixed at posting."},"claim_gated":{"type":"boolean","description":"Accepting is limited to listed players, machine keys or organizations."},"has_other_rules":{"type":"boolean","description":"Accepting needs requirements this API cannot evaluate (including any identity rule)."},"hauler":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"hauler_identity":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingIdentityResponse"}]},"accepted_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When it was accepted. Unix epoch milliseconds.","nullable":true},"delivery_deadline_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Delivery must land before this time (exclusive; `deadline_ms`). After it, anyone may default the agreement. Unix epoch milliseconds.","nullable":true},"closed_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When it ended. Unix epoch milliseconds.","nullable":true},"closed_by":{"nullable":true,"description":"Sender of the transaction that ended it.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"hauler_reward":{"type":"string","nullable":true,"example":"2500000","description":"Delivered: the reward paid to the hauler, net of the fee. In the smallest unit of the currency (u64 decimal string)."},"delivery_fee":{"type":"string","nullable":true,"example":"2500000","description":"Delivered: the fee sent to the treasury. In the smallest unit of the currency (u64 decimal string)."},"refunded_to":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"`closed_lapsed`: where the escrow went (the lister, or the cap’s address when it pays the cap holder).","nullable":true},"cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The agreement’s `ListerCap`."},"posted_tx_digest":{"type":"string","description":"Digest of the posting transaction."},"accepted_tx_digest":{"type":"string","nullable":true},"closed_tx_digest":{"type":"string","nullable":true},"eligibility":{"type":"string","enum":["eligible","ineligible","unknown"],"description":"With a viewer address: `eligible`, `ineligible` (a claim gate lists nothing the address satisfies) or `unknown` (other rules apply)."},"viewer_roles":{"type":"array","description":"With a viewer address: the roles it plays.","items":{"type":"string","enum":["lister","cap_holder","beneficiary","hauler","claimed_via_org"]}}},"required":["agreement_id","status","posted_at","accept_deadline_at","haul_duration_ms","lister","beneficiary","pays_cap_holder","on_behalf_of","cargo","want","currency","reward","collateral","delivery_fee_bps","claim_gated","has_other_rules","hauler","hauler_identity","accepted_at","delivery_deadline_at","closed_at","closed_by","hauler_reward","delivery_fee","refunded_to","cap_id","posted_tx_digest","accepted_tx_digest","closed_tx_digest"]},"HaulingCapResponse":{"type":"object","properties":{"cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID (0x-prefixed, 64 hex characters)."},"owner_kind":{"type":"string","nullable":true,"enum":["address","object","wrapped","shared","immutable","party"],"description":"How the cap is held: by an `address`, by another `object` (such as an organization’s custody), or `wrapped` inside one. Null until indexed."},"owner":{"type":"string","nullable":true,"description":"The holding address or object ID."},"owner_name":{"type":"string","nullable":true},"receives_proceeds":{"type":"boolean","description":"The cap receives the agreement’s proceeds."},"ended_kind":{"type":"string","nullable":true,"enum":["cancelled","collected","deleted"],"description":"How the cap was destroyed; null while it exists."}},"required":["cap_id","owner_kind","owner","owner_name","receives_proceeds","ended_kind"]},"HaulingClaimPlanResponse":{"type":"object","properties":{"eligibility":{"type":"string","enum":["eligible","ineligible","unknown"]},"steps":{"description":"One step per requirement, in order. Advisory: the chain reads board membership when the accept lands, and the index trails it.","type":"array","items":{"$ref":"#/components/schemas/ClaimPlanStepResponse"}}},"required":["eligibility","steps"]},"HaulingClaimResponse":{"type":"object","properties":{"actor":{"$ref":"#/components/schemas/HaulingPartyResponse"},"principal":{"description":"The principal the accepter matched: an `ou` means it claimed for that organization.","allOf":[{"$ref":"#/components/schemas/HaulingPrincipalResponse"}]},"tx_digest":{"type":"string"}},"required":["actor","principal","tx_digest"]},"HaulingConfigChangeResponse":{"type":"object","properties":{"currencies":{"type":"array","items":{"type":"string"}},"post_fee_currency":{"type":"string","nullable":true},"post_fee_amount":{"type":"string","nullable":true},"delivery_fee_bps":{"type":"integer"},"treasury":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Sui address (0x-prefixed, 64 hex characters)."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the change landed. Unix epoch milliseconds."},"updated_by":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Sender of the admin transaction."},"tx_digest":{"type":"string"}},"required":["currencies","post_fee_currency","post_fee_amount","delivery_fee_bps","treasury","updated_at","updated_by","tx_digest"]},"HaulingConfigResponse":{"type":"object","properties":{"config_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The shared hauling `Config` object."},"currencies":{"description":"Coin types approved for reward and collateral.","type":"array","items":{"$ref":"#/components/schemas/CoinRef"}},"post_fee":{"nullable":true,"description":"Flat fee charged to post, in its own coin; null for none.","allOf":[{"$ref":"#/components/schemas/HaulingPostFeeResponse"}]},"delivery_fee_bps":{"type":"integer","description":"Delivery fee on new agreements, in basis points of the reward."},"treasury":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Fee recipient."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the config last changed. Unix epoch milliseconds."},"history":{"description":"Most recent changes first (up to 20).","type":"array","items":{"$ref":"#/components/schemas/HaulingConfigChangeResponse"}}},"required":["config_id","currencies","post_fee","delivery_fee_bps","treasury","updated_at","history"]},"HaulingCurrencyStatsResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CoinRef"},"agreements":{"type":"integer"},"reward_posted":{"type":"string","nullable":false,"example":"2500000","description":"Rewards escrowed by every agreement. In the smallest unit of the currency (u64 decimal string)."},"reward_paid":{"type":"string","nullable":false,"example":"2500000","description":"Rewards paid to haulers, net of fees. In the smallest unit of the currency (u64 decimal string)."},"delivery_fees":{"type":"string","nullable":false,"example":"2500000","description":"Delivery fees sent to the treasury. In the smallest unit of the currency (u64 decimal string)."},"collateral_forfeited":{"type":"string","nullable":false,"example":"2500000","description":"Collateral lost to defaults and forfeits. In the smallest unit of the currency (u64 decimal string)."}},"required":["currency","agreements","reward_posted","reward_paid","delivery_fees","collateral_forfeited"]},"HaulingEntityResponse":{"type":"object","properties":{"kind":{"type":"string","description":"Move type of the wrapper that vouched for the entity."},"id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The entity, usually an organization."},"trusted":{"type":"boolean","description":"Whether the wrapper is trusted. Untrusted entities are shown raw and never credited. No wrapper is trusted yet."},"org":{"nullable":true,"description":"The organization, when trusted.","allOf":[{"$ref":"#/components/schemas/HaulingOrgRefResponse"}]}},"required":["kind","id","trusted","org"]},"HaulingFeesResponse":{"type":"object","properties":{"post_fee":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingPostFeeResponse"}]},"delivery_fee_bps":{"type":"integer"},"delivery_fee":{"type":"string","nullable":true,"example":"2500000","description":"Delivered: the fee sent to the treasury. In the smallest unit of the currency (u64 decimal string)."},"treasury":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Fee recipient."}},"required":["post_fee","delivery_fee_bps","delivery_fee","treasury"]},"HaulingIdentityResponse":{"type":"object","properties":{"id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Identity the hauler proved, for example a character."},"rule":{"type":"string","nullable":true,"description":"Move type of the identity rule that checked it."},"trusted":{"type":"boolean","description":"Whether the identity rule is trusted. No identity rule is trusted yet."}},"required":["id","rule","trusted"]},"HaulingItemsResponse":{"type":"object","properties":{"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Warehouse-receipt collection of the items."},"asset_id":{"type":"string","example":"78437","description":"Item type ID."},"quantity":{"type":"string","example":"100","description":"Quantity (u64 decimal)."},"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trade hub whose warehouse issues receipts of this collection: where cargo is picked up, or where the wanted items are handed in. Null when the collection is not a known warehouse-receipt vault.","nullable":true},"hub_name":{"type":"string","nullable":true},"verified":{"type":"boolean","description":"Whether the collection is a known warehouse-receipt vault. The contract does not check collections, so haulers should not accept unverified ones."}},"required":["collection_id","asset_id","quantity","hub_id","hub_name","verified"]},"HaulingLaneResponse":{"type":"object","properties":{"source_hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trade hub the cargo is picked up at."},"source_hub_name":{"type":"string","nullable":true},"destination_hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trade hub the delivery is handed in at."},"destination_hub_name":{"type":"string","nullable":true},"agreements":{"type":"integer"},"delivered":{"type":"integer"}},"required":["source_hub_id","source_hub_name","destination_hub_id","destination_hub_name","agreements","delivered"]},"HaulingObserverFeeResponse":{"type":"object","properties":{"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID (0x-prefixed, 64 hex characters)."},"asset_id":{"type":"string"},"quantity":{"type":"string"}},"required":["collection_id","asset_id","quantity"]},"HaulingObserverResponse":{"type":"object","properties":{"kind":{"type":"string","description":"Move type of the bound observer."},"instance_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Observer instance the outcome record is sent to."},"fee":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingObserverFeeResponse"}]}},"required":["kind","instance_id","fee"]},"HaulingOrgRefResponse":{"type":"object","properties":{"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization (OU)."},"name":{"type":"string","nullable":true},"root_org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Root organization of its hierarchy (itself when it is the root)."},"root_org_name":{"type":"string","nullable":true}},"required":["org_id","name","root_org_id","root_org_name"]},"HaulingPartyResponse":{"type":"object","properties":{"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Sui address (0x-prefixed, 64 hex characters)."},"character_name":{"type":"string","nullable":true,"description":"Name of the character owned by the address, if any."}},"required":["address","character_name"]},"HaulingPostFeeResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CoinRef"},"amount":{"type":"string","nullable":false,"example":"2500000","description":"Posting fee paid. In the smallest unit of the currency (u64 decimal string)."}},"required":["currency","amount"]},"HaulingPrincipalResponse":{"type":"object","properties":{"kind":{"type":"string","enum":["player","machine","ou"],"description":"`player` or `machine`: that address; `ou`: any current board member of that organization."},"id":{"type":"string","description":"The address, or the organization ID."},"name":{"type":"string","nullable":true,"description":"Character or organization name."}},"required":["kind","id","name"]},"HaulingProceedsResponse":{"type":"object","properties":{"proceeds_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The `Proceeds<T>` sent to the cap when the agreement ended."},"collected":{"type":"boolean"},"collected_by":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]}},"required":["proceeds_id","collected","collected_by"]},"HaulingReputationResponse":{"type":"object","properties":{"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Sui address (0x-prefixed, 64 hex characters)."},"as_hauler":{"$ref":"#/components/schemas/HaulerRecordResponse"},"as_lister":{"$ref":"#/components/schemas/ListerRecordResponse"},"evaluated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Wall-clock time the counts were derived at. Unix epoch milliseconds."}},"required":["address","as_hauler","as_lister","evaluated_at"]},"HaulingRequirementResponse":{"type":"object","properties":{"req_index":{"type":"integer","description":"Position: an accept satisfies requirements in this order."},"rule":{"type":"string","enum":["claim","unknown"],"description":"`claim`: an agreement_roles claim gate; `unknown`: a rule this API cannot evaluate."},"type_name":{"type":"string","description":"Move type of the requirement config."},"is_identity_rule":{"type":"boolean","description":"It is the agreement’s identity rule."},"principals":{"description":"A claim gate’s principals: the accepter must satisfy one.","type":"array","items":{"$ref":"#/components/schemas/HaulingPrincipalResponse"}},"data":{"type":"string","nullable":true,"description":"An unknown rule’s config, BCS as 0x-hex; null for claim gates."}},"required":["req_index","rule","type_name","is_identity_rule","principals","data"]},"HaulingStatsResponse":{"type":"object","properties":{"by_status":{"$ref":"#/components/schemas/HaulingStatusCountsResponse"},"by_currency":{"type":"array","items":{"$ref":"#/components/schemas/HaulingCurrencyStatsResponse"}},"post_fees":{"description":"Posting fees paid, per fee coin.","type":"array","items":{"$ref":"#/components/schemas/CurrencyAmountResponse"}},"lanes":{"description":"Busiest hub-to-hub lanes by agreements (top 10), counting only verified hubs.","type":"array","items":{"$ref":"#/components/schemas/HaulingLaneResponse"}},"evaluated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Wall-clock time the counts were derived at. Unix epoch milliseconds."}},"required":["by_status","by_currency","post_fees","lanes","evaluated_at"]},"HaulingStatusCountsResponse":{"type":"object","properties":{"open":{"type":"integer"},"lapsed":{"type":"integer"},"accepted":{"type":"integer"},"overdue":{"type":"integer"},"delivered":{"type":"integer"},"defaulted":{"type":"integer"},"forfeited":{"type":"integer"},"cancelled":{"type":"integer"},"closed_lapsed":{"type":"integer"}},"required":["open","lapsed","accepted","overdue","delivered","defaulted","forfeited","cancelled","closed_lapsed"]},"HaulingTimelineEventResponse":{"type":"object","properties":{"kind":{"type":"string","enum":["posted","accepted","claimed","delivered","defaulted","forfeited","cancelled","closed_lapsed","proceeds_collected","cap_deleted"]},"actor":{"description":"Who acted.","allOf":[{"$ref":"#/components/schemas/HaulingPartyResponse"}]},"at":{"type":"integer","format":"int64","example":1755043200000,"description":"Checkpoint time. Unix epoch milliseconds."},"checkpoint":{"type":"string"},"tx_digest":{"type":"string"}},"required":["kind","actor","at","checkpoint","tx_digest"]},"HaulingViewerResponse":{"type":"object","properties":{"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Sui address (0x-prefixed, 64 hex characters)."},"roles":{"type":"array","items":{"type":"string","enum":["lister","cap_holder","beneficiary","hauler","claimed_via_org"]}},"claim_plan":{"nullable":true,"description":"How the viewer can accept; null unless the status is `open`.","allOf":[{"$ref":"#/components/schemas/HaulingClaimPlanResponse"}]}},"required":["address","roles","claim_plan"]},"HubDaoVault":{"type":"object","properties":{"vault_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the receipt vault."},"registrant_dao_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Organization (DAO) ID that registered the vault.","nullable":true},"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub."},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Item collection the vault holds receipts for.","nullable":true},"status":{"type":"string","example":"active","description":"Vault lifecycle status. Only `active` vaults are returned."},"acl":{"description":"Current access grants, one entry per member per role.","type":"array","items":{"$ref":"#/components/schemas/HubDaoVaultAclEntry"}}},"required":["vault_id","registrant_dao_id","hub_id","collection_id","status","acl"]},"HubDaoVaultAclEntry":{"type":"object","properties":{"role":{"type":"string","enum":["deposit","withdraw","edit"],"description":"Permission granted to the principal."},"principal_kind":{"type":"string","enum":["player","machine","ou"],"description":"Kind of principal: `player` (individual wallet), `machine` (service or bot key) or `ou` (organization)."},"principal_value":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Player or machine address (kind `player` or `machine`), or organization ID (kind `ou`)."}},"required":["role","principal_kind","principal_value"]},"HubEconomics":{"type":"object","properties":{"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub."},"fee_reserve":{"type":"string","example":"1250000000","description":"Accumulated fee reserve (fees deposited minus fees withdrawn) across all markets at the hub. Raw integer amount as a string."},"liquidity_depth":{"type":"string","example":"48200","description":"Total remaining quantity across all open orders at the hub. Raw integer amount as a string."},"unique_items":{"type":"integer","example":12,"description":"Number of distinct item types with open orders at the hub."}},"required":["hub_id","fee_reserve","liquidity_depth","unique_items"]},"HubEnrichedResponse":{"type":"object","properties":{"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub."},"assembly_item_id":{"type":"string","nullable":true,"description":"Numeric in-game item ID of the hub structure, as a string; null for a hub with no reported location (a private hub)."},"assembly_tenant":{"type":"string","nullable":true,"description":"Tenant (shard) the hub is deployed on; null for a hub with no reported location (a private hub)."},"type_id":{"type":"string","nullable":true,"description":"Numeric structure type ID, as a string; null for a hub with no reported location (a private hub)."},"owner_cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Owner capability object ID for the hub. Read on-chain for hubs with no reported location; null only if that lookup fails.","nullable":true},"owner":{"type":"string","nullable":true,"description":"Wallet address that owns the hub's owner capability (resolved on-chain)."},"solar_system":{"type":"string","nullable":true,"description":"Numeric solar system ID the hub is located in, as a string; null for a hub with no reported location (a private hub)."},"x":{"type":"string","nullable":true,"description":"X coordinate (meters); null for a hub with no reported location (a private hub)."},"y":{"type":"string","nullable":true,"description":"Y coordinate (meters); null for a hub with no reported location (a private hub)."},"z":{"type":"string","nullable":true,"description":"Z coordinate (meters); null for a hub with no reported location (a private hub)."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the location was last updated. Unix epoch milliseconds."},"tx_digest":{"type":"string","description":"Digest of the transaction that produced the location update."},"pool_count":{"type":"integer","description":"Number of markets (pools) attached to the hub."},"last_activity_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the hub last saw deposit/withdraw activity. Unix epoch milliseconds.","nullable":true},"is_public":{"type":"boolean","description":"True when the hub location has been publicly revealed."},"region_id":{"type":"number","nullable":true,"description":"Region ID of the solar system, when known."},"state":{"type":"string","nullable":true,"enum":["online","offline","unanchored"],"example":"online","description":"The hub's power state from its last indexed status change: `online`, `offline` (a freshly anchored hub starts offline) or `unanchored`; null when no status change has been indexed for it."}},"required":["hub_id","assembly_item_id","assembly_tenant","type_id","owner_cap_id","owner","solar_system","x","y","z","updated_at","tx_digest","pool_count","last_activity_at","is_public","region_id","state"]},"HubItem":{"type":"object","properties":{"asset_id":{"type":"string","example":"70810","description":"Numeric item type ID (asset_id), as a string."},"has_bids":{"type":"boolean","description":"True when at least one open buy order (bid) exists."},"has_asks":{"type":"boolean","description":"True when at least one open sell order (ask) exists."},"bid_quantity":{"type":"string","example":"120","description":"Item units wanted across open buy orders (integer string; item markets have a lot size of 1)."},"ask_quantity":{"type":"string","example":"45","description":"Item units offered across open sell orders (integer string)."}},"required":["asset_id","has_bids","has_asks","bid_quantity","ask_quantity"]},"HubItemOrderbookResponse":{"type":"object","properties":{"hub_id":{"type":"string","description":"Trade hub (storage unit) object ID, normalized."},"collection_id":{"type":"string","description":"MultiCoin vault collection ID for the hub's vault."},"vault_config_id":{"type":"string","nullable":true,"description":"VaultConfig object ID for the hub's vault, when indexed."},"pool_id":{"type":"string","nullable":true,"description":"Resolved pool (orderbook) object ID. Null when the vault exists but no pool has been created for this item yet."},"metadata":{"nullable":true,"description":"Pool metadata (decimals, fee, names); null when no pool exists.","allOf":[{"$ref":"#/components/schemas/PoolMetadataResponseDto"}]},"bids":{"description":"Bids, highest first. Empty when no pool exists.","type":"array","items":{"$ref":"#/components/schemas/OrderbookOrderDto"}},"asks":{"description":"Asks, lowest first. Empty when no pool exists.","type":"array","items":{"$ref":"#/components/schemas/OrderbookOrderDto"}}},"required":["hub_id","collection_id","vault_config_id","pool_id","metadata","bids","asks"]},"HubItemPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/HubItem"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"HubLeaderboardEntryResponse":{"type":"object","properties":{"rank":{"type":"integer","example":1,"description":"1-based rank."},"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Storage unit object ID of the trade hub."},"solar_system_id":{"type":"string","nullable":true,"example":"30000142","description":"Numeric solar system ID the hub is located in."},"volume_raw":{"type":"string","description":"Quote volume on the hub’s markets in the window (raw). Each fill counts once."},"volume":{"type":"string","description":"`volume_raw` scaled by the quote decimals."},"trades":{"type":"integer","description":"Fills in the window."},"traders":{"type":"integer","description":"Distinct wallets with a fill at the hub in the window, maker or taker."},"items_traded":{"type":"integer","description":"Items with at least one fill in the window."},"items_for_sale":{"type":"integer","description":"Items with at least one open sell order at the hub now, any quote currency. Live, unlike the rest of the entry."},"items_wanted":{"type":"integer","description":"Items with at least one open buy order at the hub now, any quote currency. Live, unlike the rest of the entry."},"top_item":{"nullable":true,"description":"The item with the most quote volume in the window.","allOf":[{"$ref":"#/components/schemas/LeaderboardItemResponse"}]},"last_trade_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Newest fill at the hub in the window. Unix epoch milliseconds.","nullable":true}},"required":["rank","hub_id","solar_system_id","volume_raw","volume","trades","traders","items_traded","items_for_sale","items_wanted","top_item","last_trade_at"]},"HubLeaderboardPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/HubLeaderboardEntryResponse"}},"next_cursor":{"type":"string","nullable":true,"description":"Opaque cursor for the next page — pass it back as `cursor`; null on the last page."},"generated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When this snapshot was computed (window end). Unix epoch milliseconds."},"window_start":{"type":"integer","format":"int64","example":1755043200000,"description":"Start of the rolling 30-day window. Unix epoch milliseconds."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the snapshot is next recomputed. Unix epoch milliseconds."},"quote":{"$ref":"#/components/schemas/LeaderboardQuoteResponse"},"summary":{"$ref":"#/components/schemas/HubLeaderboardSummaryResponse"}},"required":["data","next_cursor","generated_at","window_start","expires_at","quote","summary"]},"HubLeaderboardSummaryResponse":{"type":"object","properties":{"public_hubs":{"type":"integer","description":"Anchored public hubs with a quote market, whether or not they traded."},"active_hubs":{"type":"integer","description":"Ranked hubs: public hubs with a fill in the window."},"trades":{"type":"integer"},"traders":{"type":"integer","description":"Distinct wallets that traded at any ranked hub."},"volume_raw":{"type":"string","description":"Sum of hub volumes (raw)."},"volume":{"type":"string"},"top_item":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LeaderboardItemResponse"}]}},"required":["public_hubs","active_hubs","trades","traders","volume_raw","volume","top_item"]},"HubSummary":{"type":"object","properties":{"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub."},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the item collection owned by the hub."}},"required":["hub_id","collection_id"]},"HubTopItem":{"type":"object","properties":{"asset_id":{"type":"string","example":"77800","description":"Numeric item type ID (asset_id), as a string."},"trades":{"type":"integer","description":"Number of fills."},"units":{"type":"string","example":"420","description":"Item units traded (sum of base quantity)."},"volume_raw":{"type":"string","example":"1250000000","description":"Quote volume, raw on-chain integer as a string."},"volume":{"type":"string","example":"1250","description":"Quote volume, human-readable (raw / 10^quote_decimals)."},"quote_type":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Coin type of the quote currency."},"quote_symbol":{"type":"string","example":"CRED"},"quote_decimals":{"type":"integer","example":6},"last_traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the item last traded at this hub. Unix epoch milliseconds."}},"required":["asset_id","trades","units","volume_raw","volume","quote_type","quote_symbol","quote_decimals","last_traded_at"]},"HubVaultInfo":{"type":"object","properties":{"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub."},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the item collection owned by the hub."},"vault_config_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the hub vault's configuration."}},"required":["hub_id","collection_id","vault_config_id"]},"InventoryBalancesResponse":{"type":"object","properties":{"storage_unit_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The trade hub that was queried."},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"The item collection backing the trade hub (derived server-side) — the collection all non-hangar sections are scoped to. Feed it into reconcile balance entries."},"warehouse":{"description":"Wallet-held (warehouse) balances for owner_address; empty when owner_address was not passed.","type":"array","items":{"$ref":"#/components/schemas/AssetBalance"}},"marketplace":{"description":"TradingAccount-held (marketplace) balances for trading_account_id; empty when trading_account_id was not passed.","type":"array","items":{"$ref":"#/components/schemas/AssetBalance"}},"hangar":{"description":"Trade hub hangar contents (by game type_id, not collection-scoped) for the queried storage_unit_id; empty when inventory_key was not passed.","type":"array","items":{"$ref":"#/components/schemas/AssetBalance"}},"org_vaults":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/AssetBalance"}},"description":"Per-vault balances keyed by vault id, for each id in vault_ids; empty object when vault_ids was not passed."}},"required":["storage_unit_id","collection_id","warehouse","marketplace","hangar","org_vaults"]},"Item":{"type":"object","description":"A world item from the curated public item list.","required":["id","name","groupId","groupName","categoryId","categoryName"],"properties":{"id":{"type":"integer","description":"Item type id (stable game-client identifier)."},"name":{"type":"string","description":"Display name."},"description":{"type":"string","description":"Flavor/description text; may be empty."},"mass":{"type":"number","description":"Mass in kg."},"radius":{"type":"number","description":"Radius in meters."},"volume":{"type":"number","description":"Volume in m³."},"portionSize":{"type":"integer","description":"Portion size (units produced/consumed per action)."},"groupId":{"type":"integer","description":"Item group id."},"groupName":{"type":"string","description":"Item group display name."},"categoryId":{"type":"integer","description":"Item category id."},"categoryName":{"type":"string","description":"Item category display name (e.g. Commodity, Module, Asteroid)."},"iconUrl":{"type":"string","description":"Icon URL on the public CDN; empty when no icon is published."},"quantityKind":{"type":"string","enum":["discrete","continuous"],"description":"`continuous` items hold fractional amounts in game (floored to whole units on chain)."},"neotype":{"type":"boolean","description":"Digital chemistry: items of this type carry per-item property variants, traded under composed asset ids `(variant_id << 32) | type_id`. See `v1/items/neotypes/{typeId}`."}}},"ItemAccountTrade":{"type":"object","properties":{"event_digest":{"type":"string","description":"Unique fill event identifier (transaction digest + event index)."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID the trade happened on."},"order_id":{"type":"string","description":"The queried account's order ID involved in this trade (u128 decimal string)."},"counterparty_trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID of the counterparty."},"price":{"type":"string","description":"Execution price (raw integer, decimal string)."},"base_quantity":{"type":"string","description":"Base quantity exchanged (raw integer, decimal string)."},"quote_quantity":{"type":"string","description":"Quote quantity exchanged (raw integer, decimal string)."},"fee":{"type":"string","description":"Fee paid by the queried account on this trade, in raw quote units (decimal string)."},"role":{"type":"string","enum":["maker","taker"],"description":"The queried account's role: `maker` (resting order) or `taker` (incoming order)."},"side":{"type":"string","enum":["buy","sell"],"description":"The queried account's side of the trade: `buy` or `sell`."},"traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the trade executed on-chain. Unix epoch milliseconds."},"asset_id":{"type":"string","example":"77800","description":"Item type (asset) ID traded by the pool."},"storage_unit_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Storage unit (trade hub) object ID backing the market."},"counterparty":{"description":"The player or organization behind the counterparty's trading account.","allOf":[{"$ref":"#/components/schemas/TradeParty"}]}},"required":["event_digest","pool_id","order_id","counterparty_trading_account_id","price","base_quantity","quote_quantity","fee","role","side","traded_at","asset_id","storage_unit_id","counterparty"]},"ItemAccountTradePage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/ItemAccountTrade"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"ItemBlueprints":{"type":"object","description":"Every blueprint that produces or consumes one item.","required":["typeId","name","producedBy","usedIn"],"properties":{"typeId":{"type":"integer","description":"The item's type id."},"name":{"type":"string","description":"The item's display name."},"producedBy":{"type":"array","description":"Blueprints with this item among their outputs (its recipes). Empty when nothing produces it, including a listed item whose recipes left the game.","items":{"$ref":"#/components/schemas/Blueprint"}},"usedIn":{"type":"array","description":"Blueprints that take this item type as an input. Empty when nothing consumes it. A trait-only input slot is listed under none of its candidates.","items":{"$ref":"#/components/schemas/Blueprint"}}}},"ItemOpenOrder":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID this order rests on."},"order_id":{"type":"string","example":"170141211044891661156su39299822993408","description":"Order ID, unique within its pool (u128, serialized as a decimal string)."},"encoded_order_id":{"type":"string","description":"Book-encoded order ID (u128 decimal string) when the venue exposes one; omitted otherwise."},"side":{"type":"string","enum":["buy","sell"],"description":"`buy` for bids, `sell` for asks."},"price":{"type":"string","description":"Limit price as a raw on-chain integer (decimal string), in quote units per base unit before decimal scaling."},"remaining_quantity":{"type":"string","description":"Base quantity still open on the book (raw integer, decimal string)."},"filled_quantity":{"type":"string","description":"Base quantity already filled (raw integer, decimal string)."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order state last changed on-chain. Unix epoch milliseconds."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order expires, in Unix epoch milliseconds. `null` for good-til-cancelled orders (no expiry).","nullable":true},"asset_id":{"type":"string","example":"77800","description":"Item type (asset) ID traded by the pool."},"storage_unit_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Storage unit (trade hub) object ID backing the market."},"quote_asset_symbol":{"type":"string","nullable":true,"description":"Symbol of the quote currency, when known."},"quote_asset_decimals":{"type":"integer","nullable":true,"description":"Decimal places of the quote currency, when known."}},"required":["pool_id","order_id","side","price","remaining_quantity","filled_quantity","updated_at","expires_at","asset_id","storage_unit_id","quote_asset_symbol","quote_asset_decimals"]},"ItemOpenOrderPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/ItemOpenOrder"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"ItemSupplySummary":{"type":"object","properties":{"supply":{"type":"string","example":"48200","description":"Units across all of the type’s keys, as a decimal string."},"variant_count":{"type":"integer","example":312,"description":"Keys (plain item + variants) with units in storage."},"as_of_ms":{"type":"integer","example":1762790400000,"description":"When the supply snapshot was built (ms). It is rebuilt every few minutes."}},"required":["supply","variant_count","as_of_ms"]},"ItemTrade":{"type":"object","properties":{"price":{"type":"string","description":"Execution price in human-readable quote units (decimal string, already adjusted for quote decimals)."},"quantity":{"type":"string","description":"Base quantity exchanged, human-readable (decimal string)."},"side":{"type":"string","enum":["buy","sell"],"description":"Taker's side: `buy` when the incoming order was a bid, `sell` otherwise."},"order_type":{"type":"string","enum":["market_buy","market_sell","limit_buy","limit_sell"],"nullable":true,"description":"The taker order's type and direction. `null` when order metadata is unavailable for this trade."},"traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the trade executed on-chain. Unix epoch milliseconds."},"tx_digest":{"type":"string","description":"Digest of the transaction that produced this trade."},"fee_rate_bps":{"type":"integer","example":5,"description":"Effective taker fee rate of this trade, in basis points, derived from the fill (taker fee / quote quantity × 10000, rounded)."},"fee_amount":{"type":"string","description":"Total fee charged on this trade, in human-readable quote units (decimal string)."},"asset_id":{"type":"string","example":"77800","description":"Item type (asset) ID that was traded."},"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trade hub (storage unit) object ID the trade happened at."},"quote_currency":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Coin type of the quote currency."},"quote_currency_decimals":{"type":"integer","example":6,"description":"Decimal places of the quote currency."},"region_id":{"type":"integer","nullable":true,"description":"Region ID of the trade hub, or `null` if unknown."},"solar_system_id":{"type":"integer","nullable":true,"description":"Numeric solar system ID of the trade hub, or `null` if the hub has no indexed location."},"solar_system_name":{"type":"string","nullable":true,"description":"Human-readable solar system name, or `null` if unavailable."},"buyer":{"description":"The player or organization that bought.","allOf":[{"$ref":"#/components/schemas/TradeParty"}]},"seller":{"description":"The player or organization that sold.","allOf":[{"$ref":"#/components/schemas/TradeParty"}]}},"required":["price","quantity","side","order_type","traded_at","tx_digest","fee_rate_bps","fee_amount","asset_id","hub_id","quote_currency","quote_currency_decimals","region_id","solar_system_id","solar_system_name","buyer","seller"]},"ItemTradePage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/ItemTrade"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"ItemVariantSupply":{"type":"object","properties":{"asset_id":{"type":"string","example":"1885490740881","description":"Full item key, `(variant_id << 32) | type_id`, as a decimal string. Equal to the type id for the plain item."},"variant_id":{"type":"string","nullable":true,"example":"439","description":"Neotype variant id, or null for the plain item."},"name":{"type":"string","nullable":true,"example":"Inkstone #439","description":"Display name, `<base name> #<variant>`; null when the base type is not in the items list."},"supply":{"type":"string","example":"12500","description":"Units held across all live storage units (every inventory: owner, character and open storage, which holds warehouse-receipt deposits), as a decimal string."},"storage_units":{"type":"integer","example":7,"description":"Distinct live storage units holding it."},"last_seen_ms":{"type":"integer","example":1762790400000,"description":"Newest update (ms) among the storage inventories holding it: when its storage last changed."}},"required":["asset_id","variant_id","name","supply","storage_units","last_seen_ms"]},"ItemVariantsResponse":{"type":"object","properties":{"supply":{"type":"string","example":"48200","description":"Units across all of the type’s keys, as a decimal string."},"variant_count":{"type":"integer","example":312,"description":"Keys (plain item + variants) with units in storage."},"as_of_ms":{"type":"integer","example":1762790400000,"description":"When the supply snapshot was built (ms). It is rebuilt every few minutes."},"type_id":{"type":"string","example":"97937","description":"Base type id."},"name":{"type":"string","nullable":true,"example":"Inkstone","description":"Base type name, or null when not in the items list."},"variants":{"description":"Keys of this type in the requested order.","type":"array","items":{"$ref":"#/components/schemas/ItemVariantSupply"}},"next_cursor":{"type":"string","nullable":true,"description":"Pass as `?before=` for the next keys down the ranking. Null at the end."},"prev_cursor":{"type":"string","nullable":true,"description":"Pass as `?after=` for the keys ranked above this page. Null when the page is empty."}},"required":["supply","variant_count","as_of_ms","type_id","name","variants","next_cursor","prev_cursor"]},"JumpType":{"type":"string","description":"Type of jump between waypoints","enum":["start","stargate","jump_drive"]},"LeaderboardEntryResponse":{"type":"object","properties":{"rank":{"type":"integer","example":1,"description":"1-based rank."},"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Player wallet address."},"character_name":{"type":"string","nullable":true,"description":"Name of the wallet’s current (newest) character."},"volume_raw":{"type":"string","description":"Quote volume in the window, buys + sells (raw)."},"volume":{"type":"string","description":"`volume_raw` scaled by the quote decimals."},"buy_volume_raw":{"type":"string"},"buy_volume":{"type":"string"},"sell_volume_raw":{"type":"string"},"sell_volume":{"type":"string"},"trades":{"type":"integer","description":"Fills in the window."},"top_item":{"nullable":true,"description":"The item with the most quote volume in the window.","allOf":[{"$ref":"#/components/schemas/LeaderboardItemResponse"}]},"last_trade_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Newest fill on a quote market. For an org board this may predate the window; null if the player has never traded. Unix epoch milliseconds.","nullable":true}},"required":["rank","address","character_name","volume_raw","volume","buy_volume_raw","buy_volume","sell_volume_raw","sell_volume","trades","top_item","last_trade_at"]},"LeaderboardItemResponse":{"type":"object","properties":{"asset_id":{"type":"string","example":"89089","description":"Item type ID."},"volume_raw":{"type":"string","description":"Quote volume on this item (raw integer)."},"volume":{"type":"string","description":"`volume_raw` scaled by the quote decimals."},"units":{"type":"string","description":"Item units traded (raw integer)."},"trades":{"type":"integer"}},"required":["asset_id","volume_raw","volume","units","trades"]},"LeaderboardPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardEntryResponse"}},"next_cursor":{"type":"string","nullable":true,"description":"Opaque cursor for the next page — pass it back as `cursor`; null on the last page."},"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Root organization the board is scoped to.","nullable":true},"generated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When this snapshot was computed (window end). Unix epoch milliseconds."},"window_start":{"type":"integer","format":"int64","example":1755043200000,"description":"Start of the rolling 30-day window. Unix epoch milliseconds."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the snapshot is next recomputed. Unix epoch milliseconds."},"quote":{"$ref":"#/components/schemas/LeaderboardQuoteResponse"},"summary":{"$ref":"#/components/schemas/LeaderboardSummaryResponse"}},"required":["data","next_cursor","org_id","generated_at","window_start","expires_at","quote","summary"]},"LeaderboardQuoteResponse":{"type":"object","properties":{"coin_type":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Quote coin the volumes are denominated in."},"symbol":{"type":"string","example":"CRED"},"decimals":{"type":"integer","example":6}},"required":["coin_type","symbol","decimals"]},"LeaderboardSummaryResponse":{"type":"object","properties":{"players":{"type":"integer","description":"Players ranked: every member for an org board, every active trader for the global board."},"active_traders":{"type":"integer"},"trades":{"type":"integer"},"volume_raw":{"type":"string","description":"Sum of player volumes (raw). A fill between two ranked players counts for both."},"volume":{"type":"string"},"top_item":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LeaderboardItemResponse"}]}},"required":["players","active_traders","trades","volume_raw","volume","top_item"]},"ListerRecordResponse":{"type":"object","properties":{"posted":{"type":"integer"},"open":{"type":"integer"},"lapsed":{"type":"integer"},"in_progress":{"type":"integer","description":"Accepted and not yet ended."},"delivered":{"type":"integer"},"defaulted":{"type":"integer"},"forfeited":{"type":"integer"},"cancelled":{"type":"integer"},"closed_lapsed":{"type":"integer"}},"required":["posted","open","lapsed","in_progress","delivered","defaulted","forfeited","cancelled","closed_lapsed"]},"LocationResponse":{"type":"object","properties":{"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub."},"assembly_item_id":{"type":"string","nullable":true,"description":"Numeric in-game item ID of the hub structure, as a string; null for a hub with no reported location (a private hub)."},"assembly_tenant":{"type":"string","nullable":true,"description":"Tenant (shard) the hub is deployed on; null for a hub with no reported location (a private hub)."},"type_id":{"type":"string","nullable":true,"description":"Numeric structure type ID, as a string; null for a hub with no reported location (a private hub)."},"owner_cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Owner capability object ID for the hub. Read on-chain for hubs with no reported location; null only if that lookup fails.","nullable":true},"owner":{"type":"string","nullable":true,"description":"Wallet address that owns the hub's owner capability (resolved on-chain)."},"solar_system":{"type":"string","nullable":true,"description":"Numeric solar system ID the hub is located in, as a string; null for a hub with no reported location (a private hub)."},"x":{"type":"string","nullable":true,"description":"X coordinate (meters); null for a hub with no reported location (a private hub)."},"y":{"type":"string","nullable":true,"description":"Y coordinate (meters); null for a hub with no reported location (a private hub)."},"z":{"type":"string","nullable":true,"description":"Z coordinate (meters); null for a hub with no reported location (a private hub)."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the location was last updated. Unix epoch milliseconds."},"tx_digest":{"type":"string","description":"Digest of the transaction that produced the location update."},"is_public":{"type":"boolean","description":"True when the hub location has been publicly revealed."},"region_id":{"type":"number","nullable":true,"description":"Region ID of the solar system, when known."},"solar_system_name":{"type":"string","nullable":true,"description":"Human-readable solar system name, when resolved."}},"required":["hub_id","assembly_item_id","assembly_tenant","type_id","owner_cap_id","owner","solar_system","x","y","z","updated_at","tx_digest","is_public","region_id","solar_system_name"]},"LocationResponsePage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/LocationResponse"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"NearbyHubResponse":{"type":"object","properties":{"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Sui object ID of the trade hub."},"assembly_item_id":{"type":"string","nullable":true,"description":"Numeric in-game item ID of the hub structure, as a string; null for a hub with no reported location (a private hub)."},"assembly_tenant":{"type":"string","nullable":true,"description":"Tenant (shard) the hub is deployed on; null for a hub with no reported location (a private hub)."},"type_id":{"type":"string","nullable":true,"description":"Numeric structure type ID, as a string; null for a hub with no reported location (a private hub)."},"owner_cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Owner capability object ID for the hub. Read on-chain for hubs with no reported location; null only if that lookup fails.","nullable":true},"owner":{"type":"string","nullable":true,"description":"Wallet address that owns the hub's owner capability (resolved on-chain)."},"solar_system":{"type":"string","nullable":true,"description":"Numeric solar system ID the hub is located in, as a string; null for a hub with no reported location (a private hub)."},"x":{"type":"string","nullable":true,"description":"X coordinate (meters); null for a hub with no reported location (a private hub)."},"y":{"type":"string","nullable":true,"description":"Y coordinate (meters); null for a hub with no reported location (a private hub)."},"z":{"type":"string","nullable":true,"description":"Z coordinate (meters); null for a hub with no reported location (a private hub)."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the location was last updated. Unix epoch milliseconds."},"tx_digest":{"type":"string","description":"Digest of the transaction that produced the location update."},"is_public":{"type":"boolean","description":"True when the hub location has been publicly revealed."},"region_id":{"type":"number","nullable":true,"description":"Region ID of the solar system, when known."},"solar_system_name":{"type":"string","nullable":true,"description":"Human-readable solar system name, when resolved."},"hub_name":{"type":"string","nullable":true,"description":"Hub display name from its on-chain metadata; null when it hasn't set one."},"distance_ly":{"type":"string","description":"Distance from the search origin, in light years."}},"required":["hub_id","assembly_item_id","assembly_tenant","type_id","owner_cap_id","owner","solar_system","x","y","z","updated_at","tx_digest","is_public","region_id","solar_system_name","hub_name","distance_ly"]},"NearbySystem":{"type":"object","description":"A solar system found by a radius search, with its distance from the origin.","required":["solar_system_id","distance_ly"],"properties":{"distance_ly":{"type":"string","description":"Straight-line distance from the search origin, in light years (decimal string).","example":"18.991165304211588"},"location":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Coordinates","description":"Position of this system, in meters. `null` when the system is in the\nstargate graph but absent from the coordinate index."}]},"solar_system_id":{"type":"integer","format":"int64","description":"Numeric solar system ID.","example":30001053},"solar_system_name":{"type":["string","null"],"description":"Human-readable solar system name, or `null` until a player has reported it.","example":"IF3-HS9"}}},"NearbySystemsResponse":{"type":"object","description":"Result of a radius search around a named solar system.","required":["solar_system_id","radius_ly","count","systems"],"properties":{"count":{"type":"integer","description":"Number of systems returned (after `limit` is applied).","example":3,"minimum":0},"radius_ly":{"type":"string","description":"Radius the search used, in light years (decimal string).","example":"100"},"solar_system_id":{"type":"integer","format":"int64","description":"Numeric ID of the system searched from.","example":30000142},"solar_system_name":{"type":["string","null"],"description":"Name of the system searched from, or `null` until a player has reported it.","example":"EHK-KH7"},"systems":{"type":"array","items":{"$ref":"#/components/schemas/NearbySystem"},"description":"Systems within the radius, nearest first. Excludes the origin system."}}},"Order":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID this order rests on."},"order_id":{"type":"string","example":"170141211044891661156su39299822993408","description":"Order ID, unique within its pool (u128, serialized as a decimal string)."},"encoded_order_id":{"type":"string","description":"Book-encoded order ID (u128 decimal string) when the venue exposes one; omitted otherwise."},"side":{"type":"string","enum":["buy","sell"],"description":"`buy` for bids, `sell` for asks."},"price":{"type":"string","description":"Limit price as a raw on-chain integer (decimal string), in quote units per base unit before decimal scaling."},"remaining_quantity":{"type":"string","description":"Base quantity still open on the book (raw integer, decimal string)."},"filled_quantity":{"type":"string","description":"Base quantity already filled (raw integer, decimal string)."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order expires. Unix epoch milliseconds."},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order state last changed on-chain. Unix epoch milliseconds."}},"required":["pool_id","order_id","side","price","remaining_quantity","filled_quantity","expires_at","updated_at"]},"OrderCharacter":{"type":"object","properties":{"character_id":{"type":"string","description":"Character ID."},"item_id":{"type":"string","description":"Character item ID."},"tenant":{"type":"string","description":"Tenant the character belongs to."},"tribe_id":{"type":"integer","description":"Tribe ID."},"character_address":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"On-chain address of the character object."},"name":{"type":"string","description":"Character name."},"description":{"type":"string","description":"Character description."},"url":{"type":"string","description":"Character portrait / metadata URL."}},"required":["character_id","item_id","tenant","tribe_id","character_address","name","description","url"]},"OrderCurrency":{"type":"object","properties":{"type_string":{"type":"string","description":"Fully-qualified coin type of the quote currency (`<address>::<module>::<STRUCT>`)."},"name":{"type":"string","nullable":true,"description":"Display name of the currency, or `null` if unknown."},"decimals":{"type":"integer","description":"Decimal places of the currency."},"icon_url":{"type":"string","nullable":true,"description":"Icon URL for the currency, or `null` if none."}},"required":["type_string","name","decimals","icon_url"]},"OrderDetail":{"type":"object","properties":{"order_id":{"type":"string","description":"Order ID (u128, decimal string), unique within its pool."},"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID the order belongs to."},"side":{"type":"string","enum":["buy","sell"],"description":"`buy` for bids, `sell` for asks."},"order_type":{"type":"string","enum":["market_buy","market_sell","limit_buy","limit_sell"],"nullable":true,"description":"The order's type and direction. `null` when order metadata is unavailable."},"status":{"type":"string","enum":["open","filled","cancelled"],"description":"Current lifecycle status of the order."},"price":{"type":"string","description":"Limit price (raw integer, decimal string)."},"quantity":{"type":"string","description":"Total original base quantity (remaining + filled; raw integer, decimal string)."},"remaining_quantity":{"type":"string","description":"Base quantity still open (raw integer, decimal string)."},"filled_quantity":{"type":"string","description":"Base quantity already filled (raw integer, decimal string)."},"expires_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order expires, in Unix epoch milliseconds. `null` for good-til-cancelled orders (no expiry).","nullable":true},"updated_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the order state last changed on-chain. Unix epoch milliseconds."},"asset_id":{"type":"string","example":"77800","description":"Item type (asset) ID traded by the pool."},"asset_name":{"type":"string","nullable":true,"description":"Human-readable item name from the item catalog, or `null` if unavailable."},"trading_account":{"description":"Account that placed the order.","allOf":[{"$ref":"#/components/schemas/OrderParty"}]},"hub":{"nullable":true,"description":"Trade hub the order lives at, or `null` if the order's pool has no warehouse vault.","allOf":[{"$ref":"#/components/schemas/OrderHub"}]},"currency":{"nullable":true,"description":"The market's quote currency, or `null` if pool metadata is unavailable.","allOf":[{"$ref":"#/components/schemas/OrderCurrency"}]},"fills":{"description":"Fill events for this order, oldest first. Empty for open orders with no fills.","type":"array","items":{"$ref":"#/components/schemas/OrderDetailFill"}}},"required":["order_id","pool_id","side","order_type","status","price","quantity","remaining_quantity","filled_quantity","expires_at","updated_at","asset_id","asset_name","trading_account","hub","currency","fills"]},"OrderDetailFill":{"type":"object","properties":{"event_digest":{"type":"string","description":"Unique fill event identifier (transaction digest + event index)."},"price":{"type":"string","description":"Execution price (raw integer, decimal string)."},"base_quantity":{"type":"string","description":"Base quantity exchanged (raw integer, decimal string)."},"quote_quantity":{"type":"string","description":"Quote quantity exchanged (raw integer, decimal string)."},"fee":{"type":"string","description":"Fee paid by this order on the fill, in raw quote units (decimal string)."},"role":{"type":"string","enum":["maker","taker"],"description":"This order's role in the fill: `maker` or `taker`."},"counterparty_trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID of the counterparty."},"counterparty":{"description":"The counterparty's trading account and who is behind it.","allOf":[{"$ref":"#/components/schemas/OrderParty"}]},"traded_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the fill executed on-chain. Unix epoch milliseconds."}},"required":["event_digest","price","base_quantity","quote_quantity","fee","role","counterparty_trading_account_id","counterparty","traded_at"]},"OrderHub":{"type":"object","properties":{"hub_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trade hub (storage unit) object ID."},"name":{"type":"string","nullable":true,"description":"The storage unit's on-chain name, or `null` if it has none or it couldn't be read."},"assembly_item_id":{"type":"string","nullable":true,"description":"Assembly item ID of the hub, or `null` if not located."},"assembly_tenant":{"type":"string","nullable":true,"description":"Tenant the hub belongs to, or `null` if not located."},"type_id":{"type":"string","nullable":true,"description":"Hub structure type ID, or `null` if not located."},"owner_cap_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Owner capability object ID for the hub, or `null` if it couldn't be read.","nullable":true},"owner":{"type":"string","nullable":true,"description":"Wallet address of the hub owner, or `null` if not resolved."},"solarsystem":{"type":"string","nullable":true,"description":"Raw solar system identifier the hub is located in, or `null` if not located."},"x":{"type":"string","nullable":true,"description":"X coordinate of the hub, or `null` if not located."},"y":{"type":"string","nullable":true,"description":"Y coordinate of the hub, or `null` if not located."},"z":{"type":"string","nullable":true,"description":"Z coordinate of the hub, or `null` if not located."},"solar_system_id":{"type":"integer","nullable":true,"description":"Numeric solar system ID, or `null` if unavailable."},"solar_system_name":{"type":"string","nullable":true,"description":"Human-readable solar system name, or `null` if unavailable."},"is_public":{"type":"boolean","description":"Whether the hub location is publicly revealed."},"region_id":{"type":"integer","nullable":true,"description":"Region ID of the hub, or `null` if unknown."}},"required":["hub_id","name","assembly_item_id","assembly_tenant","type_id","owner_cap_id","owner","solarsystem","x","y","z","solar_system_id","solar_system_name","is_public","region_id"]},"OrderParty":{"type":"object","properties":{"id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID."},"owner":{"type":"string","nullable":true,"description":"The trading account object's on-chain owner, or `null` if not resolved. For an organization's account this is its trading custody, not a wallet — use `party` to identify who placed the order."},"character":{"nullable":true,"description":"The owner's character, or `null` if none is known.","allOf":[{"$ref":"#/components/schemas/OrderCharacter"}]},"party":{"description":"The player or organization behind the trading account. `kind` is `null` when the account's owner is not indexed.","allOf":[{"$ref":"#/components/schemas/TradeParty"}]}},"required":["id","owner","character","party"]},"OrderbookOrderDto":{"type":"object","properties":{"encodedOrderId":{"type":"string","description":"TriEx order ID (decimal string)."},"quantity":{"type":"string","description":"Original order quantity = remaining + filled."},"filledQuantity":{"type":"string"},"expireTimestamp":{"type":"string"},"lastUpdatedTimestamp":{"type":"string","description":"Checkpoint timestamp (ms string) of the last on-chain state change."},"epoch":{"type":"string","description":"Not tracked by the indexer; always '0'."},"status":{"type":"number","description":"0 = open. Kept for shape compatibility."},"price":{"type":"string"},"tradingAccountId":{"type":"string","description":"The trading account the order rests under (0x + 64 hex)."},"lastCheckpoint":{"type":"string","description":"Checkpoint (decimal string) of the last on-chain state change: the order already reflects every event up to it."}},"required":["encodedOrderId","quantity","filledQuantity","expireTimestamp","lastUpdatedTimestamp","epoch","status","price","tradingAccountId","lastCheckpoint"]},"OrderbookResponse":{"type":"object","properties":{"bids":{"description":"Bids, highest price first.","type":"array","items":{"$ref":"#/components/schemas/Order"}},"asks":{"description":"Asks, lowest price first.","type":"array","items":{"$ref":"#/components/schemas/Order"}}},"required":["bids","asks"]},"OrderbookResponseDto":{"type":"object","properties":{"bids":{"description":"Bids, highest first.","type":"array","items":{"$ref":"#/components/schemas/OrderbookOrderDto"}},"asks":{"description":"Asks, lowest first.","type":"array","items":{"$ref":"#/components/schemas/OrderbookOrderDto"}}},"required":["bids","asks"]},"OrgActor":{"type":"object","properties":{"type":{"type":"string","enum":["player"],"description":"Kind of participant. Currently always `player` (a game character)."},"name":{"type":"string","description":"The character's name."}},"required":["type","name"]},"OrgDirectoryEntry":{"type":"object","properties":{"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization."},"name":{"type":"string","description":"Organization name.","example":"Northwind Collective"},"treasury_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization's treasury vault — the target for deposits to this organization."},"image_url":{"type":"string","description":"URL of the organization's icon image, when one is configured."},"description":{"type":"string","description":"Organization description, when one is configured."},"member_count":{"type":"integer","description":"Number of member-tier participants across the whole organization tree — a size hint reflecting the rank-and-file, not officers."}},"required":["org_id","name","treasury_id","member_count"]},"OrgDirectoryEntryPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/OrgDirectoryEntry"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"OrgMetadata":{"type":"object","properties":{"image_url":{"type":"string","description":"URL of the organization's icon image."},"description":{"type":"string","description":"Organization description."},"version":{"type":"number","description":"Metadata schema version."},"error_reason":{"type":"string","description":"Present — instead of the other fields — when the metadata could not be resolved (e.g. the organization has none, or the fetch failed)."}}},"OrgResponse":{"type":"object","properties":{"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization."},"charter_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization's charter (name and metadata). Null when the organization could not be resolved."},"treasury_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization's treasury vault — the target for deposits to this organization. Null when unresolved."},"capability_vault_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization's capability vault, which holds the control capabilities required for officer actions. Null when not yet recorded."},"emergency_freeze_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization's emergency-freeze object. Null when unresolved."},"name":{"type":"string","nullable":true,"description":"Human-readable organization name. Null when unresolved."},"metadata_uri":{"type":"string","nullable":true,"description":"URI of the organization's metadata document. Null when unresolved. Prefer the expanded `metadata` field over fetching this yourself."},"metadata":{"description":"Expanded metadata (icon, description) resolved from `metadata_uri`, or an object carrying `error_reason` when it could not be resolved.","allOf":[{"$ref":"#/components/schemas/OrgMetadata"}]},"members":{"description":"Wallet addresses of the current governance members of this organization unit (empty for governance models without a member board).","type":"array","items":{"type":"string"}},"ous":{"description":"Child organizational units (e.g. officer and member tiers). Each entry has this same shape and may itself contain `ous`, forming the full organization tree.","type":"array","items":{"$ref":"#/components/schemas/OrgResponse"}},"actors":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/OrgActor"},"description":"Member addresses across the whole tree resolved to character names, keyed by address. Present on the top-level organization only; addresses that did not resolve to a character are omitted."},"trading_account_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization's trading trading account. Null when the organization has no trading account set up."},"subdao_control_cap_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the control capability on the parent organization that points to this unit. Null for a top-level organization."}},"required":["org_id","charter_id","treasury_id","capability_vault_id","emergency_freeze_id","name","metadata_uri","metadata","members","ous","trading_account_id","subdao_control_cap_id"]},"OrgSearchResult":{"type":"object","properties":{"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization."},"name":{"type":"string","description":"Organization name.","example":"Northwind Collective"},"treasury_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization's treasury vault — the target for deposits to this organization."},"image_url":{"type":"string","description":"URL of the organization's icon image, when one is configured."},"description":{"type":"string","description":"Organization description, when one is configured."},"root_org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the top-level organization this result belongs to."},"root_name":{"type":"string","description":"Name of the top-level organization, for labelling."},"depth":{"type":"integer","description":"Depth of the matched unit below its top-level organization: 0 = the organization itself, 1 = officer tier, 2 or more = member tier."}},"required":["org_id","name","treasury_id","root_org_id","root_name","depth"]},"PlayerPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PlayerResponse"}},"next_cursor":{"type":"string","nullable":true,"description":"Opaque cursor for the next page — pass it back as `cursor`; null on the last page."}},"required":["data","next_cursor"]},"PlayerResponse":{"type":"object","properties":{"address":{"type":"string","example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Player wallet address."},"name":{"type":"string","description":"Name of the wallet’s current (newest) character."},"tenant":{"type":"string","example":"stillness"},"created_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the current character was created. Unix epoch milliseconds."}},"required":["address","name","tenant","created_at"]},"PoolAccountFeeResponse":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (orderbook) object ID, normalized."},"trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID, normalized."},"class":{"type":"number","example":1,"description":"The pool's fee class (u16)."},"tier":{"type":"number","example":0,"description":"The account's tier: an index into active_schedule.tiers."},"taker_fee":{"type":"string","example":"25000000","description":"Taker fee this account pays in this pool now (its tier of the active schedule), scaled by 1e9 (u64 string). Always present."},"maker_fee":{"type":"string","example":"18000000","description":"Maker fee this account pays in this pool now, scaled by 1e9 (u64 string). Always present."},"taker_fee_rate":{"type":"number","example":0.025,"description":"Decimal form of taker_fee (taker_fee / 1e9)."},"maker_fee_rate":{"type":"number","example":0.018,"description":"Decimal form of maker_fee (maker_fee / 1e9)."},"turnover":{"type":"string","example":"5000000000","description":"Trailing fee turnover the tier resolves against, raw quote units (u128 string): taker fees paid plus maker fees earned across the pool's quote over the last 30 epochs, minus maker fees still waiting to fold in other pools. Equals the chain once the indexer has caught up with the account's latest fills; never higher than the chain."},"to_next_tier":{"type":"string","example":"15000000000","nullable":true,"description":"Turnover still needed for the next tier; null at the top tier."},"cancel_retention_bps":{"type":"number","example":2000,"description":"The class's cancel retention, in basis points: the share of a bid maker's escrowed fee kept on cancel, modify-down or expiry."},"active_schedule":{"description":"The schedule pricing trades in `epoch`.","allOf":[{"$ref":"#/components/schemas/FeeScheduleDto"}]},"next_schedule":{"description":"The schedule staged to take over at next_effective_epoch; equal to active_schedule when nothing is pending.","allOf":[{"$ref":"#/components/schemas/FeeScheduleDto"}]},"next_effective_epoch":{"type":"string","example":"1043","description":"Epoch next_schedule takes over (u64 string); at or before `epoch` it already has."},"epoch":{"type":"string","example":"1042","description":"The chain epoch everything above resolved at (u64 string)."},"as_of_checkpoint":{"type":"string","example":"287341120","nullable":true,"description":"Indexer checkpoint the data includes (also in X-Indexer-Checkpoint); null when unknown."}},"required":["pool_id","trading_account_id","class","tier","taker_fee","maker_fee","taker_fee_rate","maker_fee_rate","turnover","to_next_tier","cancel_retention_bps","active_schedule","next_schedule","next_effective_epoch","epoch","as_of_checkpoint"]},"PoolCurrentFeeResponse":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (orderbook) object ID, normalized."},"taker_fee":{"type":"string","example":"20000000","description":"Current taker fee — the entry tier of the pool's fee class, or its creation-time rate when no class schedule is indexed — as a raw integer string scaled by 1e9 (20000000 = 2%). Always present."},"maker_fee":{"type":"string","example":"10000000","description":"Current maker fee (same source and scaling as taker_fee), charged when a resting order fills. Always present."},"taker_fee_rate":{"type":"number","example":0.02,"description":"Decimal form of taker_fee (taker_fee / 1e9), e.g. 0.02 = 2%."},"maker_fee_rate":{"type":"number","example":0.01,"description":"Decimal form of maker_fee (maker_fee / 1e9), e.g. 0.01 = 1%."}},"required":["pool_id","taker_fee","maker_fee","taker_fee_rate","maker_fee_rate"]},"PoolFeeResponseDto":{"type":"object","properties":{"pool_id":{"type":"string"},"quote_type":{"type":"string"},"total_deposited":{"type":"string","description":"Total fees deposited (raw string)."},"total_withdrawn":{"type":"string","description":"Total fees withdrawn (raw string)."},"fees_available_to_claim":{"type":"string","description":"Unclaimed balance (deposited − withdrawn)."}},"required":["pool_id","quote_type","total_deposited","total_withdrawn","fees_available_to_claim"]},"PoolMetadataResponseDto":{"type":"object","properties":{"pool_id":{"type":"string"},"pool_name":{"type":"string"},"base_asset_symbol":{"type":"string"},"base_asset_name":{"type":"string","nullable":true},"base_asset_decimals":{"type":"number"},"quote_asset_symbol":{"type":"string"},"quote_asset_name":{"type":"string","nullable":true},"quote_asset_decimals":{"type":"number"},"storage_unit_id":{"type":"string","nullable":true,"description":"Storage unit ID for multicoin pools; null otherwise."},"asset_id":{"type":"string","nullable":true,"description":"Numeric asset type ID for multicoin pools; null otherwise."},"collection_id":{"type":"string","nullable":true,"description":"MultiCoin vault collection ID; null for regular pools."},"fee":{"type":"string","nullable":true,"description":"Current pool taker fee — the entry tier of the pool's fee class, or its creation-time rate when no class schedule is indexed — scaled by 1e9 (20000000 = 2%)."},"fee_rate":{"type":"number","nullable":true,"description":"Decimal form of the pool fee (fee / 1e9), e.g. 0.02 for 2%."},"maker_fee":{"type":"string","nullable":true,"description":"Current pool maker fee — the entry tier of the pool's fee class, or its creation-time rate when no class schedule is indexed — scaled by 1e9 (18000000 = 1.8%). Charged when a resting order fills."},"maker_fee_rate":{"type":"number","nullable":true,"description":"Decimal form of the pool maker fee (maker_fee / 1e9), e.g. 0.018 for 1.8%."}},"required":["pool_id","pool_name","base_asset_symbol","base_asset_name","base_asset_decimals","quote_asset_symbol","quote_asset_name","quote_asset_decimals","storage_unit_id","asset_id","collection_id","fee","fee_rate","maker_fee","maker_fee_rate"]},"PoolResolveResponseDto":{"type":"object","properties":{"pool_id":{"type":"string","nullable":true,"description":"Resolved pool (orderbook) object ID, or null if none exists."}},"required":["pool_id"]},"PoolSummary":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID."},"kind":{"type":"string","enum":["coin","item"],"description":"`coin`: a `Pool<Base, Quote>` of two coins (prices on the 1e9 scaling); `item`: a `MultiCoinPool<Quote>` of one item of a warehouse vault collection (prices in quote base units per item)."},"base_type":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Base coin type, as the indexer stores it. `null` for an item pool.","nullable":true},"quote_type":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Quote coin type, as the indexer stores it."},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Warehouse vault collection the item belongs to. `null` for a coin pool.","nullable":true},"asset_id":{"type":"string","nullable":true,"example":"78516","description":"Numeric item type ID. `null` for a coin pool."},"storage_unit_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Storage unit (trade hub) holding the collection’s vault, when indexed. `null` for a coin pool.","nullable":true},"created_checkpoint":{"type":"string","example":"389612345","description":"Checkpoint of the pool’s creation (u64 decimal string)."},"created_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When the pool was created. Unix epoch milliseconds."},"created_tx_digest":{"type":"string","example":"GhDDirW9VFu454dW1iHfJmPGUowUUkzhQeoZ1Nx9tKjq","description":"Digest of the transaction that created the pool."}},"required":["pool_id","kind","base_type","quote_type","collection_id","asset_id","storage_unit_id","created_checkpoint","created_at","created_tx_digest"]},"PoolSummaryPage":{"type":"object","properties":{"data":{"description":"One page of results, in the requested order.","type":"array","items":{"$ref":"#/components/schemas/PoolSummary"}},"next_cursor":{"type":"string","nullable":true,"example":"MTAw","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results."}},"required":["data","next_cursor"]},"ProposalCompositeStep":{"type":"object","properties":{"step_index":{"type":"integer","description":"Zero-based position of this step within the composite proposal."},"step_type_key":{"type":"string","description":"The step's proposal type key."},"step_type":{"type":"string","nullable":true,"description":"Fully-qualified on-chain payload type of the step, or null when it could not be decoded."}},"required":["step_index","step_type_key","step_type"]},"ProposalConfigResponse":{"type":"object","properties":{"quorum":{"type":"integer","description":"Share of the snapshot weight that must vote, in basis points (1–10000)."},"approval_threshold":{"type":"integer","description":"Share of cast weight that must vote yes, in basis points (5000–10000)."},"propose_threshold":{"type":"string","example":"0","description":"Minimum voting weight the proposer needs to create one (0 = none). u64 as a decimal string."},"expiry_ms":{"type":"string","example":"604800000","description":"How long voting stays open, and how long a passed proposal stays executable once its execution delay has elapsed, in milliseconds. u64 as a decimal string; very large values mean \"never expires\" (can exceed 2^53)."},"execution_delay_ms":{"type":"string","example":"3600000","description":"Delay between passing and becoming executable, in milliseconds. u64 as a decimal string."},"cooldown_ms":{"type":"string","example":"0","description":"Minimum time between executions of this proposal type, in milliseconds (0 = none). u64 as a decimal string."},"composable_allowed":{"type":"boolean","description":"Whether this type may be used as a composite step."},"permissions":{"type":"string","example":"128","description":"Bits from `armature::permissions` naming the OU-wide mutations a proposal of this type may perform. u64 as a decimal string."},"borrow_scope":{"description":"Capability types a proposal of this type may borrow from the capability vault.","type":"array","items":{"type":"string"}}},"required":["quorum","approval_threshold","propose_threshold","expiry_ms","execution_delay_ms","cooldown_ms","composable_allowed","permissions","borrow_scope"]},"ProposalResponse":{"type":"object","properties":{"proposal_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the proposal."},"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the organization the proposal belongs to."},"type_key":{"type":"string","nullable":true,"description":"Proposal type key (e.g. `Composite`), or null when unknown."},"proposer":{"type":"string","nullable":true,"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Address that created the proposal, or null when unknown."},"status":{"type":"string","enum":["pending","passed","executed","expired"],"description":"Lifecycle status of the proposal. `pending` includes proposals whose voting window has lapsed but that have not yet been finalized."},"yes_weight":{"type":"number","description":"Total voting weight cast in favor."},"no_weight":{"type":"number","description":"Total voting weight cast against."},"payload_type":{"type":"string","nullable":true,"description":"Fully-qualified on-chain payload type of the proposal, or null when it could not be decoded."},"frame_id":{"type":"string","nullable":true,"example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of a composite proposal's shared frame. Null for every other proposal type."},"created_checkpoint":{"type":"integer","description":"Checkpoint sequence number at which the proposal was first observed (approximately its creation). Note: a checkpoint number, not a timestamp."},"metadata_ipfs":{"type":"string","nullable":true,"description":"IPFS CID of the proposal's off-chain metadata, as recorded when the proposal was created, or null when none was set."},"config":{"nullable":true,"description":"Governance config the proposal was created under: its type slot's config as of the creation event. Stays available after the on-chain proposal is deleted on execution or expiry. Null when the slot had been removed at creation or no slot history is indexed for it.","allOf":[{"$ref":"#/components/schemas/ProposalConfigResponse"}]},"created_ms":{"type":"integer","nullable":true,"example":1775739423394,"description":"Creation time of the proposal (Unix epoch milliseconds): the timestamp of the checkpoint holding its creation event. Null when the creation event is not indexed."},"payload_bcs":{"type":"string","nullable":true,"format":"byte","description":"BCS bytes (base64) of the proposal's payload, recorded when it was created. Decode against `payload_type`. Stays available after the on-chain proposal is deleted on execution or expiry, so it is the record of what an executed proposal did. Null when not indexed."},"executor":{"type":"string","nullable":true,"example":"0x2a4b6e7c8d9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b","description":"Address that executed the proposal, or null when not executed."},"executed_ms":{"type":"integer","nullable":true,"example":1775739423394,"description":"Execution time of the proposal (Unix epoch milliseconds): the timestamp of the checkpoint holding its execution event. Null when not executed."},"composite":{"description":"Ordered steps of a composite proposal; omitted for every other proposal type.","type":"array","items":{"$ref":"#/components/schemas/ProposalCompositeStep"}}},"required":["proposal_id","org_id","type_key","proposer","status","yes_weight","no_weight","payload_type","frame_id","created_checkpoint","metadata_ipfs","config","created_ms","payload_bcs","executor","executed_ms"]},"Route":{"type":"object","description":"Complete route from source to destination","required":["waypoints","total_cost","optimization"],"properties":{"optimization":{"$ref":"#/components/schemas/RouteOptimization","description":"Optimization the search actually used."},"total_cost":{"$ref":"#/components/schemas/RouteCost","description":"Jump counts and travel distance for the whole route."},"waypoints":{"type":"array","items":{"$ref":"#/components/schemas/Waypoint"},"description":"Ordered waypoints, starting at the origin and ending at the destination."}}},"RouteComparison":{"type":"object","description":"All three optimizations for one origin/destination pair.","required":["fuel_efficient","fastest","balanced"],"properties":{"balanced":{"$ref":"#/components/schemas/Route","description":"Route interpolating between the two, weighted by `gate_weight`."},"fastest":{"$ref":"#/components/schemas/Route","description":"Route minimising travel time (prefers jump drives)."},"fuel_efficient":{"$ref":"#/components/schemas/Route","description":"Route minimising fuel burn (prefers stargates)."}}},"RouteCost":{"type":"object","description":"Total cost metrics for a route","required":["drive_distance_ly","total_distance_ly","gate_jumps","drive_jumps","total_jumps"],"properties":{"drive_distance_ly":{"type":"number","format":"double","description":"Distance covered by jump-drive hops only, in light years."},"drive_jumps":{"type":"integer","description":"Number of jump-drive hops.","example":2,"minimum":0},"gate_jumps":{"type":"integer","description":"Number of stargate hops.","example":12,"minimum":0},"total_distance_ly":{"type":"number","format":"double","description":"Distance covered by the whole route, in light years (drive hops plus the\nspatial distance spanned by stargate hops)."},"total_jumps":{"type":"integer","description":"Total hops — the jump count a player sees. Equals\n`gate_jumps + drive_jumps`.","example":14,"minimum":0}}},"RouteOptimization":{"type":"string","description":"Route optimization mode","enum":["fuel_efficient","fastest","balanced"]},"RoutingStats":{"type":"object","description":"Coverage of the loaded routing graph.","required":["connected_systems","stargate_edges","jump_drive_edges","max_jump_range_ly"],"properties":{"connected_systems":{"type":"integer","description":"Solar systems reachable over the stargate network. Lower than the total\nsystem count — not every system has a stargate.","example":24022,"minimum":0},"jump_drive_edges":{"type":"integer","description":"Jump-drive edges within the service's default maximum range.","minimum":0},"max_jump_range_ly":{"type":"number","format":"double","description":"Maximum jump-drive range used to build the default graph, in light years.","example":60},"stargate_edges":{"type":"integer","description":"Stargate edges in the graph (counted once per bidirectional link).","minimum":0}}},"SearchResponse":{"type":"object","properties":{"characters":{"description":"Characters whose name matches the search term.","type":"array","items":{"$ref":"#/components/schemas/CharacterSummary"}},"orgs":{"description":"Organization units matching the search term by name, organization ID, or treasury ID.","type":"array","items":{"$ref":"#/components/schemas/OrgSearchResult"}}},"required":["characters","orgs"]},"SolarSystem":{"type":"object","description":"A solar system and its place in the star map.","required":["solar_system_id","location"],"properties":{"constellation_id":{"type":["integer","null"],"format":"int64","description":"Constellation containing this system, or `null` when unknown.","example":20000070},"location":{"$ref":"#/components/schemas/Coordinates","description":"Position of the system, in meters."},"region_id":{"type":["integer","null"],"format":"int64","description":"Region containing this system, or `null` when unknown. Matches\n`region_id` on the market-data API's hub and trade responses.","example":10000013},"solar_system_id":{"type":"integer","format":"int64","description":"Numeric solar system ID.","example":30001053},"solar_system_name":{"type":["string","null"],"description":"Human-readable solar system name, or `null` until a player has\nreported it. Names are player-discovered, so a system can be found by\nID long before it can be found by name.","example":"IF3-HS9"}}},"SolarSystemName":{"type":"object","properties":{"solar_system_id":{"type":"integer","description":"Numeric solar system ID."},"solar_system_name":{"type":"string","nullable":true,"description":"Human-readable solar system name, or null if unknown."}},"required":["solar_system_id","solar_system_name"]},"SolarSystemSuggestion":{"type":"object","description":"One autocomplete suggestion.","required":["solar_system_id","solar_system_name"],"properties":{"solar_system_id":{"type":"integer","format":"int64","description":"Numeric solar system ID.","example":30007477},"solar_system_name":{"type":"string","description":"Human-readable solar system name. Always present: only reported\nnames are suggested.","example":"EHK-1D2"}}},"SpatialStatsResponse":{"type":"object","description":"Coverage of the loaded star map.","required":["total_systems","known_solar_system_names","status"],"properties":{"known_solar_system_names":{"type":"integer","description":"Number of solar systems whose name a player has reported and this\ninstance has cached. Only these can be looked up by name.","example":15,"minimum":0},"status":{"type":"string","description":"Service status. `operational` when the index is loaded and queryable.","example":"operational"},"total_systems":{"type":"integer","description":"Number of solar systems in the coordinate index.","example":24018,"minimum":0}}},"StatsDailyPilots":{"type":"object","properties":{"day_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Start of the UTC day. Unix epoch milliseconds."},"pilots":{"type":"integer","description":"Pilots first seen on that day."}},"required":["day_at","pilots"]},"StatsDailyTrades":{"type":"object","properties":{"day_at":{"type":"integer","format":"int64","example":1755043200000,"description":"Start of the UTC day. Unix epoch milliseconds."},"trades":{"type":"integer","description":"Trades executed on that day."}},"required":["day_at","trades"]},"StatsMarketplace":{"type":"object","properties":{"trades":{"description":"Trade counts by window.","allOf":[{"$ref":"#/components/schemas/StatsTradeCounts"}]},"active_traders":{"description":"Distinct trading accounts by window.","allOf":[{"$ref":"#/components/schemas/StatsTraderCounts"}]},"open_orders":{"type":"integer","description":"Orders currently resting on item-market order books."},"traders_with_open_orders":{"type":"integer","description":"Distinct accounts with at least one open order."},"items_with_markets":{"type":"integer","description":"Item types with at least one live market."},"trade_hubs":{"type":"integer","description":"Trade hubs with at least one open order."},"volume_all_time":{"description":"All-time traded volume per quote currency, largest first.","type":"array","items":{"$ref":"#/components/schemas/StatsQuoteVolume"}},"volume_d7":{"description":"Traded volume per quote currency over the last 7 days, largest first. Only currencies that traded in the window are listed.","type":"array","items":{"$ref":"#/components/schemas/StatsQuoteVolume"}},"top_items_d7":{"description":"Top item types by quote volume over the last 7 days, largest first.","type":"array","items":{"$ref":"#/components/schemas/StatsTopItem"}}},"required":["trades","active_traders","open_orders","traders_with_open_orders","items_with_markets","trade_hubs","volume_all_time","volume_d7","top_items_d7"]},"StatsOrganizations":{"type":"object","properties":{"total":{"type":"integer","description":"Root organizations."},"pilots_in_orgs":{"type":"integer","description":"Distinct pilots that are members of an organization."},"org_units":{"type":"integer","description":"Organizational units (sub-org edges) across all orgs."},"largest":{"description":"Largest organizations by member count, largest first.","type":"array","items":{"$ref":"#/components/schemas/StatsTopOrg"}}},"required":["total","pilots_in_orgs","org_units","largest"]},"StatsPilots":{"type":"object","properties":{"total":{"type":"integer","description":"Pilots seen, all time."},"new_d7":{"type":"integer","description":"Pilots first seen in the last 7 days."}},"required":["total","new_d7"]},"StatsQuoteVolume":{"type":"object","properties":{"quote_type":{"type":"string","description":"Fully-qualified coin type of the quote currency (`<address>::<module>::<STRUCT>`)."},"symbol":{"type":"string","example":"CRED","description":"Ticker symbol of the quote currency."},"decimals":{"type":"integer","description":"Decimal places of the quote currency."},"raw":{"type":"string","description":"Traded volume in raw quote units (integer, decimal string)."},"human":{"type":"string","description":"Traded volume in human-readable quote units (`raw` shifted by `decimals`)."},"trades":{"type":"integer","description":"Number of trades in this quote currency."}},"required":["quote_type","symbol","decimals","raw","human","trades"]},"StatsResponse":{"type":"object","properties":{"computed_at":{"type":"integer","format":"int64","example":1755043200000,"description":"When these aggregates were computed. Results are cached for up to 60 seconds. Unix epoch milliseconds."},"marketplace":{"description":"Marketplace activity aggregates.","allOf":[{"$ref":"#/components/schemas/StatsMarketplace"}]},"organizations":{"description":"Organization aggregates.","allOf":[{"$ref":"#/components/schemas/StatsOrganizations"}]},"storage":{"description":"Shared-storage aggregates.","allOf":[{"$ref":"#/components/schemas/StatsStorage"}]},"pilots":{"description":"Pilot aggregates.","allOf":[{"$ref":"#/components/schemas/StatsPilots"}]},"series":{"description":"30-day daily activity series.","allOf":[{"$ref":"#/components/schemas/StatsSeries"}]}},"required":["computed_at","marketplace","organizations","storage","pilots","series"]},"StatsSeries":{"type":"object","properties":{"trades_daily_30d":{"description":"Daily trade counts over the last 30 days, oldest first.","type":"array","items":{"$ref":"#/components/schemas/StatsDailyTrades"}},"new_pilots_daily_30d":{"description":"Daily new-pilot counts over the last 30 days, oldest first.","type":"array","items":{"$ref":"#/components/schemas/StatsDailyPilots"}}},"required":["trades_daily_30d","new_pilots_daily_30d"]},"StatsStorage":{"type":"object","properties":{"org_vaults":{"type":"integer","description":"Active organization-shared storage vaults."},"orgs_with_vaults":{"type":"integer","description":"Distinct organizations with at least one active vault."},"hubs_with_storage":{"type":"integer","description":"Trade hubs with shared storage enabled."},"pilots_with_access":{"type":"integer","description":"Distinct pilots with access to a shared vault (direct grants plus organization-derived grants, deduplicated)."}},"required":["org_vaults","orgs_with_vaults","hubs_with_storage","pilots_with_access"]},"StatsTopItem":{"type":"object","properties":{"asset_id":{"type":"string","example":"77800","description":"Item type (asset) ID."},"trades":{"type":"integer","description":"Trades in the last 7 days."},"units":{"type":"string","description":"Item units exchanged (integer, decimal string)."},"volume_raw":{"type":"string","description":"Traded volume in raw quote units (integer, decimal string)."},"volume":{"type":"string","description":"Traded volume in human-readable quote units."},"quote_symbol":{"type":"string","example":"CRED","description":"Ticker symbol of the quote currency the volume is in."}},"required":["asset_id","trades","units","volume_raw","volume","quote_symbol"]},"StatsTopOrg":{"type":"object","properties":{"org_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Organization object ID."},"name":{"type":"string","description":"Organization name."},"member_count":{"type":"integer","description":"Members across the organization’s line units."}},"required":["org_id","name","member_count"]},"StatsTradeCounts":{"type":"object","properties":{"all_time":{"type":"integer","description":"Trades executed, all time."},"h24":{"type":"integer","description":"Trades executed in the last 24 hours."},"d7":{"type":"integer","description":"Trades executed in the last 7 days."}},"required":["all_time","h24","d7"]},"StatsTraderCounts":{"type":"object","properties":{"all_time":{"type":"integer","description":"Distinct accounts that have ever traded."},"d7":{"type":"integer","description":"Distinct accounts that traded in the last 7 days."}},"required":["all_time","d7"]},"Sweepable":{"type":"object","properties":{"trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID the snapshot is for."},"as_of_checkpoint":{"type":"string","nullable":true,"description":"Checkpoint sequence number up to which this snapshot is current, or `null` if freshness could not be determined. Data typically lags the chain by a few seconds."},"pools":{"description":"Pools where the account has settled (claimable) or owed balances.","type":"array","items":{"$ref":"#/components/schemas/SweepablePool"}},"items":{"description":"Idle item balances already held by the trading account.","type":"array","items":{"$ref":"#/components/schemas/SweepableItem"}},"coin_pools":{"description":"Coin pools where the account has settled (claimable) or owed balances, or fee-tier turnover still to fold.","type":"array","items":{"$ref":"#/components/schemas/SweepableCoinPool"}}},"required":["trading_account_id","as_of_checkpoint","pools","items","coin_pools"]},"SweepableBalances":{"type":"object","properties":{"base":{"type":"string","description":"Base (item) amount (raw integer, decimal string)."},"quote":{"type":"string","description":"Quote-currency amount (raw integer, decimal string)."},"cred":{"type":"string","description":"CRED amount (raw integer, decimal string)."}},"required":["base","quote","cred"]},"SweepableCoinPool":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID."},"base_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Base coin type of the pool — the first type argument to use when withdrawing settled amounts."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Quote coin type of the pool — the second type argument to use when withdrawing settled amounts."},"settled":{"description":"Settled amounts, claimable into the trading account.","allOf":[{"$ref":"#/components/schemas/SweepableBalances"}]},"owed":{"description":"Amounts currently owed by the account (informational).","allOf":[{"$ref":"#/components/schemas/SweepableBalances"}]},"open_order_count":{"type":"integer","description":"Number of orders the account still has open on this pool."},"pending_turnover":{"type":"string","example":"2980000000","description":"Maker-fee turnover this pool holds for the account, not yet folded into its exchange-wide fee-tier turnover (raw quote units, decimal string). Non-zero means `pool::fold_pending_turnover` would raise the account's turnover."},"pending_turnover_epoch":{"type":"string","nullable":true,"example":"1242","description":"Epoch of the newest pending entry; null when none."}},"required":["pool_id","base_asset_id","quote_asset_id","settled","owed","open_order_count","pending_turnover","pending_turnover_epoch"]},"SweepableItem":{"type":"object","properties":{"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the item collection."},"asset_id":{"type":"string","example":"77800","description":"Item type (asset) ID."},"amount":{"type":"string","description":"Item amount held (raw integer, decimal string)."},"storage_unit_id":{"type":"string","nullable":true,"description":"Storage unit (trade hub) object ID backing the collection, or `null` if not yet indexed."},"vault_config_id":{"type":"string","nullable":true,"description":"Object ID of the hub's vault configuration, or `null` if not yet indexed."}},"required":["collection_id","asset_id","amount","storage_unit_id","vault_config_id"]},"SweepablePool":{"type":"object","properties":{"pool_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Pool (order book) object ID."},"collection_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the pool's item collection."},"asset_id":{"type":"string","example":"77800","description":"Item type (asset) ID traded by the pool."},"quote_asset_id":{"type":"string","example":"0x9f3a1b2c…::cred::CRED","description":"Quote coin type of the pool — the type argument to use when withdrawing settled amounts.","nullable":true},"storage_unit_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Storage unit (trade hub) object ID backing the market."},"vault_config_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Object ID of the hub's vault configuration."},"settled":{"description":"Settled amounts, claimable into the trading account.","allOf":[{"$ref":"#/components/schemas/SweepableBalances"}]},"owed":{"description":"Amounts currently owed by the account (informational).","allOf":[{"$ref":"#/components/schemas/SweepableBalances"}]},"open_order_count":{"type":"integer","description":"Number of orders the account still has open on this pool."},"pending_turnover":{"type":"string","example":"2980000000","description":"Maker-fee turnover this pool holds for the account, not yet folded into its exchange-wide fee-tier turnover (raw quote units, decimal string). Non-zero means `multicoin_pool::fold_pending_turnover` would raise the account's turnover."},"pending_turnover_epoch":{"type":"string","nullable":true,"example":"1242","description":"Epoch of the newest pending entry; null when none."}},"required":["pool_id","collection_id","asset_id","quote_asset_id","storage_unit_id","vault_config_id","settled","owed","open_order_count","pending_turnover","pending_turnover_epoch"]},"TradeParty":{"type":"object","properties":{"trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account object ID on this side."},"kind":{"type":"string","enum":["player","org"],"nullable":true,"description":"`player` for a wallet-owned trading account, `org` for one held by an organization's trading custody; `null` when the account's owner is not indexed."},"id":{"type":"string","nullable":true,"description":"The player's wallet address, or the organization's object ID. `null` when unresolved."},"name":{"type":"string","nullable":true,"description":"The player's current character name, or the organization's name. `null` when unknown."},"root_org_id":{"type":"string","nullable":true,"description":"Organizations only: object ID of the top-level organization this one sits under (itself when it is the top level). `null` for players."},"root_org_name":{"type":"string","nullable":true,"description":"Organizations only: name of the top-level organization. `null` for players or when unknown."}},"required":["trading_account_id","kind","id","name","root_org_id","root_org_name"]},"TradingAccountOwner":{"type":"object","properties":{"trading_account_id":{"type":"string","example":"0x7f3a9b2c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8","description":"Trading account Sui object ID."},"owner":{"type":"string","nullable":true,"description":"`player:<wallet_address>` for a character-owned trading account, or `ou:<org_id>` for an organization-owned one; null if unresolved."},"owner_name":{"type":"string","nullable":true,"description":"Matching character or organization's display name, or null."},"root_ou_id":{"type":"string","nullable":true,"description":"Top-level organization ID when the owner is a sub-organization; else null."}},"required":["trading_account_id","owner","owner_name","root_ou_id"]},"TribeResponse":{"type":"object","properties":{"tribe_id":{"type":"integer","description":"Numeric tribe ID.","example":98000001},"name":{"type":"string","description":"Full tribe name."},"name_short":{"type":"string","description":"Short tribe name / ticker."},"description":{"type":"string","description":"Tribe description."},"tax_rate":{"type":"number","description":"The tribe's tax rate."},"tribe_url":{"type":"string","description":"URL of the tribe's public page."}},"required":["tribe_id","name","name_short","description","tax_rate","tribe_url"]},"Waypoint":{"type":"object","description":"A waypoint in a calculated route","required":["solar_system_id","jump_type"],"properties":{"distance_ly":{"type":["number","null"],"format":"double","description":"Length of the hop that reaches this waypoint, in light years. Present\nonly for `jump_drive` hops — stargate hops have no traversal distance."},"jump_type":{"$ref":"#/components/schemas/JumpType","description":"How this waypoint is reached from the previous one. `start` on the first\nwaypoint, then `stargate` or `jump_drive` per hop."},"solar_system_id":{"type":"integer","format":"int64","description":"Numeric solar system ID of this hop.","example":30000142},"solar_system_name":{"type":["string","null"],"description":"Human-readable solar system name, or `null` when unavailable.","example":"EHK-KH7"}}}}},"tags":[{"name":"Characters","description":"EVE Frontier characters and players: look up by object id, wallet address or name, batch-resolve addresses, and list players."},{"name":"Explore","description":"Cross-cutting views: search across characters and organizations, the open-orders discovery feed, platform statistics, leaderboards and recent marketplace activity."},{"name":"Hauling","description":"Hauling agreements: search agreements, protocol config and stats, a single agreement, and an organization's or player's agreements, open jobs, to-do list and record."},{"name":"Map and routing","description":"The EVE Frontier star map: solar system names and details, nearby systems, systems near a point in space, and fuel, time and balanced routes between systems."},{"name":"Organizations","description":"Armature organizations: batch lookup, the discovery directory, an organization with its unit tree, its governance proposals, and the organizations a player belongs to."},{"name":"Trade hubs","description":"Trinary Exchange trade hubs (smart storage units): locations and nearby hubs, enriched hub and assembly data, vaults, the items listed at a hub, its most-traded items, and authoritative hub inventory balances."},{"name":"Trading","description":"Item and coin markets: order books, pools and their fees, single orders, fills and recent trades, trading-account history and open orders, display prices and the coin registry."},{"name":"World","description":"Static EVE Frontier game data: item types and their variants, crafting recipes (blueprints) and tribes."}]}