SolanaClient class

Available Extensions

Constructors

SolanaClient({required Uri rpcUrl, required Uri websocketUrl, Duration timeout = const Duration(seconds: 30)})

Properties

hashCode int
The hash code for this object.
no setterinherited
rpcClient RpcClient
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSubscriptionClient({Duration? pingInterval, Duration? connectTimeout}) SubscriptionClient
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAndConfirmTransaction({required Message message, required List<Ed25519HDKeyPair> signers, SignatureCallback onSigned = ignoreOnSigned, required Commitment commitment}) Future<TransactionId>
Signs, sends and confirms a transaction.
toString() String
A string representation of this object.
inherited
waitForSignatureStatus(String signature, {required ConfirmationStatus status, Duration? timeout, Duration? pingInterval}) Future<void>
Waits for transation with signature to reach status. Throws exception if transaction failed.

Operators

operator ==(Object other) bool
The equality operator.
inherited