solana/solana_jsonrpc/jsonrpc library

Classes

Client<R>
JSON RPC Client
Cluster
Cluster
CommitmentAndMinContextSlotConfig
Commitment and Min Context Slot Config
CommitmentConfig
Commitment Config
JsonRpcClientConfig
A JSON RPC client request configurations.
JsonRpcContext
JSON RPC Context
JsonRpcContextMethod<S, T>
JSON RPC Context Method Decoder
JsonRpcErrorResponse<T>
JSON RPC Error Response
JsonRpcExceptionCode
JSON RPC Exception Codes
JsonRpcHttpClient
JSON RPC HTTP Client
JsonRpcMethod<S, T>
JSON RPC Method
JsonRpcMethodBuilder<S, T>
JSON RPC Method Builder
JsonRpcNotification<T>
JSON RPC Notification
JsonRpcNotificationResponse<T>
JSON RPC Notification
JsonRpcRequest
JSON RPC Request
JsonRpcResponse<T>
JSON RPC Response
JsonRpcResponseContext<T>
JSON RPC Response Context
JsonRpcSuccessResponse<T>
JSON RPC Success Response
JsonRpcWebsocketClient<R>
JSON RPC Websocket Client

Enums

Commitment
Commitments

Typedefs

JsonRpcClientDecoder<T> = Converter<T, FutureOr>
Converts a JSON RPC response of type T to JSON.
JsonRpcClientEncoder = Converter<Object, FutureOr<List<int>>>
Types
JsonRpcContextResponse<T> = JsonRpcSuccessResponse<JsonRpcResponseContext<T>>
Types
JsonRpcResponseDecoder<S, T> = T Function(S input)
Converts a JSON object to type T, where T is a JsonRpcResponse or list of JsonRpcResponses.
JsonRpcSubscribeMethod = JsonRpcMethod<int, int>
Types
JsonRpcSubscribeResponse = JsonRpcSuccessResponse<int>
A JsonRpcSuccessResponse subscribe methods.
JsonRpcUnsubscribeMethod = JsonRpcMethod<bool, bool>
A JsonRpcMethod for unsubscribe methods.
JsonRpcUnsubscribeResponse = JsonRpcSuccessResponse<bool>
A JsonRpcSuccessResponse unsubscribe methods.
JsonRpcWebsocketClientIsPing<R> = bool Function(R data)
The isPing callback handler.
JsonRpcWebsocketClientOnConnect<R> = void Function()
Types
JsonRpcWebsocketClientOnData<R> = void Function(dynamic data)
The onData callback handler.
JsonRpcWebsocketClientOnDisconnect = void Function()
The onDisconnect callback handler.
JsonRpcWebsocketClientOnError = void Function(Object error, [StackTrace? stackTrace])
The onError callback handler.
JsonRpcWebsocketClientOnPing<R> = void Function(R data)
The onPing callback handler.

Exceptions / Errors

JsonRpcException
JSON RPC Exception