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

# Chain & token catalog

> The static chain/token catalog this backend routes on. Clients generate their own copy from this payload so both sides agree on chain codes, token addresses, decimals and provider identifiers.



## OpenAPI

````yaml /openapi.json get /api/v1/public/chains
openapi: 3.1.0
info:
  title: HEVN API
  description: Backend API for HEVN mobile neobank
  version: 0.1.2
servers: []
security: []
paths:
  /api/v1/public/chains:
    get:
      tags:
        - Public
      summary: Chain & token catalog
      description: >-
        The static chain/token catalog this backend routes on. Clients generate
        their own copy from this payload so both sides agree on chain codes,
        token addresses, decimals and provider identifiers.
      operationId: chain_catalog_api_v1_public_chains_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChainCatalogResponse'
components:
  schemas:
    ChainCatalogResponse:
      properties:
        tokens:
          items:
            $ref: '#/components/schemas/TokenDefResponse'
          type: array
          title: Tokens
        chains:
          items:
            $ref: '#/components/schemas/ChainConfigResponse'
          type: array
          title: Chains
      type: object
      required:
        - tokens
        - chains
      title: ChainCatalogResponse
      description: The whole catalog, as clients mirror it.
    TokenDefResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        peg:
          anyOf:
            - type: string
            - type: 'null'
          title: Peg
      type: object
      required:
        - symbol
      title: TokenDefResponse
      description: Chain-independent facts about a token symbol.
    ChainConfigResponse:
      properties:
        code:
          type: string
          title: Code
        displayName:
          type: string
          title: Displayname
        internalId:
          type: integer
          title: Internalid
        evmChainId:
          anyOf:
            - type: integer
            - type: 'null'
          title: Evmchainid
        aliases:
          items:
            type: string
          type: array
          title: Aliases
          default: []
        explorerTxUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Explorertxurl
        oneclick:
          type: boolean
          title: Oneclick
          default: true
        lifi:
          type: boolean
          title: Lifi
          default: false
        cowswapNetwork:
          anyOf:
            - type: string
            - type: 'null'
          title: Cowswapnetwork
        aerodrome:
          type: boolean
          title: Aerodrome
          default: false
        tokens:
          items:
            $ref: '#/components/schemas/TokenConfigResponse'
          type: array
          title: Tokens
          default: []
      type: object
      required:
        - code
        - displayName
        - internalId
      title: ChainConfigResponse
      description: 'One chain: canonical identity, per-provider identifiers, tokens.'
    TokenConfigResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        decimals:
          type: integer
          title: Decimals
        address:
          anyOf:
            - type: string
            - type: 'null'
          title: Address
        oneclickAssetId:
          anyOf:
            - type: string
            - type: 'null'
          title: Oneclickassetid
        native:
          type: boolean
          title: Native
          default: false
        price:
          anyOf:
            - type: number
            - type: 'null'
          title: Price
      type: object
      required:
        - symbol
        - decimals
      title: TokenConfigResponse
      description: A first-class token on one chain, with its per-provider identifiers.

````