# Femtos | Transaction status stream | API reference

> 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. WebSocket channels elysium.tx.status | hyperevm.tx.status 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/tx-status

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

## Transaction status stream — WS `elysium.tx.status | hyperevm.tx.status`

- Elysium: The inclusion status of one transaction sent through POST /v1/Elysium/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.
- HyperEVM: 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.

Layers: Elysium, HyperEVM. Not on HyperCore: HyperCore has no EVM transactions: an order's life is the hc.orders channel.
Page with live calls: https://femtos.xyz/reference/ws/tx-status?layer=<elysium|hyperevm>

| Param | In | Example or values | Meaning |
|---|---|---|---|
| `hash` | filter | (optional) | Transaction hash (0x + 64 hex); subscribe before or after sending it. Send `hash` or `from`, not both |
| `from` | filter | (optional) | Instead of `hash`: the transactions of up to 10 senders, a JSON array or one string of them comma-separated (any case, duplicates dropped). Each frame is one transaction's status; a pending, replaced or dropped transaction is shown only to the account whose key sent it through our RPC (any of its keys); every other subscriber, and any call without a customer key, sees the transactions of these senders only once they are in a block, as the chain says them (`tracked: false`) |

Elysium:

```json
{"op":"subscribe","channel":"elysium.tx.status","filter":{}}
```

HyperEVM:

```json
{"op":"subscribe","channel":"hyperevm.tx.status","filter":{}}
```

| Field | Type | Meaning |
|---|---|---|
| `snapshot: true` | TxStatus \| TxStatus[] | `hash`: the status now, as GET /v1/tx/{hash}/status answers it (counted as one call of it). `from`: the last 50 transactions of these senders your account sent through our RPC, as GET /v1/rpc/sent answers them, newest first, with those the subscription has seen in a block since it opened (a socket joining it gets them too); empty for a new subscription without a customer key; counted as one call of GET /v1/tx/{hash}/status |
| `data.state` | unknown \| pending \| included \| replaced \| dropped | pending: accepted by an upstream, not in a block yet; included: in a block (final); replaced: its sender's nonce was used by another transaction (final); dropped: not in a block after the delay (Elysium: 10 minutes; HyperEVM: 24 hours (its mempool keeps a transaction for a day)) with its nonce still unused; unknown: not sent through this RPC and not on the chain |
| `data.accepted[]` | object | The upstreams that accepted it, first one first; empty when not tracked: {upstream, at} |
| `data.block` | int \| null | included: its block number |
| `data.success` | boolean \| null | included: true when it succeeded, false when it reverted |
| `data.replacedBy` | string \| null | replaced: the hash of the transaction mined with its nonce; null when that one is not in the last blocks read |
| `data.finalAt` | ms \| null | When we saw its final state (included, replaced, dropped); null before, and for a transaction read from the chain only |
| `billing` | rest | the snapshot a subscribe asks for counts as GET /v1/tx/{hash}/status (rest); every other frame by its bytes (1 credit per 48 KiB) |

## 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)
- [Chain activity stream](https://femtos.xyz/reference/ws/activity.md) `WS elysium.activity | hyperevm.activity`: 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). (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)
- [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
