> For the complete documentation index, see [llms.txt](https://docs.hypertracker.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hypertracker.io/websocket-streams/stream-reference/account-events.md). Agents can also search and read this documentation through its [MCP server](https://docs.hypertracker.io/~gitbook/mcp).

# Account Events

## Account events: `rooms:misc_events`

Account-level deposits, withdrawals, transfers, delegations, vault activity, liquidations, and funding. This is generally low-volume. Funding creates a large hourly spike.

* **Channel:** `rooms:misc_events`
* **Filter:** `tf`
* **Replay:** supported

### Event format

`data` contains the original event plus `id`, `blockNumber`, `blockTime`, `localTime`, and `sentTime`. Here `id` is a decimal string. It used to be a number, so parse it as text. Original fields vary by event type. Verify fields before using them.

### Tags

| Tag         | Present | Notes                                                |
| ----------- | ------- | ---------------------------------------------------- |
| `eventType` | Always  | Event type listed below.                             |
| `user`      | Usually | Account. Two-account events appear once per account. |

### Event types

| Event type                                                                                                | Meaning                                              |
| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| `LedgerUpdate.deposit`, `LedgerUpdate.withdraw`, `LedgerUpdate.internalTransfer`                          | Ledger deposits, withdrawals, and internal transfers |
| `LedgerUpdate.subAccountTransfer`, `LedgerUpdate.spotTransfer`, `LedgerUpdate.spotGenesis`                | Account and spot transfers or genesis                |
| `LedgerUpdate.vaultCreate`, `LedgerUpdate.vaultDeposit`, `LedgerUpdate.vaultWithdraw`                     | Vault creation, deposits, withdrawals                |
| `LedgerUpdate.vaultDistribution`, `LedgerUpdate.vaultLeaderCommission`                                    | Vault distributions and commission                   |
| `LedgerUpdate.liquidation`, `LedgerUpdate.rewardsClaim`                                                   | Ledger liquidations and rewards                      |
| `LedgerUpdate.accountActivationGas`, `LedgerUpdate.perpDexClassTransfer`, `LedgerUpdate.deployGasAuction` | Other ledger events                                  |
| `CDeposit`, `CWithdrawal`, `Delegation`, `Funding`                                                        | Cross-chain, staking, and funding events             |

`{ "key": "eventType", "cmp": "sw", "val": "LedgerUpdate" }` matches all ledger updates.

### Duplicate delivery

Transfers can involve two accounts. They are delivered once for each `user` tag. Copies share the same `id`; deduplicate them.

Funding delivers once per account and coin. It can produce tens of thousands of events hourly. Filter by `user`, or exclude `Funding`:

```json
{ "op": "not", "nodes": [{ "op": "", "key": "eventType", "cmp": "eq", "val": "Funding" }] }
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hypertracker.io/websocket-streams/stream-reference/account-events.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
