get_trending_tokens_on_pumpswap
Identify trending tokens on PumpSwap by retrieving the highest trading volume within specific time spans (5h, 12h, 24h), providing a formatted table with mint addresses and volume data for informed trading decisions.
Instructions
Retrieve tokens with the highest trading volume on PumpSwap within a specified time span.
Args:
time_span (str): Time period for the query. Must be one of: '5h', '12h', '24h'.
Defaults to '5h'.
limit (int): Maximum number of tokens to return. Defaults to 100.
Returns:
str: A formatted table of trending tokens on PumpSwap including mint address
and trading volume, or an error message if the query fails.
Raises:
ValueError: If an invalid time_span value is provided.
httpx.HTTPStatusError: If the Dune API request fails.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | ||
time_span | No | 5h |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
},
"time_span": {
"default": "5h",
"title": "Time Span",
"type": "string"
}
},
"title": "get_trending_tokens_on_pumpswapArguments",
"type": "object"
}