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

# Pool

> Raw pool data capturing liquidity venues and their token reserves.

| Field             | Type                                                          | Description                           |
| ----------------- | ------------------------------------------------------------- | ------------------------------------- |
| `id`              | *Integer*                                                     | Unique identifier for the pool        |
| `protocol`        | *[Protocol](/documentation/solana/dex/overview#data-sources)* | DEX protocol that owns the pool       |
| `event_type`      | *[Event Type](#event-type)*                                   | Pool event that produced this update. |
| `program_address` | *String \[address]*                                           | Program address that owns the pool    |
| `pool_address`    | *String \[address]*                                           | Pool address                          |
| `vaults`          | *Array([Vault](#vault))*                                      | Pool vaults                           |
| `block_slot`      | *Integer*                                                     | Solana block slot number              |
| `block_time`      | *String \[date-time]*                                         | Timestamp of the block                |
| `tx_hash`         | *String*                                                      | Transaction signature                 |

## Event Type

The pool event that triggered the update.

*Enum(String)*

| Value              | Description                           |
| ------------------ | ------------------------------------- |
| `create`           | A new pool was created.               |
| `swap`             | A swap was executed against the pool. |
| `add_liquidity`    | Liquidity was added to the pool.      |
| `remove_liquidity` | Liquidity was removed from the pool.  |

## Vault

A **vault** is a token account held by a pool that stores one side of its liquidity reserves. A pool has one vault per token it holds.

*Object*

| Field           | Type                | Description     |
| --------------- | ------------------- | --------------- |
| `vault_address` | *String \[address]* | Vault address   |
| `token_address` | *String \[address]* | Token address   |
| `amount`        | *Number*            | Amount of token |
