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

# BarCommitmentLevel

> The commitment level of a streamed bar update - only Solana and Base support values other than Confirmed. Processed returns Base Flashblocks. Preprocessed is Solana-only and deprecated because edge node performance improvements have made it unnecessary. Use Processed instead.

## GraphQL

```
enum BarCommitmentLevel {
  Processed
  Confirmed
}
```

### Used By

**Returned by**

* [onBarsUpdated](https://docs.codex.io/api-reference/subscriptions/onbarsupdated.md): Live-streamed bar chart data to track price changes over time. Processed updates are projected into `aggregates` using the confirmed bar shape.
* [onTokenBarsUpdated](https://docs.codex.io/api-reference/subscriptions/ontokenbarsupdated.md): Live-streamed aggregate bar chart data to track price changes over time for a token.

**Used as input by**

* [onBarsUpdated](https://docs.codex.io/api-reference/subscriptions/onbarsupdated.md): Live-streamed bar chart data to track price changes over time. Processed updates are projected into `aggregates` using the confirmed bar shape.
* [onTokenBarsUpdated](https://docs.codex.io/api-reference/subscriptions/ontokenbarsupdated.md): Live-streamed aggregate bar chart data to track price changes over time for a token.


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