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

# WalletTradesInput

> WalletTradesInput is a GraphQL input object in the Codex API. See every field, its type, and which operations accept it.

## GraphQL

```
input WalletTradesInput {
  walletAddress: String!
  networkIds: [Int!]
  tokenAddress: String
  side: WalletTradeSide
  timestamp: EventQueryTimestampInput
}

enum WalletTradeSide {
  BUY
  SELL
  BURN
}

input EventQueryTimestampInput {
  from: Int!
  to: Int!
}
```

### Used By

**Used as input by**

* [walletTrades](https://docs.codex.io/api-reference/queries/wallettrades.md): Returns a wallet's trades, newest first: one per transaction, with what the wallet paid and received and what it was worth. Each network's trades begin at the time in `coverage`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.