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

# List assets

> List active LightSwap assets with networks, symbols, decimals, logos, memo requirements, and availability flags.



## OpenAPI

````yaml api-reference/openapi.json GET /asset
openapi: 3.1.0
info:
  title: LightSwap API
  description: >-
    Backend REST API for approved LightSwap integrations to quote, create, and
    track swaps.
  version: 1.0.0
servers:
  - url: https://lightswap.me/api/partner/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Assets
    description: Supported asset discovery.
  - name: Address
    description: Destination address validation.
  - name: Quotes
    description: Short-lived quotes.
  - name: Swaps
    description: Swap creation and status tracking.
paths:
  /asset:
    get:
      tags:
        - Assets
      summary: List assets
      description: >-
        Returns active assets available through the API. Filter by canonical
        lowercase network or symbol when you only need part of the asset list.
      operationId: listAssets
      parameters:
        - name: network
          in: query
          required: false
          description: >-
            Optional canonical lowercase network filter, for example `tron` or
            `bitcoin`.
          schema:
            type: string
            example: tron
        - name: symbol
          in: query
          required: false
          description: Optional token symbol filter.
          schema:
            type: string
            example: USDT
      responses:
        '200':
          description: Active assets.
          headers:
            x-request-id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetListResponse'
              examples:
                tronUsdt:
                  summary: Filtered asset list
                  value:
                    generatedAt: '2026-04-19T10:00:00.000Z'
                    assets:
                      - symbol: USDT
                        name: Tether USD
                        network: tron
                        decimals: 6
                        contractAddress: TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
                        logoUrl: /token/usdt.png
                        canSend: true
                        canReceive: true
                        requiresMemo: false
                        supportsMemo: false
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/InactiveAccess'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  headers:
    RequestId:
      description: >-
        Request ID generated by LightSwap or echoed from the `x-request-id`
        request header.
      schema:
        type: string
        example: req_123
    RetryAfter:
      description: Seconds to wait before retrying a rate-limited request.
      schema:
        type: integer
        example: 30
  schemas:
    AssetListResponse:
      type: object
      required:
        - generatedAt
        - assets
      properties:
        generatedAt:
          type: string
          format: date-time
        assets:
          type: array
          items:
            $ref: '#/components/schemas/Asset'
    Asset:
      type: object
      required:
        - symbol
        - name
        - network
        - decimals
        - contractAddress
        - logoUrl
        - canSend
        - canReceive
        - requiresMemo
        - supportsMemo
      properties:
        symbol:
          type: string
          example: USDT
        name:
          type: string
          example: Tether USD
        network:
          type: string
          example: tron
        decimals:
          type: integer
          minimum: 0
          example: 6
        contractAddress:
          type:
            - string
            - 'null'
          example: TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
        logoUrl:
          type:
            - string
            - 'null'
          example: /token/usdt.png
        canSend:
          type: boolean
        canReceive:
          type: boolean
        requiresMemo:
          type: boolean
        supportsMemo:
          type: boolean
          description: >-
            Whether the asset's network can carry a destination memo (for
            example XRP Ledger, Stellar, or Cosmos).
    ErrorResponse:
      type: object
      required:
        - error
        - requestId
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
        requestId:
          type: string
          example: req_123
    ErrorBody:
      type: object
      required:
        - code
        - message
        - details
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          example: Quote has expired.
        details:
          type: object
          additionalProperties: true
          example: {}
    ErrorCode:
      type: string
      enum:
        - inactive_partner
        - internal_error
        - invalid_api_key
        - provider_unavailable
        - quote_already_used
        - quote_expired
        - quote_not_found
        - rate_limited
        - swap_not_found
        - unsupported_asset
        - unsupported_memo
        - unsupported_pair
        - validation_error
  responses:
    BadRequest:
      description: >-
        The request is invalid: validation failed, the asset or pair is
        unsupported, the memo cannot be carried, or the quote expired.
      headers:
        x-request-id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            validationError:
              value:
                error:
                  code: validation_error
                  message: quoteId is invalid.
                  details: {}
                requestId: req_123
            unsupportedMemo:
              value:
                error:
                  code: unsupported_memo
                  message: Destination memo is not supported for this network or pair.
                  details: {}
                requestId: req_123
    Unauthorized:
      description: The API key is missing or invalid.
      headers:
        x-request-id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalidKey:
              value:
                error:
                  code: invalid_api_key
                  message: API key is invalid.
                  details: {}
                requestId: req_123
    InactiveAccess:
      description: API access is disabled.
      headers:
        x-request-id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: The request exceeded the configured API rate limit.
      headers:
        x-request-id:
          $ref: '#/components/headers/RequestId'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            rateLimited:
              value:
                error:
                  code: rate_limited
                  message: Too many API requests. Please wait a moment and try again.
                  details: {}
                requestId: req_123
    InternalError:
      description: The request failed on the server.
      headers:
        x-request-id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key. Keep this key on your backend.

````