v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
Assets

List assets

Returns a list of all assets supported in the zerohash environment.

get/assets

Query parameters

stablecoinboolean

Filter for assets based on whether they are classified as stablecoins

chain_codestring

Filter assets by chain code

symbolstring

Filter assets by symbol

ny_allowedboolean

Filter assets based on whether they are allowed for transactions in New York

fund_enabledboolean

Filters assets based on whether they are permitted for use with the Fund With Crypto API

staking_enabledboolean

Filters assets based on whether they are permitted for use with the Staking API

deposit_address_creation'institutional' | 'institutional_and_retail' | 'not_supported'

Filter assets by their deposit-address creation support level.

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Response

Successfully retrieved list of assets matching the filter criteria.

Example response

{
  "message": [
    {
      "symbol": "SOL",
      "name": "Solana",
      "chain_code": "solana",
      "type": "crypto",
      "model": "account_based",
      "withdrawal_minimum": "0.000001",
      "precision": 9,
      "tag_name": "none",
      "rfq_liquidity_enabled": true,
      "custody_enabled": true,
      "deposit_address_creation": "none",
      "contract_address": "NA",
      "explorer_link": "https://explorer.solana.com/",
      "ticker": "SOL",
      "network": {
        "id": 1,
        "label": "Solana",
        "chain_code": "solana",
        "short_code": "SOL"
      },
      "image_url": "https://web-sdk.zerohash.com/icons/aave.svg",
      "transaction_explorer_link": "https://explorer.solana.com/tx/{{transaction}}"
    }
  ]
}