Corvus Labs

Migrate from aRPC

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.

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.

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 / v2Omen
Endpointhttp://arpc.<metro>.corvus-labs.io:20202http://omen.<metro>.corvus-labs.io:30303
Metrosfra, ams, lon, nyc, tyoAll nine: fra, ams, lon, nyc, tyo, dub, sgp, slc, sqq
TransportPlaintext HTTP/2Plaintext HTTP/2 (unchanged: http://, insecure credentials)
AccessPlan RPS + TPS ≥ 500Its 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
CredentialEgress IP, or x-token on some dedicated deploymentsEgress IP only; no x-token
Proto/proto/arpc/legacy/service.proto, /proto/arpc/v2/service.proto/proto/omen/arpc.proto
Servicearpc.ARPCService (v1), arpc.v2.Service (v2)arpc.aRPC, one Subscribe RPC
Replay after disconnectNoneResume{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).

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 and Pricing: Omen and Velox.

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).

Concept map

aRPC v1 / v2Omen
v1 Subscribe with a transactions filter mapOne SubscriptionRequest per filter, kind transactions, encoding TRANSACTION_ENCODING_DECODED
v2 SubscribeTransactionsKind transactions, encoding TRANSACTION_ENCODING_DECODED
v2 SubscribeBinaryTransactionsKind transactions, encoding TRANSACTION_ENCODING_BINARY (the default)
v2 SubscribeEntriesKind entries, with the same EntryMetadataFilter fields
v2 SubscribeSlots, v1 new_seen_slotsKind slots: include_dead, include_complete, and new include_first_shred. ALIVE is always sent
Several RPCs, one stream eachAll 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 updatematched_subs bitmask on every frame, binary transactions included
RegisterTransactionFiltersSubscriptionRequest; same sub_id replaces
UnregisterTransactionFiltersUnsubscribe{sub_id}
FilterValidationResult{filter_id, accepted, rejection_reason}SubscribeAck{sub_id, accepted, reason}, with an AckReason enum instead of free text
account_include / account_exclude / account_required as base58 stringsThe same three fields as raw 32-byte bytes; lookup-table addresses are matched too
No vote filterexclude_votes
—cuckoo_account_include for very large key sets
v2 sequenceconn_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 replayResume{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 entriesHeartbeat{slot} after 10 s without frames, on every stream
v2 SubscribeTransactionsResponse.transaction_update.transactionDecodedTransaction: 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_addressesSame fields, same meaning
v2 EntryBatch of several entriesOne Entry per frame
slot_status / current_leader on entriesA slots subscription; the leader is in SlotStatusUpdate.leader
v2 SlotStatus values UNSPECIFIED, ALIVE, DEAD, COMPLETEALIVE = 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 / Elite100,000 keys per subscription, 200,000 per connection

Steps

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).

Swap the proto and endpoint

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

Convert keys to bytes

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

// 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; any Solana SDK's public-key type gives you the same 32 bytes. Keep a table from your old filter names to sub_ids, and route on matched_subs bits instead of filter_ids.

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.

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 has all of this in Node.js, Rust and Go.

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.

On this page