> ## 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 Key 与签名](https://dexbuilder.mintlify.site/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/api-reference/dexbuilder/authentication.md)。


## OpenAPI

````yaml openapi/dexbuilder.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 平台 API 设备类型：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、arbitrum、base）
        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: 最小充值数量（静态配置），十进制字符串
        min_withdraw:
          type: string
          description: 最小提现数量（Perp withdraw-min-limit），十进制字符串；Perp 无数据时省略
    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.