# Ledger stream · HyperCore API · Femtos

> Deposits, withdrawals, transfers and other non-trade balance moves.

- Base URL: `https://api.femtos.xyz/v1` (REST) · `wss://api.femtos.xyz/v1/ws` (WebSocket) · MCP: `https://api.femtos.xyz/mcp`
- Auth: `Authorization: Bearer $FEMTOS_KEY` (or `X-API-KEY: $FEMTOS_KEY`). Free key: https://femtos.xyz/accounts/ (browser), or with
  no browser: `GET https://femtos.xyz/accounts/agent/challenge`, solve its proof of work, then `POST https://femtos.xyz/accounts/agent/signup`
  (https://femtos.xyz/agents.md#agent-onboarding)
- Decimals are exact strings, times Unix milliseconds, addresses lowercase `0x`
- Whole API in one file: https://femtos.xyz/agents.md · OpenAPI: https://api.femtos.xyz/v1/openapi.json · Index: https://femtos.xyz/llms.txt
- Page with live calls: https://femtos.xyz/hypercore/ws-ledger

WebSocket: get a ticket (`POST https://api.femtos.xyz/v1/ws-ticket` with your key), connect to `wss://api.femtos.xyz/v1/ws?ticket=$TICKET`, send the frame below; the first message has `"snapshot": true`. Details: https://femtos.xyz/agents.md#websocket

## Ledger stream — WS `hc.ledger`

Deposits, withdrawals, transfers and other non-trade balance moves.

| Param | In | Example or values |
|---|---|---|
| `kind` | filter | (optional) |
| `token` | filter | (optional) |
| `min_amount` | filter | (optional) |

```json
{"op":"subscribe","channel":"hc.ledger","filter":{}}
```

| Field | Type | Meaning |
|---|---|---|
| `data` | object | {kind, user, token, amount, usdc_value, destination, hash, block, time} |
| `kind` | string | spotTransfer, send, deposit, withdraw, borrowLend… |

## Related (Bridge & wallet)

- [Bridge transfers](https://femtos.xyz/hypercore/bridge.md): Matched HyperCore ↔ HyperEVM transfers with 24 h stats.
- [Bridge coverage](https://femtos.xyz/hypercore/bridge-coverage.md): Every HyperCore ↔ HyperEVM leg since our data starts, paired with its other leg: matched share per direction and token, why the others are not, latency.
- [Bridge stream](https://femtos.xyz/hypercore/ws-bridge.md): Each HyperCore ↔ HyperEVM transfer, initiated then completed.
- [Cross-layer wallet](https://femtos.xyz/hypercore/wallet.md): One address (or a named wallet's handle) on HyperCore, HyperEVM and Elysium, plus its latest events.
- [Wallet stream](https://femtos.xyz/hypercore/ws-wallet.md): Every event of the three layers touching one address.

All HyperCore endpoints: https://femtos.xyz/hypercore.md
