# Migrate from aRPC (/omen/migrate)

> Move from aRPC v1 (legacy) or v2 to Omen before the 15 December 2026 deprecation: endpoint, access, and every v1/v2 concept mapped to Omen.



<Callout type="warn" title="aRPC v1 and v2 are deprecated on 15 December 2026">
  Until then both keep working where they run today: `http://arpc.<metro>.corvus-labs.io:20202` in fra, ams, lon, nyc and tyo. Move to Omen before that date.
</Callout>

Omen is the successor to both aRPC APIs. It sees transactions earlier (first for 99.9% of transactions, 0.55–0.64 ms earlier at p50 than aRPC v2, and it delivered 3.1% of transactions v2 missed), runs in all nine metros, and can replay after a reconnect. The data is the same kind: pre-execution transactions, entries and slot events.

## What changes

|                         | aRPC v1 / v2                                                                                                                           | Omen                                                                                                                                 |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Endpoint                | `http://arpc.<metro>.corvus-labs.io:20202`                                                                                             | `http://omen.<metro>.corvus-labs.io:30303`                                                                                           |
| Metros                  | fra, ams, lon, nyc, tyo                                                                                                                | All nine: fra, ams, lon, nyc, tyo, dub, sgp, slc, sqq                                                                                |
| Transport               | Plaintext HTTP/2                                                                                                                       | Plaintext HTTP/2 (unchanged: `http://`, insecure credentials)                                                                        |
| Access                  | Plan RPS + TPS ≥ 500                                                                                                                   | Its own product: free for NFT pass holders on their pass IPs in fra, ams, lon, nyc and tyo; otherwise bought per metro and server IP |
| Credential              | Egress IP, or `x-token` on some dedicated deployments                                                                                  | Egress IP only; no `x-token`                                                                                                         |
| Proto                   | [`/proto/arpc/legacy/service.proto`](/proto/arpc/legacy/service.proto), [`/proto/arpc/v2/service.proto`](/proto/arpc/v2/service.proto) | [`/proto/omen/arpc.proto`](/proto/omen/arpc.proto)                                                                                   |
| Service                 | `arpc.ARPCService` (v1), `arpc.v2.Service` (v2)                                                                                        | `arpc.aRPC`, one `Subscribe` RPC                                                                                                     |
| Replay after disconnect | None                                                                                                                                   | `Resume{from_slot}`                                                                                                                  |

There's no PPS check on Omen: the `PERMISSION_DENIED` "PPS limit requirement not met" refusal is gone. A `PERMISSION_DENIED` on Omen means this IP has no Omen access in this metro ([refusals](/omen/limits#refusals)).

Holders: in fra, ams, lon, nyc and tyo, Omen is free on the IPs on your pass. In dub, sgp, slc and sqq, and for IPs from the pool or direct rentals, you buy it at the holder discount: 20% less on Pro, 40% less on Elite. See [access and pricing](/omen#access-and-pricing) and [Pricing: Omen and Velox](/platform/pricing#omen-and-velox).

<Callout type="warn" title="Don't compile both protos together">
  The Omen proto and the legacy aRPC proto are both `package arpc`. While you run both, generate them into separate modules, crates or packages ([package name](/omen/api#package-name)).
</Callout>

## Concept map

| aRPC v1 / v2                                                                                  | Omen                                                                                                              |
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| v1 `Subscribe` with a `transactions` filter map                                               | One `SubscriptionRequest` per filter, kind `transactions`, encoding `TRANSACTION_ENCODING_DECODED`                |
| v2 `SubscribeTransactions`                                                                    | Kind `transactions`, encoding `TRANSACTION_ENCODING_DECODED`                                                      |
| v2 `SubscribeBinaryTransactions`                                                              | Kind `transactions`, encoding `TRANSACTION_ENCODING_BINARY` (the default)                                         |
| v2 `SubscribeEntries`                                                                         | Kind `entries`, with the same `EntryMetadataFilter` fields                                                        |
| v2 `SubscribeSlots`, v1 `new_seen_slots`                                                      | Kind `slots`: `include_dead`, `include_complete`, and new `include_first_shred`. `ALIVE` is always sent           |
| Several RPCs, one stream each                                                                 | All kinds on one `Subscribe` stream, up to 64 subscriptions                                                       |
| v1 filter-map name, v2 `filter_id` (string)                                                   | `sub_id`, a number from 0 to 63                                                                                   |
| v1 `filters`, v2 `filter_ids` on each update                                                  | `matched_subs` bitmask on every frame, binary transactions included                                               |
| `RegisterTransactionFilters`                                                                  | `SubscriptionRequest`; same `sub_id` replaces                                                                     |
| `UnregisterTransactionFilters`                                                                | `Unsubscribe{sub_id}`                                                                                             |
| `FilterValidationResult{filter_id, accepted, rejection_reason}`                               | `SubscribeAck{sub_id, accepted, reason}`, with an [`AckReason`](/omen/api#subscribeack) enum instead of free text |
| `account_include` / `account_exclude` / `account_required` as base58 strings                  | The same three fields as **raw 32-byte `bytes`**; lookup-table addresses are matched too                          |
| No vote filter                                                                                | `exclude_votes`                                                                                                   |
| —                                                                                             | `cuckoo_account_include` for very large key sets                                                                  |
| v2 `sequence`                                                                                 | `conn_seq`: per connection, on every frame, gap-free                                                              |
| —                                                                                             | `seq`: a global frame id for de-duplication                                                                       |
| `created_at` (`Timestamp`)                                                                    | `created_at_ns` (Unix nanoseconds)                                                                                |
| No replay                                                                                     | `Resume{from_slot}` as the first message, then `ReplayComplete`                                                   |
| `Ping{ping_id}` / `Pong{ping_id}`                                                             | `Ping{id}` / `Pong{id}`                                                                                           |
| Heartbeat `Pong` with `ping_id = 0` every 10 s; opt-in `include_heartbeat_updates` on entries | `Heartbeat{slot}` after 10 s without frames, on every stream                                                      |
| v2 `SubscribeTransactionsResponse.transaction_update.transaction`                             | `DecodedTransaction`: `slot`, position fields, raw `signature`, `transaction`, `lut_miss`                         |
| `string signature` compatibility field, `signatures[0]`                                       | `signature`: raw 64 bytes, on both encodings                                                                      |
| `versioned` (`BoolValue`)                                                                     | `transaction_version` (`LEGACY`, `V0`, `V1`) plus `transaction_config` for v1 messages                            |
| `loaded_writable_addresses` / `loaded_readonly_addresses`                                     | Same fields, same meaning                                                                                         |
| v2 `EntryBatch` of several entries                                                            | One `Entry` per frame                                                                                             |
| `slot_status` / `current_leader` on entries                                                   | A `slots` subscription; the leader is in `SlotStatusUpdate.leader`                                                |
| v2 `SlotStatus` values `UNSPECIFIED`, `ALIVE`, `DEAD`, `COMPLETE`                             | `ALIVE` = 0, `FIRST_SHRED` = 1, `COMPLETE` = 2, `DEAD` = 3. The numbers changed: map by name                      |
| —                                                                                             | `SlotRetract`: discard what you received for a slot                                                               |
| —                                                                                             | `provenance` bits and `DataPolicy` to drop recovered or repaired frames                                           |
| Filter caps from plan RPS, or 1,200 / 2,000 keys per selector for Pro / Elite                 | 100,000 keys per subscription, 200,000 per connection                                                             |

## Steps

<Steps>
  <Step>
    ### Get access

    Check that your server's egress IP has Omen in the metro you'll use: a pass IP in fra, ams, lon, nyc or tyo, or an Omen order covering that metro and IP. Without it the stream fails with `PERMISSION_DENIED` (7).
  </Step>

  <Step>
    ### Swap the proto and endpoint

    Download [`arpc.proto`](/proto/omen/arpc.proto) and point the client at `http://omen.<metro>.corvus-labs.io:30303`. Keep insecure credentials. Drop any `x-token` metadata.
  </Step>

  <Step>
    ### Convert keys to bytes

    Omen filters take raw 32-byte keys. Decode each base58 address once, when you build the request:

    ```javascript
    // aRPC v2
    stream.write({
      register_filters: {
        filters: [{
          filter_id: 'token-program',
          filter: { account_include: ['TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'] },
        }],
      },
    });

    // Omen
    stream.write({
      subscribe: {
        sub_id: 0, // was 'token-program'
        transactions: {
          account_include: [base58ToKey('TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA')],
          encoding: 'TRANSACTION_ENCODING_DECODED',
        },
      },
    });
    ```

    `base58ToKey` is in the [quick start](/omen/quickstart); any Solana SDK's public-key type gives you the same 32 bytes. Keep a table from your old filter names to `sub_id`s, and route on `matched_subs` bits instead of `filter_ids`.
  </Step>

  <Step>
    ### Merge your streams

    Put what used to be separate RPCs on one stream as separate subscriptions: for example `sub_id` 0 for decoded transactions, 1 for entries, 2 for slots. Each gets its own `SubscribeAck`. Wait for it, the way you waited for `FilterValidationResult`.
  </Step>

  <Step>
    ### Replace sequence checks and reconnects

    * Check `conn_seq` on every frame instead of `sequence`. A gap is a transport bug, never filtering.
    * On reconnect, send `Resume{from_slot}` first, then your subscriptions. De-duplicate the replayed tail on `(slot, batch_index, entry_index, tx_index)`.
    * Back off with jitter, never sooner than `retry_after_ms`.
    * Handle `SlotRetract` by discarding what you received for that slot.

    The [quick start](/omen/quickstart) has all of this in Node.js, Rust and Go.
  </Step>

  <Step>
    ### Run both, then cut over

    While aRPC still runs, compare the two streams side by side from the same host. Then switch traffic to Omen before **15 December 2026**.
  </Step>
</Steps>
