TriportRPC

WebSocket subscription

Last updated:

Applies to: EVM chains, Solana

In more detail

A subscribe request returns a subscription id, and later notifications carry that id. Geth documents that subscriptions are coupled to their connection and removed when it closes, so a client must subscribe again after reconnecting. Solana's pub/sub follows the same subscribe/unsubscribe pattern, and subscriptions that accept commitment default to finalized.

See also

Sources

All terms in the RPC and blockchain glossary