SolanaUtils class

Utility class for Solana-related operations.

Constructors

SolanaUtils()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createProgramAddress({required List<int> seedBytes, required SolAddress programId}) SolAddress
Finds a program address for the given seeds and program ID.
findProgramAddress({required List<List<int>> seeds, required SolAddress programId}) → Tuple<SolAddress, int>
Converts a Solana value to lamports.
toLamports(String value) BigInt
Converts a Solana value in string format to lamports.

Constants

decimal → const int
lamportsPerSol → const int
maxSeedLength → const int
programDerivedAddressSeed → const String