Kit
Type aliases

RpcSubscriptionsTransportMainnet

RpcSubscriptionsTransportMainnet = RpcSubscriptionsTransport & object

A RpcSubscriptionsTransport that communicates with the mainnet cluster.

Such transports are understood to communicate with a RPC server that services mainnet, and as such might only be accepted for use as the transport of a RpcSubscriptionsMainnet.

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 transport at compile time to prevent calling unimplemented methods or presuming the existence of unavailable programs or data.

Type declaration

NameType
~cluster"mainnet"

On this page