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

# 查詢資產網路

> 查詢資產支持的充值和提現網路。

查詢資產支持的充值和提現網路。

> [!NOTE]
>
> 使用 Broker API Key 呼叫。此介面查詢 Broker 配置，無需提供 `X-User-Wallet-Address`。 認證規則見[Broker API 認證與簽名](https://dexbuilder.mintlify.site/zh-TW/api-reference/common/broker-authentication.md)。

## 使用說明

* 回應列出資產可用的網路配置。`network` 為具體網路標識，`vm` 表示 EVM 或 Solana；實際支援情況以回應為準。
* `min_deposit` 和 `min_withdraw` 使用可讀 Token 單位。未配置最低提現額時，`min_withdraw` 可能省略。呼叫時須提供 `x-perp-device-type`，取值見[平台 API 認證](https://dexbuilder.mintlify.site/zh-TW/api-reference/dexbuilder/authentication.md)。


## OpenAPI

````yaml openapi/dexbuilder-zh-TW.yaml GET /api/v4/dexbuilder/networks
openapi: 3.0.3
info:
  title: DexBuilder 平台 Broker API
  version: 1.0.0
  description: DexBuilder 平台 Broker API，涵蓋資產配置、使用者、充值與提現能力。認證和使用者錢包校驗見本站統一網關說明。
servers:
  - url: https://api.dexbuilder.com
security: []
paths:
  /api/v4/dexbuilder/networks:
    get:
      tags:
        - 資產配置
      summary: 查詢資產網路
      description: 按資產查詢可用的鏈/網路配置（token 地址、vault、最小充提等）。
      operationId: listDexBuilderNetworks
      parameters:
        - $ref: '#/components/parameters/AssetQuery'
        - $ref: '#/components/parameters/DeviceType'
      responses:
        '200':
          description: 查詢成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvelopeArrayOfNetwork'
        '401':
          $ref: '#/components/responses/GatewayUnauthorized'
        '403':
          $ref: '#/components/responses/ProjectAccessDenied'
      security:
        - BrokerAPIKey: []
          Timestamp: []
          Signature: []
components:
  parameters:
    AssetQuery:
      name: asset
      in: query
      required: false
      schema:
        type: string
      example: USDT
      description: 資產符號過濾，如 USDT
    DeviceType:
      name: x-perp-device-type
      in: header
      required: true
      description: >-
        DexBuilder 設備類型：1 Android、2 iOS、3 WEB。缺少或無效時回傳
        INVALID_DEVICE_TYPE。僅適用於明確列出此請求標頭的平台介面。
      schema:
        type: string
        enum:
          - '1'
          - '2'
          - '3'
      example: '3'
  schemas:
    EnvelopeArrayOfNetwork:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/Network'
    EnvelopeBase:
      type: object
      properties:
        code:
          type: integer
          example: 0
          description: 業務碼，`0` 表示成功
        message:
          type: string
          example: success
          description: 人類可讀說明，成功時為 success
        reason:
          type: string
          description: 錯誤原因標識；成功時通常為空字符串
        trace_id:
          type: string
          description: 鏈路追蹤 ID，排障時提供
    Network:
      type: object
      properties:
        asset:
          type: string
          description: 資產符號
        network:
          type: string
          description: 網路標識，與 chain 參數一致（如 ethereum、bsc、solana）
        chain_id:
          type: string
          description: 鏈 ID，十進制字符串
        vm:
          type: string
          enum:
            - evm
            - solana
          description: 虛擬機：`evm` 或 `solana`
        token_address:
          type: string
          description: 代幣合約地址；EVM 為 0x 前綴 hex，Solana 為 mint base58
        vault_address:
          type: string
          description: Perp Vault 合約地址
        decimals:
          type: integer
          description: 代幣精度（整數）
        deposit_enabled:
          type: boolean
          description: 該網路是否開放充值
        withdraw_enabled:
          type: boolean
          description: 該網路是否開放提現
        min_deposit:
          type: string
          description: 最小充值數量，十進制字符串，單位為 token 最小展示單位
        min_withdraw:
          type: string
          description: 最低提現數量，以可讀 Token 單位的十進位字串表示；無資料時省略。
    ErrorEnvelope:
      allOf:
        - $ref: '#/components/schemas/EnvelopeBase'
        - type: object
          required:
            - label
          properties:
            label:
              type: string
              description: 穩定的機器可讀錯誤標識
            data:
              nullable: true
              description: 錯誤時一般為 null
  responses:
    GatewayUnauthorized:
      description: Broker API Key、簽名或時間戳無效
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            invalidKey:
              summary: 無效 API Key
              value:
                label: INVALID_KEY
                message: Invalid key provided
                code: 401
                trace_id: abc123
            invalidSignature:
              summary: 簽名錯誤
              value:
                label: INVALID_SIGNATURE
                message: Invalid signature
                code: 401
                trace_id: abc123
    ProjectAccessDenied:
      description: 專案未綁定或 Broker/API Key 不匹配
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            code: 40300801
            reason: P_DEX_BUILDER_IN_PROJECT_ACCESS_DENIED
            label: PROJECT_ACCESS_DENIED
            message: project access denied
            data: null
  securitySchemes:
    BrokerAPIKey:
      type: apiKey
      in: header
      name: KEY
      description: Broker API Key
    Timestamp:
      type: apiKey
      in: header
      name: Timestamp
      description: Unix 秒級時間戳
    Signature:
      type: apiKey
      in: header
      name: SIGN
      description: 使用 Broker Secret Key 生成的 HMAC-SHA512 十六進制簽名

````

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