Skip to main content

Assets API

The authoritative catalogue of assets enabled on your workspace. Fetch it at startup rather than hard-coding provider coin keys.

MethodPathScope
GET/v1/assetsaccounts:read
curl -fsS https://api-staging.zenvault.io/api/v1/assets \
-H "Authorization: Bearer $KEY"
{
"items": [
{
"canonicalKey": "USDT_ETHEREUM",
"symbol": "USDT",
"chain": "ethereum",
"contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals": 6,
"isNative": false,
"isTestnet": false,
"capabilities": ["contract-call", "approve"]
}
],
"nextCursor": "USDT_ETHEREUM"
}
FieldMeaning
canonicalKeyUse this exact value in every assetCanonical field
symbol / chainDisplay + chain slug
contractAddressToken contract (null for native assets)
decimalsMax precision the asset supports
isNative / isTestnetFlags
capabilitiese.g. contract-call, approve

Testnet entries are excluded by default; add ?includeTestnet=true to include them.