Assets

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

get/assets

Request

  • Base URL
    https://api.cert.zerohash.com
  • URL
    https://api.cert.zerohash.com/assets
  • Auth
    API key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE

Query parameters

stablecoinboolean

Filter for assets based on whether they are classified as stablecoins

chain_codestring

Filter assets by chain code

symbol'USDC.OPTIMISM' | 'USDC.SUI' | 'DOT' | 'FIL' | 'PYUSD.ETH' | 'TRX' | 'ZRX' | 'DAI.ETH' | 'USDC.WORLDCHAIN' | 'USDP' | 'USDT.BSC' | 'USDT.CELO' | 'PEPE.ETH' | 'SAND' | 'USDC.DOTHUB' | 'USDC.SEI' | 'USDC.SOL' | 'USDC.ZKSYNC' | 'ENA.ETH' | 'MANA.ETH' | 'PYTH.SOL' | 'SOL' | 'USDC.BASE' | 'USDC.CELO' | 'USDT' | 'ADA' | 'INJ.ETH' | 'MATIC.POLYGON' | 'PAXG' | 'USD' | 'AAVE.ETH' | 'ALGO' | 'EURC.XLM' | 'KNC.ETH' | 'PNUT.SOL' | 'SHIB' | 'BCH' | 'DOGE' | 'EGLD' | 'JTO.SOL' | 'UNI.ETH' | 'USDC' | 'USDC.ARBITRUM' | 'ONDO.ETH' | 'PENGU.SOL' | 'USD' | 'WLFI.ETH' | 'XLM' | 'APT' | 'CC' | 'ETH.OPTIMISM' | 'ETH.WORLDCHAIN' | 'LDO.ETH' | 'MORPHO.ETH' | 'SEI' | 'ETH.ZKSYNC' | 'USDC.AVAX' | 'USDC.XLM' | 'USDT.DOTHUB' | 'USDT.SOL' | 'MANA' | 'USDC.ALGO' | 'MATIC.ETH' | 'NEAR' | 'UNI' | 'USDT.ARBITRUM' | 'USDT.AVAX' | 'OMG' | 'ARB.ARBITRUM' | 'COMP.ETH' | 'GRT.ETH' | 'USDC.POLYGON' | 'AVAX' | 'AAVE' | 'CELO' | 'PYUSD.SOL' | 'PAXG.ETH' | 'USDC.MONAD' | 'BAT' | 'COMP' | 'ETH.ARBITRUM' | 'ETH.BASE' | 'OP.OPTIMISM' | 'TRUMP.SOL' | 'ENJ.ETH' | 'SUI' | 'USDT.ETH' | 'USDT.OPTIMISM' | 'USDT.TRX' | 'USDT.XPL' | 'OMG.ETH' | 'XRP' | 'HBAR' | 'USDC.APT' | 'USDC.ETH' | 'BNB' | 'ATOM' | 'BAT.ETH' | 'GRT' | 'LINK.ETH' | 'USDP.SOL' | 'ZK.ZKSYNC' | 'BONK.SOL' | 'KNC' | 'TIA' | 'ZRO.ETH' | 'ZRX.ETH' | 'PUMP.SOL' | 'USD' | 'XTZ' | 'CRV.ETH' | 'GALA.ETH' | 'TON' | 'USDT.POLYGON' | 'WBTC.ETH' | 'XPL' | 'BTC' | 'MON' | 'SHIB.ETH' | 'USDC.BSC' | 'WLD.WORLDCHAIN' | 'W.SOL' | 'LTC' | 'RLUSD.ETH' | 'WBTC' | 'LINK' | 'USDCX.CANTON' | 'ETH' | 'WIF.SOL' | 'APE.ETH' | 'EURC' | 'MKR.ETH' | 'RLUSD.XRP'

The underlying asset in the trading pair. E.g. BTC in the pair BTC/USD.

Example:BTC

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}}"
    }
  ]
}

Changes

    • breaking

      the query request parameter symbol was restricted to a list of enum values

    • info

      added the new enum value AAVE to the query request parameter symbol

    • info

      added the new enum value AAVE.ETH to the query request parameter symbol

    • info

      added the new enum value ADA to the query request parameter symbol

    • info

      added the new enum value ALGO to the query request parameter symbol

    • info

      added the new enum value APE.ETH to the query request parameter symbol

    • info

      added the new enum value APT to the query request parameter symbol

    • info

      added the new enum value ARB.ARBITRUM to the query request parameter symbol

    • info

      added the new enum value ATOM to the query request parameter symbol

    • info

      added the new enum value AVAX to the query request parameter symbol

    • info

      added the new enum value BAT to the query request parameter symbol

    • info

      added the new enum value BAT.ETH to the query request parameter symbol

    • info

      added the new enum value BCH to the query request parameter symbol

    • info

      added the new enum value BNB to the query request parameter symbol

    • info

      added the new enum value BONK.SOL to the query request parameter symbol

    • info

      added the new enum value BTC to the query request parameter symbol

    • info

      added the new enum value CC to the query request parameter symbol

    • info

      added the new enum value CELO to the query request parameter symbol

    • info

      added the new enum value COMP to the query request parameter symbol

    • info

      added the new enum value COMP.ETH to the query request parameter symbol

    • info

      added the new enum value CRV.ETH to the query request parameter symbol

    • info

      added the new enum value DAI.ETH to the query request parameter symbol

    • info

      added the new enum value DOGE to the query request parameter symbol

    • info

      added the new enum value DOT to the query request parameter symbol

    • info

      added the new enum value EGLD to the query request parameter symbol

    • info

      added the new enum value ENA.ETH to the query request parameter symbol

    • info

      added the new enum value ENJ.ETH to the query request parameter symbol

    • info

      added the new enum value ETH to the query request parameter symbol

    • info

      added the new enum value ETH.ARBITRUM to the query request parameter symbol

    • info

      added the new enum value ETH.BASE to the query request parameter symbol

    • info

      added the new enum value ETH.OPTIMISM to the query request parameter symbol

    • info

      added the new enum value ETH.WORLDCHAIN to the query request parameter symbol

    • info

      added the new enum value ETH.ZKSYNC to the query request parameter symbol

    • info

      added the new enum value EURC to the query request parameter symbol

    • info

      added the new enum value EURC.XLM to the query request parameter symbol

    • info

      added the new enum value FIL to the query request parameter symbol

    • info

      added the new enum value GALA.ETH to the query request parameter symbol

    • info

      added the new enum value GRT to the query request parameter symbol

    • info

      added the new enum value GRT.ETH to the query request parameter symbol

    • info

      added the new enum value HBAR to the query request parameter symbol

    • info

      added the new enum value INJ.ETH to the query request parameter symbol

    • info

      added the new enum value JTO.SOL to the query request parameter symbol

    • info

      added the new enum value KNC to the query request parameter symbol

    • info

      added the new enum value KNC.ETH to the query request parameter symbol

    • info

      added the new enum value LDO.ETH to the query request parameter symbol

    • info

      added the new enum value LINK to the query request parameter symbol

    • info

      added the new enum value LINK.ETH to the query request parameter symbol

    • info

      added the new enum value LTC to the query request parameter symbol

    • info

      added the new enum value MANA to the query request parameter symbol

    • info

      added the new enum value MANA.ETH to the query request parameter symbol

    • info

      added the new enum value MATIC.ETH to the query request parameter symbol

    • info

      added the new enum value MATIC.POLYGON to the query request parameter symbol

    • info

      added the new enum value MKR.ETH to the query request parameter symbol

    • info

      added the new enum value MON to the query request parameter symbol

    • info

      added the new enum value MORPHO.ETH to the query request parameter symbol

    • info

      added the new enum value NEAR to the query request parameter symbol

    • info

      added the new enum value OMG to the query request parameter symbol

    • info

      added the new enum value OMG.ETH to the query request parameter symbol

    • info

      added the new enum value ONDO.ETH to the query request parameter symbol

    • info

      added the new enum value OP.OPTIMISM to the query request parameter symbol

    • info

      added the new enum value PAXG to the query request parameter symbol

    • info

      added the new enum value PAXG.ETH to the query request parameter symbol

    • info

      added the new enum value PENGU.SOL to the query request parameter symbol

    • info

      added the new enum value PEPE.ETH to the query request parameter symbol

    • info

      added the new enum value PNUT.SOL to the query request parameter symbol

    • info

      added the new enum value PUMP.SOL to the query request parameter symbol

    • info

      added the new enum value PYTH.SOL to the query request parameter symbol

    • info

      added the new enum value PYUSD.ETH to the query request parameter symbol

    • info

      added the new enum value PYUSD.SOL to the query request parameter symbol

    • info

      added the new enum value RLUSD.ETH to the query request parameter symbol

    • info

      added the new enum value RLUSD.XRP to the query request parameter symbol

    • info

      added the new enum value SAND to the query request parameter symbol

    • info

      added the new enum value SEI to the query request parameter symbol

    • info

      added the new enum value SHIB to the query request parameter symbol

    • info

      added the new enum value SHIB.ETH to the query request parameter symbol

    • info

      added the new enum value SOL to the query request parameter symbol

    • info

      added the new enum value SUI to the query request parameter symbol

    • info

      added the new enum value TIA to the query request parameter symbol

    • info

      added the new enum value TON to the query request parameter symbol

    • info

      added the new enum value TRUMP.SOL to the query request parameter symbol

    • info

      added the new enum value TRX to the query request parameter symbol

    • info

      added the new enum value UNI to the query request parameter symbol

    • info

      added the new enum value UNI.ETH to the query request parameter symbol

    • info

      added the new enum value USD to the query request parameter symbol

    • info

      added the new enum value USD to the query request parameter symbol

    • info

      added the new enum value USD to the query request parameter symbol

    • info

      added the new enum value USDC to the query request parameter symbol

    • info

      added the new enum value USDC.ALGO to the query request parameter symbol

    • info

      added the new enum value USDC.APT to the query request parameter symbol

    • info

      added the new enum value USDC.ARBITRUM to the query request parameter symbol

    • info

      added the new enum value USDC.AVAX to the query request parameter symbol

    • info

      added the new enum value USDC.BASE to the query request parameter symbol

    • info

      added the new enum value USDC.BSC to the query request parameter symbol

    • info

      added the new enum value USDC.CELO to the query request parameter symbol

    • info

      added the new enum value USDC.DOTHUB to the query request parameter symbol

    • info

      added the new enum value USDC.ETH to the query request parameter symbol

    • info

      added the new enum value USDC.MONAD to the query request parameter symbol

    • info

      added the new enum value USDC.OPTIMISM to the query request parameter symbol

    • info

      added the new enum value USDC.POLYGON to the query request parameter symbol

    • info

      added the new enum value USDC.SEI to the query request parameter symbol

    • info

      added the new enum value USDC.SOL to the query request parameter symbol

    • info

      added the new enum value USDC.SUI to the query request parameter symbol

    • info

      added the new enum value USDC.WORLDCHAIN to the query request parameter symbol

    • info

      added the new enum value USDC.XLM to the query request parameter symbol

    • info

      added the new enum value USDC.ZKSYNC to the query request parameter symbol

    • info

      added the new enum value USDCX.CANTON to the query request parameter symbol

    • info

      added the new enum value USDP to the query request parameter symbol

    • info

      added the new enum value USDP.SOL to the query request parameter symbol

    • info

      added the new enum value USDT to the query request parameter symbol

    • info

      added the new enum value USDT.ARBITRUM to the query request parameter symbol

    • info

      added the new enum value USDT.AVAX to the query request parameter symbol

    • info

      added the new enum value USDT.BSC to the query request parameter symbol

    • info

      added the new enum value USDT.CELO to the query request parameter symbol

    • info

      added the new enum value USDT.DOTHUB to the query request parameter symbol

    • info

      added the new enum value USDT.ETH to the query request parameter symbol

    • info

      added the new enum value USDT.OPTIMISM to the query request parameter symbol

    • info

      added the new enum value USDT.POLYGON to the query request parameter symbol

    • info

      added the new enum value USDT.SOL to the query request parameter symbol

    • info

      added the new enum value USDT.TRX to the query request parameter symbol

    • info

      added the new enum value USDT.XPL to the query request parameter symbol

    • info

      added the new enum value W.SOL to the query request parameter symbol

    • info

      added the new enum value WBTC to the query request parameter symbol

    • info

      added the new enum value WBTC.ETH to the query request parameter symbol

    • info

      added the new enum value WIF.SOL to the query request parameter symbol

    • info

      added the new enum value WLD.WORLDCHAIN to the query request parameter symbol

    • info

      added the new enum value WLFI.ETH to the query request parameter symbol

    • info

      added the new enum value XLM to the query request parameter symbol

    • info

      added the new enum value XPL to the query request parameter symbol

    • info

      added the new enum value XRP to the query request parameter symbol

    • info

      added the new enum value XTZ to the query request parameter symbol

    • info

      added the new enum value ZK.ZKSYNC to the query request parameter symbol

    • info

      added the new enum value ZRO.ETH to the query request parameter symbol

    • info

      added the new enum value ZRX to the query request parameter symbol

    • info

      added the new enum value ZRX.ETH to the query request parameter symbol