> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibechain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read projected pot accounting

> Returns the raw projected pot or null and a head. Wei amounts remain strings; missing accounting values are not zero.



## OpenAPI

````yaml /api-reference/vibemarket_openapi.json get /runtime/{version}/pot
openapi: 3.0.3
info:
  title: vibe.market API
  version: '2026-10-14'
  description: >-
    Public developer API for vibe.market at https://vibechain.com/market.
    $SPORTS stands for Society for the Preservation of Rare Trading Stuff. Packs
    can feature memes, art or any other collectible theme permitted by the
    Terms; they are not limited to sports. This is an experimental protocol;
    review https://vibechain.com/terms. Every documented API request requires a
    registered API-KEY, including public-data reads. Keys are shared across
    Vibechain products and never replace action-specific wallet authorization.
    Normal per-replica minute budgets are 100 reads, 25 writes and 10 stream
    connections, multiplied by the approved key multiplier. Discover runtime
    graphs rather than hardcoding a revision. Wallet inventory is graph-scoped
    at /runtime/{version}/board?resource=inventory&owner={wallet}; there is no
    aggregate /user/holdings route. The /api/vibemarket2 namespace is
    intentional. First-party account, chat, direct-message, access, moderation,
    provider-webhook and operator workflows are excluded.
  termsOfService: https://vibechain.com/terms
servers:
  - url: https://build.vibechain.com/api/vibemarket2
    description: Current-market backend
security:
  - ApiKey: []
tags:
  - name: Discovery
  - name: Indexed market
  - name: Board
  - name: Live updates
  - name: Creators
  - name: Artwork
  - name: API keys
  - name: Shared services
paths:
  /runtime/{version}/pot:
    get:
      tags:
        - Indexed market
      summary: Read projected pot accounting
      description: >-
        Returns the raw projected pot or null and a head. Wei amounts remain
        strings; missing accounting values are not zero.
      operationId: vm2017
      parameters:
        - name: version
          in: path
          required: true
          schema:
            type: string
          description: >-
            Runtime id from /runtime/versions or catalog/sources; never infer
            the newest revision from its name.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pot'
        '401':
          $ref: '#/components/responses/ApiKeyUnauthorized'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/ApiKeyRateLimited'
        '503':
          description: >-
            Dependency, projection or capacity unavailable. Retry with backoff.
            Key lookup or application dependency unavailable; fails closed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKey: []
components:
  schemas:
    Pot:
      type: object
      properties:
        pot:
          type: object
          nullable: true
          description: >-
            Raw pot/accounting snapshot, with decimal-string wei values and
            solvency/funding indicators when indexed.
        head:
          $ref: '#/components/schemas/Head'
      required:
        - pot
        - head
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    Head:
      type: object
      properties:
        scope:
          type: string
        nextBlock:
          type: integer
        blockHash:
          type: string
          nullable: true
        revision:
          type: integer
        updatedAt:
          type: integer
        failure:
          type: string
          nullable: true
        observedHead:
          type: integer
        observedAt:
          type: integer
        webhookAudit:
          type: object
          nullable: true
      required:
        - scope
        - nextBlock
        - blockHash
        - revision
        - updatedAt
        - failure
  responses:
    ApiKeyUnauthorized:
      description: >-
        Missing, malformed or invalid API key; private routes can also reject
        session credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ApiKeyRateLimited:
      description: >-
        API-key budget, failed key attempts or independent service admission
        exhausted. Honor Retry-After.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: API-KEY
      description: >-
        Registered Vibechain application key. Required in addition to
        wallet/session credentials. Obtain your own key via POST
        https://build.vibechain.com/apikey/create; see Authentication and
        consent. Missing/invalid keys: 401; exhausted quota: 429; lookup outage:
        503.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.