Account roles
| Role | How it is set |
|---|
| Trader | A wallet receives buy or sell counts from TradeEvent rows attributed to that wallet. |
| Creator | A wallet appears as creator on CreateEvent rows and receives created-token counts. |
| Route account | A routed program-self path receives route buy/sell counts when PumpScan can identify that program actor. |
Ranking metrics
| Metric | Formula or source |
|---|
| buy_lamports | Sum of buy-side SOL lamports attributed to the wallet. |
| sell_lamports | Sum of sell-side SOL lamports attributed to the wallet. |
| gain | sell_lamports minus buy_lamports. |
| loss | Negative gain, used to rank largest negative flow first. |
| gain_with_claim | gain plus claimed cashback and claimed creator-fee lamports. |
| created_tokens | Count of CreateEvent rows attributed to the creator wallet. |
Important distinction
PumpScan does not currently calculate a single trader score. The rankings are explicit sortable metrics, not a hidden weighted formula.