Skip to main content
The SDK includes typed wrappers for the public token endpoints. All return cached prices where possible — use them in tight UI loops without hammering the API.

getAllTokens

getTokenDetails

getTokenPrices

getBalances

Tips

  • Native token — comes back under the sentinel address 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE.
  • Price sources — DZap’s own price feed, DefiLlama, and CoinGecko, tried in that order until every requested token resolves.
  • Decimals — always check decimals before formatting. USDC is 6, WETH is 18.
Last modified on July 14, 2026