# Wallet stream · HyperCore API · Femtos

> Every event of the three layers touching one address.

- 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`. 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-wallet

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

## Wallet stream — WS `wallet`

Every event of the three layers touching one address.

| Param | In | Example or values |
|---|---|---|
| `address` | filter | `<address>` |
| `channel` | filter | (optional) |

```json
{"op":"subscribe","channel":"wallet","filter":{"address":"<address>"}}
```

| Field | Type | Meaning |
|---|---|---|
| `snapshot: true` | object[] | last 50 events |
| `data` | {channel, data} | one event: hc.trades, hc.orders, hc.ledger, bridge.transfers… |
| `channel` | filter | kinds to keep, comma list |

## 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.
- [Ledger stream](https://femtos.xyz/hypercore/ws-ledger.md): Deposits, withdrawals, transfers and other non-trade balance moves.

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