Z Zise Developers 简体中文

Allowed assets, precision, and machine-readable network codes for each chain

GET /v1/assets scope: merchant:read
Merchant account

Fetch and cache this catalog first when integrating: the scaling precision for every subsequent amount field comes from its ledger_scale. New assets are added through administration without a release, so do not hardcode the catalog.

Merchants without an asset allowlist see all enabled assets. The allowlist restricts rather than enables: no rows means no restriction.

⚠ The top-level key is assets, not data, for legacy reasons. This endpoint has no pagination envelope.

ledger_scale cannot change after listing, so it may be cached long-term. display_scale only controls displayed digits; never use it to parse amounts.

Parameters

This endpoint takes no parameters: no path parameters, query parameters or request body. For the authentication header (x-auth-token) and on-behalf-of header (x-on-behalf-of), see Authentication and Signing.

Response

200OK
{
  "assets": [
    {
      "code": "USDT",
      "name": "Tether USD",
      "ledger_scale": 6,
      "display_scale": 2,
      "networks": [
        {
          "network": "BSC",
          "network_name": "BNB Smart Chain (BEP20)",
          "deposit_enabled": true,
          "deposit_unavailable_reason": "",
          "min_deposit": "1",
          "confirmations_required": 15,
          "memo_required": false,
          "deposit_eta_minutes": 5,
          "withdraw_enabled": true,
          "withdraw_unavailable_reason": "",
          "min_withdraw": "10.000000",
          "max_withdraw": "5000.000000",
          "withdraw_fee_mode": "fixed",
          "withdraw_fee_fixed": "1.000000",
          "withdraw_fee_bps": 0,
          "withdraw_cooling_hours": 24,
          "withdraw_eta_minutes": 30,
          "withdraw_require_kyc_level": 1
        },
        {
          "network": "TRC20",
          "network_name": "TRON (TRC20)",
          "deposit_enabled": true,
          "deposit_unavailable_reason": "",
          "min_deposit": "1",
          "confirmations_required": 19,
          "memo_required": false,
          "deposit_eta_minutes": 3,
          "withdraw_enabled": false,
          "withdraw_unavailable_reason": "not_open"
        }
      ]
    },
    {
      "code": "USD",
      "name": "美元",
      "ledger_scale": 6,
      "display_scale": 2,
      "networks": []
    }
  ]
}
403insufficient_scope: missing merchant:read.

Additional Details

networks[]: do not submit display names as parameters

The network parameter in POST /v1/withdraw-addresses and POST /v1/merchant/deposit-addresses accepts a machine-readable code (BSC). It is case-sensitive; unrecognized values immediately return asset_not_allowed. This catalog is its sole authoritative list.

FieldMeaningValid as an input parameter?
networkMachine-readable code, such as BSC✅ Use this
network_nameDisplay name, such as BNB Smart Chain (BEP20)❌ Always rejected

⚠ Unavailable networks are still listed, with deposit_enabled / withdraw_enabled and their respective *_unavailable_reason. Omitting them would make you think your input was wrong.

Withdrawal fields min_withdraw / max_withdraw / withdraw_fee_* / withdraw_cooling_hours reflect what we charge end users and can be used directly to calculate the received amount. Charging a separately invented value will never reconcile with our ledger.

Request
curl -X GET 'https://api.zinfra.vip/v1/assets' \
  -H 'x-auth-token: Bearer $TOKEN'
const res = await fetch("https://api.zinfra.vip/v1/assets", {
  method: "GET",
  headers: {
    "x-auth-token": "Bearer $TOKEN",
  },
});
// Keep monetary amounts as strings, never numbers.
const data = await res.json();
import requests

res = requests.get(
    "https://api.zinfra.vip/v1/assets",
    headers={
        "x-auth-token": "Bearer $TOKEN",
    },
)
# Use Decimal(str(...)) for amounts, not float.
data = res.json()
req, _ := http.NewRequest("GET", "https://api.zinfra.vip/v1/assets",
    nil)
req.Header.Set("x-auth-token", "Bearer $TOKEN")
res, err := http.DefaultClient.Do(req)
// Decode amount fields as string, not float64.
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://api.zinfra.vip/v1/assets"))
    .header("x-auth-token", "Bearer $TOKEN")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
// Use String / BigDecimal for amounts, not double.
$ch = curl_init('https://api.zinfra.vip/v1/assets');
curl_setopt_array($ch, [
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'x-auth-token: Bearer $TOKEN',
  ],
]);
$res = curl_exec($ch);
// Use bcmath / strings for amounts, not floatval.
200
{
  "assets": [
    {
      "code": "USDT",
      "name": "Tether USD",
      "ledger_scale": 6,
      "display_scale": 2,
      "networks": [
        {
          "network": "BSC",
          "network_name": "BNB Smart Chain (BEP20)",
          "deposit_enabled": true,
          "deposit_unavailable_reason": "",
          "min_deposit": "1",
          "confirmations_required": 15,
          "memo_required": false,
          "deposit_eta_minutes": 5,
          "withdraw_enabled": true,
          "withdraw_unavailable_reason": "",
          "min_withdraw": "10.000000",
          "max_withdraw": "5000.000000",
          "withdraw_fee_mode": "fixed",
          "withdraw_fee_fixed": "1.000000",
          "withdraw_fee_bps": 0,
          "withdraw_cooling_hours": 24,
          "withdraw_eta_minutes": 30,
          "withdraw_require_kyc_level": 1
        },
        {
          "network": "TRC20",
          "network_name": "TRON (TRC20)",
          "deposit_enabled": true,
          "deposit_unavailable_reason": "",
          "min_deposit": "1",
          "confirmations_required": 19,
          "memo_required": false,
          "deposit_eta_minutes": 3,
          "withdraw_enabled": false,
          "withdraw_unavailable_reason": "not_open"
        }
      ]
    },
    {
      "code": "USD",
      "name": "美元",
      "ledger_scale": 6,
      "display_scale": 2,
      "networks": []
    }
  ]
}