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

# Get collateral assets

> Returns the registry of accepted collateral assets (the quote asset and each configured spot collateral asset), including mints, risk caps, discount curves, liquidation bounds, and current oracle price metadata.



## OpenAPI

````yaml /openapi/phoenix-public-api.json get /v1/collateral/assets
openapi: 3.1.0
info:
  title: Phoenix Eternal API
  description: >-
    RESTful API for accessing Phoenix Eternal perpetual trading data. Provides
    real-time orderbook levels, asset information, and market metadata.
  termsOfService: https://www.phoenix.trade/terms-of-service
  contact:
    name: Phoenix Development Team
    url: https://github.com/Ellipsis-Labs/phoenix
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://perp-api.phoenix.trade
    description: Phoenix Eternal Perp API
security: []
tags:
  - name: Auth
    description: Wallet and session authentication.
  - name: Exchange
    description: Exchange, market, candle, and no-referral register-instruction workflows.
  - name: Invite
    description: Invite validation, referral activation, and wallet allowlist checks.
  - name: Notifications
    description: Trader notification reads and acknowledgement helpers.
  - name: Trader
    description: Trader state, account history, and transaction builders.
externalDocs:
  url: https://docs.phoenix.trade
  description: Phoenix developer documentation
paths:
  /v1/collateral/assets:
    get:
      tags:
        - Exchange
      summary: Get collateral assets
      description: >-
        Returns the registry of accepted collateral assets (the quote asset and
        each configured spot collateral asset), including mints, risk caps,
        discount curves, liquidation bounds, and current oracle price metadata.
      operationId: get.v1.collateral.assets
      responses:
        '200':
          description: Collateral asset registry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollateralAssetsResponse'
        '500':
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    CollateralAssetsResponse:
      type: object
      description: Response for the collateral asset registry.
      required:
        - assets
      properties:
        assets:
          type: array
          items:
            $ref: '#/components/schemas/CollateralAssetMetadata'
          description: |-
            All accepted collateral assets: the quote asset and each spot
            collateral.
        slot:
          oneOf:
            - $ref: '#/components/schemas/JsSafeU64'
              description: >-
                Latest chain slot the server had processed when building this
                response.
            - type: 'null'
    CollateralAssetMetadata:
      type: object
      description: >-
        One collateral asset the exchange accepts: the quote asset (USDC) or a
        spot

        collateral asset (native SOL). Spot collaterals carry the live on-chain

        risk config; the quote asset carries only basic identity.
      required:
        - assetIndex
        - symbol
        - decimals
      properties:
        assetIndex:
          type: integer
          format: int64
          description: |-
            On-chain `AssetIndex` key (4294967295 for the quote asset / USDC,
            4294901760 for native SOL).
        decimals:
          type: integer
          format: int32
          description: Native-unit decimals of the asset.
          minimum: 0
        metadata:
          oneOf:
            - $ref: '#/components/schemas/CollateralAssetPublicMetadata'
              description: Optional display values; never used as financial identifiers.
            - type: 'null'
        spot:
          oneOf:
            - $ref: '#/components/schemas/SpotCollateralConfig'
              description: Live spot-collateral risk config; absent for the quote asset.
            - type: 'null'
        symbol:
          type: string
          description: Asset symbol (e.g. `USDC`, `SOL`).
    JsSafeU64:
      type: string
      description: |-
        Wrapper for unsigned 64-bit values that must be JSON-safe for consumers
        written in JavaScript/TypeScript. Mirrors [`JsSafeI64`] but for unsigned
        Phoenix quantities such as base lots, quote lots, and slots.
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    CollateralAssetPublicMetadata:
      type: object
      description: |-
        Optional presentation. Financial identity always comes from the registry
        row.
      properties:
        displayColor:
          type:
            - string
            - 'null'
        displaySymbol:
          type:
            - string
            - 'null'
        logoUri:
          type:
            - string
            - 'null'
    SpotCollateralConfig:
      type: object
      description: Live on-chain risk configuration for a spot collateral asset.
      required:
        - isActive
        - maxPerTraderBalance
        - maxGlobalBalance
        - currGlobalBalance
        - minMarginDiscountBps
        - maxMarginDiscountBps
        - maxLiquidationDiscountBps
        - minLiquidationSlippageBps
        - maxLiquidationSize
      properties:
        currGlobalBalance:
          $ref: '#/components/schemas/JsSafeU64'
          description: Current balance across all traders, native units.
        isActive:
          type: boolean
          description: Whether the asset is currently enabled as collateral.
        maxGlobalBalance:
          $ref: '#/components/schemas/JsSafeU64'
          description: Max balance across all traders, native units.
        maxLiquidationDiscountBps:
          type: integer
          format: int32
          description: Max liquidation discount (basis points).
          minimum: 0
        maxLiquidationSize:
          $ref: '#/components/schemas/JsSafeU64'
          description: Max amount liquidatable per liquidation call, native units.
        maxMarginDiscountBps:
          type: integer
          format: int32
          description: Margin discount at the global cap (basis points).
          minimum: 0
        maxPerTraderBalance:
          $ref: '#/components/schemas/JsSafeU64'
          description: Max balance a single trader may hold, native units.
        minLiquidationSlippageBps:
          type: integer
          format: int32
          description: Min liquidation slippage (basis points).
          minimum: 0
        minMarginDiscountBps:
          type: integer
          format: int32
          description: >-
            Margin discount at zero balance (basis points). The effective
            discount

            interpolates linearly to `max_margin_discount_bps` by balance / cap.
          minimum: 0
        mint:
          type:
            - string
            - 'null'
          description: >-
            Base58 SPL Token mint of the asset (always the legacy Token
            program).

            Absent for native SOL, which has no mint.
        oraclePrice:
          oneOf:
            - $ref: '#/components/schemas/SpotOraclePrice'
              description: >-
                The asset's own oracle price. Present only for assets not priced
                by a

                perp market (`perp_asset_index` absent) whose price scale is
                set.
            - type: 'null'
        perpAssetIndex:
          type:
            - integer
            - 'null'
          format: int32
          description: |-
            Perp asset whose index price values this collateral. Absent when the
            spot asset has not been associated with a perp market.
          minimum: 0
    SpotOraclePrice:
      type: object
      description: |-
        Oracle price of a spot collateral asset, quoted per synthetic base lot:
        one base lot (`10^(decimals - base_lot_decimals)` native units) is worth
        `ticks * tick_size` quote lots.
      required:
        - ticks
        - tickSize
        - baseLotDecimals
      properties:
        baseLotDecimals:
          type: integer
          format: int32
          description: Base lot decimals of the synthetic base lot.
        hardStaleMultiplier:
          type:
            - integer
            - 'null'
          format: int32
          description: Effective hard-stale multiplier applied to `stale_threshold_slots`.
          minimum: 0
        lastUpdateSlot:
          oneOf:
            - $ref: '#/components/schemas/JsSafeU64'
              description: Chain slot of the latest accepted oracle price write.
            - type: 'null'
        lastUpdateTimestamp:
          oneOf:
            - $ref: '#/components/schemas/JsSafeU64'
              description: >-
                Unix timestamp (seconds) of the latest accepted oracle price
                update,

                when known.
            - type: 'null'
        staleThresholdSlots:
          oneOf:
            - $ref: '#/components/schemas/JsSafeU64'
              description: Valuation-time staleness threshold in slots (0 = unset).
            - type: 'null'
        tickSize:
          $ref: '#/components/schemas/JsSafeU64'
          description: Quote lots per synthetic base lot per tick.
        ticks:
          $ref: '#/components/schemas/JsSafeU64'
          description: Price in ticks per synthetic base lot.
  responses:
    ErrorResponse:
      description: Standard JSON error payload.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'

````

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