Kit
Type aliases

RpcSubscriptionsChannelTestnet

RpcSubscriptionsChannelTestnet<TOutboundMessage, TInboundMessage> = RpcSubscriptionsChannel<TOutboundMessage, TInboundMessage> & object

A RpcSubscriptionsChannel that communicates with the testnet cluster.

Such channels are understood to communicate with a RPC server that services testnet, and as such might only be accepted for use as the channel of a RpcSubscriptionsTransportTestnet.

This is useful in cases where you need to make assertions about what capabilities a RPC offers. You can use the ability to assert on the type of RPC channel at compile time to prevent calling unimplemented methods or presuming the existence of unavailable programs or data.

Type declaration

NameType
~cluster"testnet"

Type Parameters

Type Parameter
TOutboundMessage
TInboundMessage

On this page