Type aliases
RpcTestnet
RpcTestnet<
TRpcMethods
> =Rpc
<TRpcMethods
> &object
A Rpc that supports the RPC methods available on the testnet 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 | "testnet" |
Type Parameters
Type Parameter |
---|
TRpcMethods |