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

# Swaps Streams Overview

> Subscribe to real-time per-swap fee accounting events.

## Overview

The Swaps stream provides real-time fee accounting for AMM pools, including executed amounts and fee splits.

## Stream Matrix

| Stream                                          | Summary                                  | Dataset ID |
| :---------------------------------------------- | :--------------------------------------- | :--------- |
| [Swap Fees](/wss-reference/evm/swaps/swap-fees) | Real-time per-swap fee accounting events | `0303`     |

## Parameter Conventions

<ParamField body="chain_id" type="number" required>
  Chain identifier for the target EVM network.
</ParamField>

<ParamField body="pool_uids" type="string[]">
  Filter by specific BlockDB pool identifiers.
</ParamField>

<ParamField body="token_in_addresses" type="string[]">
  Filter by input token addresses.
</ParamField>

## See Also

* [Swaps Reference](/api-reference/evm/swaps/swap-fees) — For detailed schema descriptions.
* [Introduction](/wss-reference/overview/introduction) — Protocol and authentication details.
