SolanaRPC class
Represents an interface to interact with Solana nodes using JSON-RPC requests.
Constructors
- SolanaRPC(SolanaJSONRPCService rpc)
-
Creates a new instance of the SolanaRPC class with the specified
rpc
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rpc → SolanaJSONRPCService
-
The JSON-RPC service used for communication with the solana node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request<
T> (SolanaRPCRequest< T> request, [Duration? timeout]) → Future<T> - Sends a JSON-RPC request to the solana node and returns the result after processing the response.
-
requestDynamic<
T> (SolanaRPCRequest< T> request, [Duration? timeout]) → Future - Sends a JSON-RPC request to the solana node and returns the result after processing the response.
-
requestWithContext<
T> (SolanaRPCRequest< T> request, [Duration? timeout]) → Future<ResultWithContext> - Sends a JSON-RPC request to the solana node and returns the result after processing the response.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited