# Femtos | Wallet list stream | API reference

> Every event of the three layers touching any of up to 100 addresses, in one subscription, each event tagged with its address. WebSocket channel wallets on Elysium, HyperCore and HyperEVM: parameters, response fields and a live call per layer.

- 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://dashboard.femtos.xyz/signup (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/reference/ws/wallets

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 list stream — WS `wallets`

Every event of the three layers touching any of up to 100 addresses, in one subscription, each event tagged with its address.

Layers: Elysium, HyperCore, HyperEVM.
Page with live calls: https://femtos.xyz/reference/ws/wallets?layer=<elysium|hypercore|hyperevm>

| Param | In | Example or values | Meaning |
|---|---|---|---|
| `addresses` | filter | `<address>,<creator>` | The addresses to follow: 1 to 100, 0x or named wallets' handles, a JSON array or one string of them comma-separated (any case, duplicates dropped); at most 500 over a connection's `wallets` subscriptions |
| `channel` | filter | (optional) | Kinds to keep, for every address: a JSON array, or one string of them comma-separated (`channels` is the same field): hc.trades, hc.orders, hc.ledger, hc.liquidations, hc.positions, bridge.transfers, elysium.trades, elysium.bridge, hyperevm.trades, hyperevm.transfers, elysium.transfers, hc.account, sandwiched |
| `include_spam` | filter | `(empty)`, `true` | true: also the HyperEVM / Elysium swaps and transfers of spam tokens (flagged `spam`), left out by default |

Elysium, HyperCore, HyperEVM:

```json
{"op":"subscribe","channel":"wallets","filter":{"addresses":"<address>,<creator>"}}
```

| Field | Type | Meaning |
|---|---|---|
| `snapshot: true` | WalletsEvent[] | one snapshot frame per address, its `wallet` snapshot (last 50 events, oldest first), each event with its `address`; each counts as one GET /v1/wallet/{address} call: a list of 100 addresses is 100 calls |
| `data` | WalletsEvent | one event of an address of the list, as the `wallet` channel sends it, with its `address`. Every frame (snapshot, events, `gap`, an error of one address) names its address in `filter`: that address's own `wallet` filter (`{address, channel, include_spam}`), never the list. One frame per event; `"batch":"block"`: one frame per address and block: {address, channel, data} |
| `data.address` | string | The address of the list the event belongs to: 0x address, or a named wallet's handle |
| `filter` | object | on every frame: the address it is about, as that address's `wallet` filter (`{address, channel, include_spam}`), never the list |
| `limits` | string | 100 addresses per subscription, 500 per connection (over its `wallets` subscriptions); a subscription counts once toward the connection's subscriptions. |
| `status` | "gap" | a frame of its own: events of those blocks will not come on this subscription (`from_block`, `to_block`, `from_time`, `to_time`, `channels`, `reason`). Not billed |
| `billing` | medium | the snapshot a subscribe asks for counts as GET /v1/wallet/{address} (medium); every other frame by its bytes (1 credit per 48 KiB) |

## Related (Bridges & wallets)

- [Cross-layer wallet](https://femtos.xyz/reference/wallet.md) `GET /v1/wallet/{address}`: One address (or a named wallet's handle) on HyperCore, HyperEVM and Elysium, plus its latest events. (Elysium, HyperCore, HyperEVM)
- [Wallet stream](https://femtos.xyz/reference/ws/wallet.md) `WS wallet`: Every event of the three layers touching one address. (Elysium, HyperCore, HyperEVM)
- [HyperCore account](https://femtos.xyz/reference/hypercore-account.md) `GET /v1/hypercore/wallet/{address}`: One address's HyperCore account: perp value and margin, positions, spot balances. (HyperCore)
- [Wallet open orders](https://femtos.xyz/reference/wallet-orders.md) `GET /v1/hypercore/wallet/{address}/orders`: One wallet's open orders: resting limit orders and trigger orders, on the main dex and every HIP-3 dex. (HyperCore)
- [Wallet order history](https://femtos.xyz/reference/wallet-order-history.md) `GET /v1/hypercore/wallet/{address}/orders/history`: One wallet's orders that left the book, newest first: how (filled, canceled, rejected) and why, the size filled and its average price. (HyperCore)
- [Wallet fills](https://femtos.xyz/reference/wallet-fills.md) `GET /v1/hypercore/wallet/{address}/fills`: One wallet's HyperCore fills, newest first, with closed PnL, fees and the position before each. (HyperCore)
- [Wallet fills per bar](https://femtos.xyz/reference/wallet-fill-bars.md) `GET /v1/hypercore/wallet/{address}/fills/bars`: One wallet's fills on one market summed per bar: buys and sells with their average price, and the position after each bar. (HyperCore)
- [Wallet funding](https://femtos.xyz/reference/wallet-funding.md) `GET /v1/hypercore/wallet/{address}/funding`: One wallet's funding payments, newest first: paid or received per perp and hour, with the position and the rate. (HyperCore)
- [Swaps by wallet](https://femtos.xyz/reference/wallet-trades.md) `GET /v1/trades`: Every swap a wallet sent (or a pool’s, a token’s), newest first, filterable by token, side, size and time. (Elysium, HyperEVM)
- [Transfers by wallet](https://femtos.xyz/reference/wallet-transfers.md) `GET /v1/transfers`: ERC-20 transfers sent and received by a wallet, newest first, filterable by token, direction, size and time. (Elysium, HyperEVM)
- [Wallet PnL](https://femtos.xyz/reference/wallet-pnl.md) `GET /v1/wallet/{address}/pnl`: Any wallet on HyperEVM: per token balance, cost basis, realized and unrealized PnL, with 1d / 7d / 30d / all totals and win rate. (Elysium, HyperEVM)
- [Portfolio value history](https://femtos.xyz/reference/wallet-value.md) `GET /v1/wallet/{address}/value`: Any address on HyperEVM: its total USD value per 5 min (1d), hour (7d) or day (30d, all). (Elysium, HyperEVM)
- [Wallet PnL curve](https://femtos.xyz/reference/hypercore-wallet-pnl.md) `GET /v1/hypercore/wallet/{address}/pnl`: One HyperCore wallet's PnL per hour or day: realized, fees, funding, net and cumulative, and its account value. (HyperCore)
- [Wallet PnL stream](https://femtos.xyz/reference/ws/pnl.md) `WS pnl`: A wallet's positions and PnL on HyperEVM (GET /v1/wallet/{address}/pnl), pushed on subscribe, then the positions each block changes. (Elysium, HyperEVM)
- [Was I sandwiched?](https://femtos.xyz/reference/wallet-mev.md) `GET /v1/wallet/{address}/mev`: Every sandwich of a wallet’s swaps on Elysium: the bot, its two transactions, what the wallet lost. Free, no key. (Elysium)
- [Ledger stream](https://femtos.xyz/reference/ws/ledger.md) `WS hc.ledger`: Deposits, withdrawals, transfers and other non-trade balance moves. (HyperCore)
- [Bridge movements](https://femtos.xyz/reference/bridge.md) `GET /v1/bridges`: Matched HyperCore ↔ HyperEVM transfers with 24 h stats. (Elysium, HyperCore, HyperEVM)
- [Bridge stream](https://femtos.xyz/reference/ws/bridge.md) `WS elysium.bridge | bridge.transfers`: Each HyperCore ↔ HyperEVM transfer, initiated then completed. (Elysium, HyperCore, HyperEVM)
- [Bridge movements stream](https://femtos.xyz/reference/ws/bridges.md) `WS bridges.recent`: The GET /v1/bridges answer (movements newest first, 24 h stats), pushed on subscribe, then when a movement of the route changes state. (Elysium, HyperCore, HyperEVM)
- [Bridge coverage](https://femtos.xyz/reference/bridge-coverage.md) `GET /v1/bridges/coverage`: 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. (HyperCore, HyperEVM)

Every page: https://femtos.xyz/reference.md
