Connection class

Annotations
  • @JS("core.Connection")

Constructors

Connection.new(String endpoint, dynamic commitmentOrConfig)

Properties

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

Methods

getAccountInfo(PublicKey publicKey, String? commitment) Future<AccountInfo>
getMinimumBalanceForRentExemption(num dataLength, dynamic commitment) Future<num>
getRecentBlockhash(String? commitment) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendRawTransaction(Uint8List rawTransaction, dynamic options) Future<TransactionSignature>
sendTransaction(Transaction transaction, List signers, dynamic options) Future<TransactionSignature>
toString() String
A string representation of this object.
inherited

Operators

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