Access Solana RPC API through Dart SDK, the style completely imitates the original design, easy to use, and helps your Flutter application connect to the Solana blockchain!
Features
Solana RPC API for Dart SDK.
Getting started
Usage
final api = SolanaRpcApi(clusterApiUrl(Cluster.mainnetBeta), '7jrFHLtDxAqPsc3S7nd3F1wAc99xqkD9wuQ38JtdMoej');
final tokenAccountsByOwner = await api.getTokenAccountsByOwner();
print(tokenAccountsByOwner);
More example see https://github.com/Circelpod/solana_rpc_sdk_flutter
Additional information
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.
TODO
x
getAccountInfox
getBalance- [] getBlock
- [] getBlockHeight
- [] getBlockProduction
- [] getBlockCommitment
- [] getBlocks
- [] getBlocksWithLimit
- [] getBlockTime
- [] getClusterNodes
- [] getEpochInfo
- [] getEpochSchedule
- [] getFeeForMessage
- [] getFirstAvailableBlock
- [] getGenesisHash
- [] getHealth
- [] getHighestSnapshotSlot
- [] getIdentity
- [] getInflationGovernor
- [] getInflationRate
- [] getInflationReward
- [] getLargestAccounts
- [] getLatestBlockhash
- [] getLeaderSchedule
- [] getMaxRetransmitSlot
- [] getMaxShredInsertSlot
- [] getMinimumBalanceForRentExemption
- [] getMultipleAccounts
- [] getProgramAccounts
- [] getRecentPerformanceSamples
- [] getSignaturesForAddress
- [] getSignatureStatuses
- [] getSlot
- [] getSlotLeader
- [] getSlotLeaders
- [] getStakeActivation
x
getSupplyx
getTokenAccountBalance- [] getTokenAccountsByDelegate
x
getTokenAccountsByOwner- [] getTokenLargestAccounts
- [] getTokenSupply
x
getTransactionx
getTransactionCountx
getVersionx
getVoteAccounts- [] isBlockhashValid
x
minimumLedgerSlotx
requestAirdrop- [] sendTransaction
- [] simulateTransaction
publish
dart pub publish --dry-run
Libraries
- helper/cluster
- model/get_account_Info
- model/get_balance
- model/get_supply
- model/get_token_account_balance
- model/get_transaction
- model/get_version
- model/get_vote_accounts
- helper/http_client
- helper/rpc_method
- model/rpc_response
- core/solana_rpc_api
- solana_rpc_sdk_flutter
- A predictable state management library for Dart.
- helper/token
- model/token_accounts_by_owner