Type aliases
RpcSubscriptionsMainnet
RpcSubscriptionsMainnet<
TRpcMethods
> =RpcSubscriptions
<TRpcMethods
> &object
A RpcSubscriptions that supports the RPC Subscriptions methods available on the mainnet cluster.
This is useful in cases where you need to make assertions about the suitability of a RPC for a given purpose. For example, you might like to make it a type error to combine certain types with RPCs belonging to certain clusters, at compile time.
Type declaration
Name | Type |
---|---|
~cluster | "mainnet" |
Type Parameters
Type Parameter |
---|
TRpcMethods |