gillType aliases
CreateSolanaClientArgs
type CreateSolanaClientArgs<TClusterUrl> = {
rpcConfig?: Parameters<typeof createSolanaRpc>[1] & {
port?: number;
};
rpcSubscriptionsConfig?: Parameters<typeof createSolanaRpcSubscriptions>[1] & {
port?: number;
};
urlOrMoniker: | SolanaClientUrlOrMoniker
| TClusterUrl;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TClusterUrl extends SolanaClientUrlOrMoniker | GenericUrl |
Properties
rpcConfig?
optional rpcConfig: Parameters<typeof createSolanaRpc>[1] & {
port?: number;
};Configuration used to create the rpc client
Type declaration
| Name | Type |
|---|---|
port? | number |
rpcSubscriptionsConfig?
optional rpcSubscriptionsConfig: Parameters<typeof createSolanaRpcSubscriptions>[1] & {
port?: number;
};Configuration used to create the rpcSubscriptions client
Type declaration
| Name | Type |
|---|---|
port? | number |
urlOrMoniker
urlOrMoniker:
| SolanaClientUrlOrMoniker
| TClusterUrl;Full RPC URL (for a private RPC endpoint) or the Solana moniker (for a public RPC endpoint)