# Femtos | Chain activity stream | API reference

> The GET /v1/activity answer of HyperEVM for one interval (its last 120 / 96 / 168 / 90 buckets of 1m / 15m / 1h / 1d), pushed on subscribe, then at each indexed block that moves its open buckets (whole, or as a JSON Patch of the rows that changed). WebSocket channels elysium.activity | hyperevm.activity on Elysium 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/activity

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

## Chain activity stream — WS `elysium.activity | hyperevm.activity`

- Elysium: The GET /v1/activity answer of Elysium for one interval (its last 120 / 96 / 168 / 90 buckets of 1m / 15m / 1h / 1d), pushed on subscribe, then at each indexed block that moves its open buckets (whole, or as a JSON Patch of the rows that changed).
- HyperEVM: The GET /v1/activity answer of HyperEVM for one interval (its last 120 / 96 / 168 / 90 buckets of 1m / 15m / 1h / 1d), pushed on subscribe, then at each indexed block that moves its open buckets (whole, or as a JSON Patch of the rows that changed).

Layers: Elysium, HyperEVM. Not on HyperCore: HyperCore has no EVM transactions: its trading activity is GET /v1/volume and the markets' 24 h stats (hc.markets).
Page with live calls: https://femtos.xyz/reference/ws/activity?layer=<elysium|hyperevm>

| Param | In | Example or values | Meaning |
|---|---|---|---|
| `interval` | filter | `15m` | Bucket size: 1m, 15m, 1h (default) or 1d |

Elysium:

```json
{"op":"subscribe","channel":"elysium.activity","filter":{"interval":"15m"}}
```

HyperEVM:

```json
{"op":"subscribe","channel":"hyperevm.activity","filter":{"interval":"15m"}}
```

| Field | Type | Meaning |
|---|---|---|
| `snapshot: true` | object | the full GET /v1/activity answer: the first frame, and any frame sent whole |
| `patch: true` | JsonPatch | with "patch": true on subscribe: the operations, in order, that turn the previous answer into this one |

## Related (Chain & reference)

- [Freshness](https://femtos.xyz/reference/status.md) `GET /v1/status`: Head and lag of each layer, measured now. (Elysium, HyperCore, HyperEVM)
- [Freshness stream](https://femtos.xyz/reference/ws/status.md) `WS status`: The GET /v1/status answer (head and lag of each layer, live feeds), pushed whole on subscribe and at most once a second when it changes. (Elysium, HyperCore, HyperEVM)
- [Blocks stream](https://femtos.xyz/reference/ws/blocks.md) `WS elysium.blocks | hyperevm.blocks`: Each new HyperEVM block header, small and big blocks, from our node. (Elysium, HyperEVM)
- [Gas tracker](https://femtos.xyz/reference/gas.md) `GET /v1/gas`: Every HyperEVM block's base fee, gas used and tips over 1h to 7d, with stats and the latest block. (Elysium, HyperEVM)
- [Gas stream](https://femtos.xyz/reference/ws/gas.md) `WS elysium.gas | hyperevm.gas`: Each new HyperEVM block's base fee, gas used and tips, from our node; the history is GET /v1/gas. (Elysium, HyperEVM)
- [Chain activity](https://femtos.xyz/reference/activity.md) `GET /v1/activity`: HyperEVM activity per bucket: transactions, wallets and new wallets, contracts, fees, swaps, traders, volume, launches, tokens created and deposits bridged in. (Elysium, HyperEVM)
- [Chain transactions](https://femtos.xyz/reference/activity-transactions.md) `GET /v1/activity/transactions`: HyperEVM user transactions, those that created a contract, and the fees they paid, per bucket. (Elysium, HyperEVM)
- [Chain wallets](https://femtos.xyz/reference/activity-wallets.md) `GET /v1/activity/wallets`: HyperEVM distinct senders of user transactions, and the new ones (first user transaction on the layer), per bucket. (Elysium, HyperEVM)
- [Chain dex volume](https://femtos.xyz/reference/activity-volume.md) `GET /v1/activity/volume`: HyperEVM swaps on the layer's pools, distinct traders, and their USD volume (wash round trips left out), per bucket. (Elysium, HyperEVM)
- [Chain launches](https://femtos.xyz/reference/activity-launches.md) `GET /v1/activity/launches`: HyperEVM tokens launched on a launchpad and ERC-20 tokens created (spam left out), per bucket. (Elysium, HyperEVM)
- [Chain bridged in](https://femtos.xyz/reference/activity-bridged.md) `GET /v1/activity/bridged`: HyperEVM deposits from the parent chain: count, distinct depositors and USD value, per bucket. (Elysium, HyperEVM)
- [Block](https://femtos.xyz/reference/block.md) `GET /v1/blocks/{number}`: One HyperEVM block and every transaction in it: who called what, swaps, gas and fees. (Elysium, HyperEVM)
- [Transaction](https://femtos.xyz/reference/tx.md) `GET /v1/tx/{hash}`: One transaction: status, gas, decoded transfers, swaps and liquidity, bridge legs and journey. (Elysium, HyperEVM)
- [Transaction status](https://femtos.xyz/reference/tx-status.md) `GET /v1/tx/{hash}/status`: Where a transaction sent through our HyperEVM RPC is: which upstreams accepted it, its block, or replaced / dropped. (Elysium, HyperEVM)
- [Transaction status stream](https://femtos.xyz/reference/ws/tx-status.md) `WS elysium.tx.status | hyperevm.tx.status`: The inclusion status of one transaction sent through POST /v1/HyperEVM/rpc (eth_sendRawTransaction): the upstreams that accepted it, then its block (success or reverted), or replaced / dropped. A hash not sent through our RPC gets its status from the chain once (included or unknown) and no later frame. With `from` instead of `hash`: every transaction of up to 10 senders, those your account sent through our RPC from the moment an upstream accepts them, the others once they are in a block. (Elysium, HyperEVM)
- [Sent transactions](https://femtos.xyz/reference/rpc-sent.md) `GET /v1/rpc/sent`: The transactions your account sent through our HyperEVM RPC, newest first, with where each one is. (Elysium, HyperEVM)
- [EVM JSON-RPC](https://femtos.xyz/reference/rpc.md) `POST /v1/elysium/rpc | /v1/hyperevm/rpc`: Free HyperEVM RPC by Femtos, read and send (eth_sendRawTransaction), for wallets, dapps and bots, not for indexing (use the Femtos API for history): no key 5 requests a second per IP; a key its plan's limits (free 50/s, 15 transactions/s, up to 2000/s), never metered; batches of 50 with a key, eth_getLogs over 1,000 blocks at most, state of the last 128 blocks only. (Elysium, HyperEVM)
- [Stream stats](https://femtos.xyz/reference/ws/stats.md) `WS stats`: Our HyperCore stream health, once a second. (HyperCore)
- [Check your key](https://femtos.xyz/reference/whoami.md) `GET /v1/whoami`: Answers the name your key is registered under, its tier, billing state and the limits in force. (Elysium, HyperCore, HyperEVM)
- [OpenAPI document](https://femtos.xyz/reference/openapi.md) `GET /v1/openapi.json`: The OpenAPI 3.1 contract of every REST call, public. (Elysium, HyperCore, HyperEVM)

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