> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# backfillWalletAggregates

> Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries.

<div data-generated>
  ## GraphQL

  ```
  type Mutation {
    # Requires a Growth or Enterprise plan.
    backfillWalletAggregates(
      input: WalletAggregateBackfillInput!
    ): WalletAggregateBackfillStateResponse!
  }

  enum WalletAggregateBackfillState {
    BackfillComplete
    BackfillInProgress
    BackfillCanceled
    BackfillBlocked
    BackfillRequestReceived
    BackfillNotFound
  }

  type WalletAggregateBackfillStateResponse {
    walletAddress: String!
    status: WalletAggregateBackfillState!
  }

  input WalletAggregateBackfillInput {
    walletAddress: String!
  }
  ```
</div>

### Example

<a href="/explore" target="_blank" rel="noopener noreferrer">Test this query in the Explorer →</a>

```graphql theme={null}
mutation {
  backfillWalletAggregates(
    input: { walletAddress: "0xADDRESS" }
  ) {
    walletAddress
    status
  }
}
```
