Documentation Index Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Query aggregated, windowed trading performance for a wallet across 1-day, 1-week, 30-day and 1-year windows. Ideal for building wallet profile pages, PnL dashboards, smart-money leaderboards, and identity-enriched trader views.
Windowed USD stats: volume, realized profit, average profit per trade, best trade
Windowed non-currency stats: swaps, unique tokens, wins / losses, holding duration
Per-network breakdown with the same windowed stats
Identity fields via the embedded Wallet object (social handles, Ethos score, first funding)
Labels and scammer / bot scores
Returns
See DetailedWalletStats , WindowedWalletStats , and NetworkBreakdown for full type details. Show View fields (DetailedWalletStats)
Last transaction timestamp (unix seconds).
Per-network decomposition of stats (only included when includeNetworkBreakdown is true). Native token balance on this network.
Windowed stats for the last 24h on this network.
Windowed stats for the last 7 days on this network.
Windowed stats for the last 30 days on this network.
Windowed stats for the last 1 year on this network (only when includeStatsYear1 is true).
Wallet labels (e.g. cex, bot, sniper).
Aggregated windowed stats for the last 24h (all networks). Network ID (null when aggregated across all networks).
Window start (unix seconds).
Window end (unix seconds).
Last transaction in window (unix seconds).
statsUsd
WindowedDetailedCurrencyWalletStats!
USD-denominated stats. See WindowedDetailedCurrencyWalletStats . Show WindowedDetailedCurrencyWalletStats
Total USD volume (includes all swaps).
heldTokenAcquisitionCostUsd
Cost basis of tokens still held at window end.
soldTokenAcquisitionCostUsd
Cost basis of tokens sold in the window.
Realized + unrealized profit in USD.
Average USD profit per trade.
Average USD amount per swap.
Best single-trade profit in USD.
bestTradeProfitPercentage
Best single-trade profit %.
statsNonCurrency
WindowedDetailedNonCurrencyWalletStats!
bestTradeToken
WindowedWalletBestTradeToken
Aggregated windowed stats for the last 7 days.
Aggregated windowed stats for the last 30 days.
Aggregated windowed stats for the last 1 year (only when includeStatsYear1 is true).
Identity and funding metadata for the wallet. See Wallet .
Arguments
input
DetailedWalletStatsInput!
See DetailedWalletStatsInput for full details. Show DetailedWalletStatsInput
Wallet address to fetch stats for.
Optional network ID to scope the aggregate stats to a single chain.
Optional reference timestamp (unix seconds). Defaults to now.
Include the per-network breakdown (default: false).
Include the 1-year window stats (default: false — they are the most expensive to compute).
Example
{
detailedWalletStats ( input : {
walletAddress : "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
includeNetworkBreakdown : true
includeStatsYear1 : true
}) {
walletAddress
lastTransactionAt
labels
scammerScore
botScore
statsDay1 {
start
end
statsUsd {
volumeUsd
realizedProfitUsd
realizedProfitPercentage
bestTradeProfitUsd
}
statsNonCurrency {
swaps
uniqueTokens
wins
losses
}
bestTradeToken { address symbol networkId }
}
statsWeek1 { statsUsd { volumeUsd realizedProfitUsd } }
statsDay30 { statsUsd { volumeUsd realizedProfitUsd } }
statsYear1 { statsUsd { volumeUsd realizedProfitUsd } }
networkBreakdown {
networkId
nativeTokenBalance
statsDay30 { statsUsd { volumeUsd realizedProfitUsd } }
}
wallet {
address
displayName
twitterUsername
ethosScore
firstFunding { fundedByAddress fundedByLabel fundedAt }
}
}
}
Playground