solana library
Classes
- AssociatedTokenAccountInstruction
- AssociatedTokenAccountProgram
- AuthorizeWithSeedArgs
- BBool
- BNonceAccount
- BPublicKey
- ComputeBudgetInstruction
- ComputeBudgetProgram
- Ed25519HDKeyPair
- Signs solana transactions using the ed25519 elliptic curve
- Ed25519HDKeyPairData
- Ed25519HDPublicKey
- GetAccountInfoConfig
- GetBalanceConfig
- GetBlockConfig
- GetBlockHeightConfig
- GetBlockProductionConfig
- GetBlocksConfig
- GetBlocksWithLimitConfig
- GetConfirmedBlockConfig
- GetConfirmedSignaturesForAddress2Config
- GetConfirmedTransactionConfig
- GetEpochInfoConfig
- GetFeeCalculatorForBlockhashConfig
- GetFeeForMessageConfig
- GetFeesConfig
- GetInflationGovernorConfig
- GetInflationRewardConfig
- GetLargestAccountsConfig
- GetLatestBlockhashConfig
- GetLeaderScheduleConfig
- GetMinimumBalanceForRentExemptionConfig
- GetMultipleAccountsConfig
- GetProgramAccountsConfig
- GetRecentBlockhashConfig
- GetSignaturesForAddressConfig
- GetSignatureStatusesConfig
- GetSlotConfig
- GetSlotLeaderConfig
- GetStakeActivationConfig
- GetStakeMinimumDelegationConfig
- GetSupplyConfig
- GetTokenAccountBalanceConfig
- GetTokenAccountsByDelegateConfig
- GetTokenAccountsByOwnerConfig
- GetTokenLargestAccountsConfig
- GetTokenSupplyConfig
- GetTransactionConfig
- GetTransactionCountConfig
- GetVoteAccountsConfig
- IsBlockhashValidConfig
- JsonRpcErrorCode
- LockupCheckedArgs
- MemoInstruction
- The memo instruction for the memo program.
- MemoProgram
- The memo program from the SPL.
- Message
- This is an implementation of the Message Format.
- Mint
- Information about a mint.
- NonceAccount
- OptionalError
- RequestAirdropConfig
- RpcClient
- SendTransactionConfig
- Signature
-
A digital signature by some
SignatureAlgorithm
. - SimulateTransactionConfig
- SolanaClient
- StakeAuthorize
- StakeInstruction
- StakeProgram
- StakerAuthority
- SubscriptionClient
- Provides a websocket based connection to Solana.
- SystemInstruction
- Create new accounts, allocate account data, assign accounts to owning programs, transfer lamports from System Program owned accounts and pay transaction fees.
- SystemProgram
- TokenInstruction
- A spl token program instruction.
- TokenProgram
- Construct token programs conveniently
- WithdrawerAuthority
Extensions
Constants
- lamportsPerSol → const int
- solDecimalPlaces → const int
Functions
-
findAssociatedTokenAddress(
{required Ed25519HDPublicKey owner, required Ed25519HDPublicKey mint}) → Future< Ed25519HDPublicKey> -
Compute and derive the associated token address of
owner
. -
ignoreOnSigned(
TransactionId _) → void -
isPointOnEd25519Curve(
Iterable< int> data) → bool -
isValidAddress(
String address) → bool -
Returns true if
address
is a valid ed25519 point encoded to base58. -
signTransaction(
RecentBlockhash recentBlockhash, Message message, List< Ed25519HDKeyPair> signers) → Future<SignedTx> -
signV0Transaction(
RecentBlockhash recentBlockhash, Message message, List< Ed25519HDKeyPair> signers, {List<AddressLookupTableAccount> addressLookupTableAccounts = const []}) → Future<SignedTx> -
verifySignature(
{required List< int> message, required List<int> signature, required Ed25519HDPublicKey publicKey}) → Future<bool>
Typedefs
- Epoch = int
-
SignatureCallback
= FutureOr<
void> Function(TransactionId transactionId) - TransactionId = String
- The first signature in a transaction, which can be used to uniquely identify the transaction across the complete ledger.
- UnixTimestamp = int
- Wallet = Ed25519HDKeyPair