Available Queries
Get top trading wallets for token
This GraphQL query provides a list of wallets with the highest trading volume for a specific token over the last 30 days, along with detailed information about their holdings, transaction activity, realized and unrealized profit/loss metrics. This documentation follows our standard streaming API structure.
Credit Cost
TBD
Supported Chains
- Base Mainnet
- BSC Mainnet
- Ethereum Mainnet
- Gnosis Mainnet
- Polygon Mainnet
- Optimism Mainnet
This query is currently in Beta. It is stable for testing and evaluation but may undergo changes in schema or behavior as we continue to improve it. No API credits are currently charged.
We welcome your feedback so please reach out to us directly to report issues or request features.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
chain_name | enum | Yes | Chain name to filter events (e.g., BASE_MAINNET , ETH_MAINNET , BSC_MAINNET ) |
token_address | string | Yes | The deployed token contract address to query |
Query
You can query the upnlForToken
endpoint to retrieve top wallet trading data.
Basic Query
Complete Query
Response Format
Here’s an example of the response data structure:
Field Descriptions
Field | Type | Description |
---|---|---|
token | string | Token contract address, represented in lowercase with a 0x prefix |
address | string | Wallet address of the token trader, also in lowercase with a 0x prefix |
volume | BigInteger | Total volume of tokens transferred by this wallet in the past 30 days |
transactions_count | integer | Number of transactions involving this wallet and token in the past 30 days |
pnl_realized_usd | float | Realized profit or loss in USD from completed trades |
balance | BigInteger | Current token balance in raw format (full decimal precision) |
balance_pretty | string | Human-readable token balance formatted to 4 decimal places |
pnl_unrealized_usd | float | Unrealized profit or loss in USD based on the current token price |
contract_metadata | object | Contains metadata details for the token contract |