get_total_wallets | Retrieve the total number of wallets on Pumpfun and Pumpswap platforms.
This function queries Dune Analytics (query ID: 5239155) to fetch the total wallet count.
Returns:
int: The total number of wallets, or 0 if the query fails.
Raises:
Exception: If the API request or data retrieval encounters an error. |
get_alpha_wallets | Retrieve the top profitable wallets on Pumpfun and Pumpswap for the last 30 days.
This function queries Dune Analytics (query ID: 4032586) to fetch a ranked list of wallets
based on their realized profit over the past 30 days, formatted as a tabulated string.
Args:
limit (int, optional): Maximum number of wallets to return. Defaults to 100.
Returns:
str: A tabulated string containing the rank, wallet address, realized profit (in USD),
and last transaction timestamp for each wallet, or an empty string if the query fails.
Raises:
Exception: If the API request or data retrieval encounters an error. |
get_trading_wallets | 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. |
get_trading_wallet_distribution | Retrieve the distribution of wallets by trading volume on Pumpfun and Pumpswap, excluding bots.
This function queries Dune Analytics (query ID: 5239138) to fetch the number of wallets
grouped by trading volume tiers, formatted as a tabulated string.
Returns:
str: A tabulated string containing the volume tier and number of wallets in each tier,
or an empty string if the query fails.
Raises:
Exception: If the API request or data retrieval encounters an error. |