RpcMainnet
A Rpc that supports the RPC 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 |