Retrieve the top wallets by all-time trading volume on Pumpfun and Pumpswap.
This function queries Dune Analytics (query ID: 5232018) to fetch a ranked list of wallets
based on their total trading volume, formatted as a tabulated string.
Args:
limit (int, optional): Maximum number of wallets to return. Defaults to 10.
Returns:
str: A tabulated string containing the rank, wallet address, trade count, and total
trading volume (in USD) for each wallet, or an empty string if the query fails.
Raises:
Exception: If the API request or data retrieval encounters an error.