# Cross-layer wallet · HyperCore API · Femtos

> One address (or a named wallet's handle) on HyperCore, HyperEVM and Elysium, plus its latest events.

- 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/wallet

## Cross-layer wallet — GET `/v1/wallet/{address}`

One address (or a named wallet's handle) on HyperCore, HyperEVM and Elysium, plus its latest events.

| Param | In | Example or values |
|---|---|---|
| `address` | path | `<address>` |

```bash
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/wallet/<address>"
```

| Field | Type | Meaning |
|---|---|---|
| `hypercore.perp` | object | account value, margin, positions with liquidation price |
| `hypercore.spot` | object | balances with USD value |
| `hyperevm · elysium` | object | balances, NFTs, swaps / transfers and bridges on the other layers |
| `bridges` | object | legs in flight and journeys across the three layers |
| `*.freshness` | object | each section: head, headTime, lagMs, behindMs (as /api/status) |
| `recent[]` | object | {layer, kind: fill \| ledger \| bridge \| swap \| transfer, t, data} |

## 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.
- [Wallet stream](https://femtos.xyz/hypercore/ws-wallet.md): Every event of the three layers touching one address.
- [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
