Kit
Type aliases

RpcSubscriptionsTransportTestnet

RpcSubscriptionsTransportTestnet = RpcSubscriptionsTransport & object

A RpcSubscriptionsTransport that communicates with the testnet cluster.

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

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"testnet"

On this page