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

# WalletTradeFlow

> A token the wallet received or sent in a trade. WalletTradeFlow type reference: every field and its type.

## GraphQL

```
type WalletTradeFlow {
  tokenAddress: String!
  amountIn: String
  amountOut: String
}
```

### Used By

**Returned 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.