Solana: port all non-deprecated json rpc requests from web3.js
https://solana-labs.github.io/solana-web3.js/classes/Connection.html
getAccountInfo getAccountInfoAndContext getAddressLookupTable getBalance getBalanceAndContext getBlock getBlockHeight getBlockProduction getBlockSignatures getBlockTime getBlocks getClusterNodes getConfirmedBlock getConfirmedBlockSignatures getConfirmedSignaturesForAddress getConfirmedSignaturesForAddress2 getConfirmedTransaction getEpochInfo getEpochSchedule getFeeCalculatorForBlockhash getFeeForMessage getFirstAvailableBlock getGenesisHash getInflationGovernor getInflationReward getLargestAccounts getLatestBlockhash getLatestBlockhashAndContext getLeaderSchedule getMinimumBalanceForRentExemption getMinimumLedgerSlot getMultipleAccountsInfo getMultipleAccountsInfoAndContext getNonce getNonceAndContext getParsedAccountInfo getParsedConfirmedTransaction getParsedConfirmedTransactions getParsedProgramAccounts getParsedTokenAccountsByOwner getParsedTransaction getParsedTransactions getProgramAccounts getRecentBlockhash getRecentBlockhashAndContext getRecentPerformanceSamples getSignatureStatus getSignatureStatuses getSignaturesForAddress getSlot getSlotLeader getSlotLeaders getStakeActivation getStakeMinimumDelegation getSupply getTokenAccountBalance getTokenAccountsByOwner getTokenLargestAccounts getTokenSupply getTotalSupply getTransaction getTransactionCount getTransactions getVersion getVoteAccounts
@mschneider I would like to work on this.
Willing to work with @OmkarAcharekar on this issue?
@OmkarAcharekar you mentioned you made some progress on this, can you please make sure to send a PR with just one of those methods, so we can get an initial review cycle going>
- [ ] getAccountInfo
- [ ] getAccountInfoAndContext
- [ ] getAddressLookupTable
- [x] getBalance
- [x] getBalanceAndContext
- [x] getBlockHeight
- [x] getBlockProduction
- [ ] getBlockSignatures
- [x] getBlockTime
- [x] getBlocks
- [x] getClusterNodes
- [ ] getConfirmedSignaturesForAddress2
- [x] getEpochInfo
- [x] getEpochSchedule
- [x] getFeeForMessage
- [x] getFirstAvailableBlock
- [x] getGenesisHash
- [x] getInflationGovernor
- [ ] getInflationReward
- [x] getLargestAccounts
- [x] getLatestBlockhash
- [ ] getLatestBlockhashAndContext
- [x] getLeaderSchedule
- [x] getMinimumBalanceForRentExemption
- [x] getMinimumLedgerSlot
- [x] getMultipleAccountsInfo
- [x] getMultipleAccountsInfoAndContext
- [ ] getNonce
- [ ] getNonceAndContext
- [ ] getParsedAccountInfo
- [ ] getParsedProgramAccounts
- [ ] getParsedTokenAccountsByOwner
- [ ] getParsedTransaction
- [ ] getParsedTransactions
- [ ] getProgramAccounts
- [x] getRecentBlockhash
- [ ] getRecentBlockhashAndContext
- [x] getRecentPerformanceSamples
- [x] getSignatureStatus
- [x] getSignatureStatuses
- [x] getSignaturesForAddress
- [x] getSlot
- [x] getSlotLeader
- [x] getSlotLeaders
- [x] getStakeActivation
- [ ] getStakeMinimumDelegation
- [x] getSupply
- [x] getTokenAccountBalance
- [x] getTokenAccountsByOwner
- [x] getTokenLargestAccounts
- [x] getTokenSupply
- [x] getTransactionCount
- [x] getTransactions
- [x] getVersion
- [x] getVoteAccounts