> ## 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.

# detailedWalletStats

> Fetch a rich, windowed performance breakdown for a wallet: volume, realized profit, win/loss, best trades, and per-network decomposition.

### 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

<ResponseField name="detailedWalletStats" type="DetailedWalletStats!">
  See [DetailedWalletStats](/api-reference/graphql/types/DetailedWalletStats), [WindowedWalletStats](/api-reference/graphql/types/WindowedWalletStats), and [NetworkBreakdown](/api-reference/graphql/types/NetworkBreakdown) for full type details.
</ResponseField>

### Arguments

<ResponseField name="input" type="DetailedWalletStatsInput!">
  See [DetailedWalletStatsInput](/api-reference/graphql/types/DetailedWalletStatsInput) for full details.
</ResponseField>

### Example

```graphql theme={null}
{
  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

<iframe src={`https://graphql.mobula.io/graphql?query=${encodeURIComponent('{ detailedWalletStats(input: { walletAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", includeNetworkBreakdown: true }) { walletAddress lastTransactionAt labels scammerScore botScore statsDay30 { statsUsd { volumeUsd realizedProfitUsd realizedProfitPercentage } statsNonCurrency { swaps uniqueTokens wins losses } } networkBreakdown { networkId nativeTokenBalance statsDay30 { statsUsd { volumeUsd realizedProfitUsd } } } wallet { address displayName twitterUsername ethosScore } } }')}`} title="GraphQL Playground" style={{ width: '100%', minHeight: '600px', border: '1px solid var(--color-border)', borderRadius: '8px' }} />
