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 |
upnlForToken
endpoint to retrieve top wallet trading data.
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 |