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

# List Yield Claims

> Returns the holder's YieldDistributor merkle claims as a flat list. Each entry is self-contained — it carries its own `chainId` and `distributor` address — so it can be passed directly into the corresponding contract's `claim()`. Sorted by `periodId` ascending. Each entry's `status` is `claimed` (already pulled on-chain) or `unclaimed` (finalized and within the claim window). Periods that are unpublished, still in the operator replace window, or expired-without-claim are omitted. When `chainId` is omitted, results cover every configured chain that has a deployed YieldDistributor.



## OpenAPI

````yaml /api-reference/openapi.json get /yield/{address}
openapi: 3.1.0
info:
  title: Camino Treasury API
  description: >-
    API for managing treasury wallets, tracking transfers (on-chain and fiat) in
    a unified feed, depositing into C0, withdrawing to wallets, and claiming
    yield distributions.
  version: 1.0.0
servers:
  - url: https://api.caminotreasury.com/v1
security:
  - apiKeyAuth: []
paths:
  /yield/{address}:
    get:
      tags:
        - Yield
      summary: List Yield Claims
      description: >-
        Returns the holder's YieldDistributor merkle claims as a flat list. Each
        entry is self-contained — it carries its own `chainId` and `distributor`
        address — so it can be passed directly into the corresponding contract's
        `claim()`. Sorted by `periodId` ascending. Each entry's `status` is
        `claimed` (already pulled on-chain) or `unclaimed` (finalized and within
        the claim window). Periods that are unpublished, still in the operator
        replace window, or expired-without-claim are omitted. When `chainId` is
        omitted, results cover every configured chain that has a deployed
        YieldDistributor.
      operationId: listYieldClaims
      parameters:
        - name: address
          in: path
          required: true
          description: 0x-address of the holder to look up.
          schema:
            type: string
            pattern: ^0x[a-fA-F0-9]{40}$
        - name: chainId
          in: query
          required: false
          description: >-
            Restrict the response to a single chain. Defaults to returning
            entries from every chain the server is configured for.
          schema:
            type: integer
            minimum: 1
      responses:
        '200':
          description: Claimed and unclaimed entries for the holder.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YieldResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    YieldResponse:
      type: object
      required:
        - data
        - count
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ClaimEntry'
          description: >-
            One entry per (chain, period) the holder appears in — sorted by
            `periodId` ascending. Unpublished, unfinalized, and
            expired-without-claim periods are omitted.
        count:
          type: integer
          description: Length of `data`.
    ClaimEntry:
      type: object
      required:
        - chainId
        - distributor
        - periodId
        - status
        - root
        - index
        - account
        - amount
        - proof
      properties:
        chainId:
          type: integer
          description: Chain this period lives on.
        distributor:
          type: string
          description: YieldDistributor contract address on `chainId`.
          pattern: ^0x[a-fA-F0-9]{40}$
        periodId:
          type: string
          description: Period ID on the distributor (uint as string).
        status:
          type: string
          enum:
            - claimed
            - unclaimed
          description: >-
            `claimed` if the on-chain `isClaimed` flag is set; `unclaimed` if
            the period is finalized and within the claim window.
        root:
          type: string
          description: Merkle root committed on-chain for this period.
        index:
          type: integer
          description: Leaf index in the period's merkle tree.
        account:
          type: string
          description: >-
            Recipient address baked into the leaf — `claim()` always transfers
            here.
        amount:
          type: string
          description: Raw claim amount as a string.
        proof:
          type: array
          items:
            type: string
          description: Merkle proof for this leaf.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message
        details:
          type: object
          description: Optional validation details
  responses:
    BadRequest:
      description: Bad Request - Invalid input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Unauthorized - Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Not Found - Resource does not exist
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too Many Requests - Rate limit exceeded. Check the `Retry-After` header.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Pass your key in the `x-api-key` header.

````