Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getVolume(assetType?: "usdc" | "eth"): Promise<VolumeResponse>
assetType
string
"usdc"
"eth"
interface VolumeResponse { success: boolean; volumeInUSD: string; }
// Get USDC volume (default) const usdcVolume = await sdk.getVolume(); console.log("USDC Volume:", usdcVolume.volumeInUSD); // Get ETH/WETH volume const ethVolume = await sdk.getVolume("eth"); console.log("ETH Volume:", ethVolume.volumeInUSD);