createSolanaRpcSubscriptionsUnstable function

RpcSubscriptions createSolanaRpcSubscriptionsUnstable(
  1. String clusterUrl, [
  2. DefaultRpcSubscriptionsChannelConfig? config
])

Creates a Solana RPC subscriptions client with stable and unstable API methods.

This is the same as createSolanaRpcSubscriptions but includes unstable subscription methods like blockNotifications, slotsUpdatesNotifications, and voteNotifications.

Implementation

RpcSubscriptions createSolanaRpcSubscriptionsUnstable(
  String clusterUrl, [
  DefaultRpcSubscriptionsChannelConfig? config,
]) {
  // Same implementation as the stable version since in Dart we do not have
  // TS generic type constraints to limit the API surface.
  return createSolanaRpcSubscriptions(clusterUrl, config);
}