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

# Get chain config



## OpenAPI

````yaml /api-reference/partner_external.yaml get /api/partner/v1/ext/ramp_order/chain_config
openapi: 3.1.0
info:
  description: API for partner_external service
  title: partner service
  version: 0.0.1
servers:
  - description: Base URL for Production Rampnow APIs
    url: https://api.rampnow.io
  - description: Base URL for Sandbox Rampnow APIs
    url: https://api.sandbox.rampnow.io
security:
  - apiKeyAuth: []
paths:
  /api/partner/v1/ext/ramp_order/chain_config:
    get:
      tags:
        - Configuration
      summary: Get chain config
      operationId: GetChainConfig
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  code:
                    type: integer
                  data:
                    $ref: '#/components/schemas/GetChainConfigResponse'
                  displayError:
                    description: For client display
                    type: string
                  message:
                    type: string
                  traceId:
                    type: string
                required:
                  - code
                  - message
                  - traceId
                  - data
                type: object
          description: OK
components:
  schemas:
    GetChainConfigResponse:
      properties:
        chains:
          description: Supported chains, sorted alphabetically by code
          items:
            $ref: '#/components/schemas/ChainConfig'
          type: array
      required:
        - chains
      type: object
    ChainConfig:
      description: >-
        ChainConfig describes one blockchain supported by the partner account
        for on-chain payin /

        payout. Populated for every chain that has at least one active asset in
        the partner's ramp

        order config.
      properties:
        addressRegex:
          description: >-
            Regex partners can use to client-side validate wallet addresses for
            this chain
          type: string
        addressTagType:
          description: >-
            Type of memo/tag this chain uses for addressing (`memo`,
            `destination_tag`, …); empty when no tag is used
          type: string
        addressType:
          description: >-
            Address encoding used by this chain (drives address validation on
            the client side)
          type: string
        chainId:
          description: >-
            EVM chain ID (e.g. `1` for Ethereum mainnet, `137` for Polygon);
            empty for non-EVM chains
          type: string
        code:
          description: >-
            Chain identifier used across the API (e.g. `ethereum`, `polygon`,
            `solana`)


            Supported Blockchains like ethereum, bitcoin etc. For additional
            options, see the [full list](/quickstart/resources/blockchain-list).
          externalDocs:
            description: Supported Blockchains like ethereum, bitcoin etc.
            url: https://docs.rampnow.io/quickstart/resources/blockchain-list
          type: string
        hashRegex:
          description: >-
            Regex partners can use to client-side validate transaction hashes
            for this chain
          type: string
        isTestnet:
          description: True for testnet chains; production always returns mainnet chains
          type: boolean
        name:
          description: Human-readable chain name (e.g. "Ethereum", "Polygon")
          type: string
        nativeToken:
          description: >-
            Native currency of the chain (used to pay gas / network fees), e.g.
            `ETH` on Ethereum


            Supported Crypto Currencies like EUR, USDT etc. For additional
            options, see the [full
            list](/quickstart/resources/supported-assets).
          externalDocs:
            description: Supported Crypto Currencies like EUR, USDT etc.
            url: https://docs.rampnow.io/quickstart/resources/supported-assets
          type: string
        nodeType:
          description: >-
            Node protocol family (`evm`, `svm`, `btc`, `tron`, `xrp`, …).
            Determines address / transaction format.
          type: string
        supportedAssets:
          description: >-
            Asset codes enabled on this chain for the partner account (subset of
            the full token list)


            Supported Crypto Currencies like ETH:ethereum, BTC:bitcoin etc. For
            additional options, see the [full
            list](/quickstart/resources/supported-assets).
          items:
            description: >-
              Supported Crypto Currencies like ETH:ethereum, BTC:bitcoin etc.
              For additional options, see the [full
              list](/quickstart/resources/supported-assets).
            externalDocs:
              description: Supported Crypto Currencies like ETH:ethereum, BTC:bitcoin etc.
              url: https://docs.rampnow.io/quickstart/resources/supported-assets
            type: string
          type: array
        type:
          description: Ledger model — `account` (EVM, Solana) or `utxo` (Bitcoin family)
          type: string
      required:
        - code
        - name
        - type
        - nodeType
        - addressType
        - chainId
        - nativeToken
        - addressTagType
        - isTestnet
        - addressRegex
        - hashRegex
        - supportedAssets
      type: object
  securitySchemes:
    apiKeyAuth:
      description: >-
        Partner API key sent in the X-RAMPNOW-API-KEY header. Every request must
        ALSO send X-RAMPNOW-TIMESTAMP (unix seconds) and X-RAMPNOW-SIGN (hex
        HMAC-SHA256 of `timestamp + METHOD + requestURI + rawBody`, keyed with
        your API secret). See the Authentication guide.
      in: header
      name: X-RAMPNOW-API-KEY
      type: apiKey

````

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