Utilities
Chain Helpers
getAllSupportedChains, getChainConfig, getDZapContractAddress.
Last modified on July 29, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getAllSupportedChains, getChainConfig, getDZapContractAddress.
// All supported chains, keyed by chainId
const chains = await dzap.getAllSupportedChains();
// Same data, but cached across calls (static method, no args)
const cachedChains = await DZapClient.getChainConfig();
// Router/DCA/zap contract address for one chain + service (async)
const router = await dzap.getDZapContractAddress({ chainId: 8453, service: 'trade' });