solana/src/rpc/methods/methods library
Classes
- SolanaRPCAccountSubscribeInfo
- Subscribe to an account to receive notifications when the lamports or data for a given account public key changes https://solana.com/docs/rpc/websocket/accountsubscribe
- SolanaRPCBlockSubscribe
- Subscribe to receive notification anytime a new block is confirmed or finalized. https://solana.com/docs/rpc/websocket/blocksubscribe
- SolanaRPCGetAccountInfo
- Returns all information associated with the account of provided Pubkey https://solana.com/docs/rpc/http/getaccountinfo
- SolanaRPCGetBalance
- Returns the lamport balance of the account of provided Pubkey https://solana.com/docs/rpc/http/getbalance
- SolanaRPCGetBlock
- Returns identity and transaction information about a confirmed block in the ledger https://solana.com/docs/rpc/http/getblock
- SolanaRPCGetBlockCommitment
- Returns commitment for particular block https://solana.com/docs/rpc/http/getblockcommitment
- SolanaRPCGetBlockHeight
- Returns the current block height of the node https://solana.com/docs/rpc/http/getblockheight
- SolanaRPCGetBlockProduction
- Returns recent block production information from the current or previous epoch. https://solana.com/docs/rpc/http/getblockproduction
- SolanaRPCGetBlocks
- Returns a list of confirmed blocks between two slots https://solana.com/docs/rpc/http/getblocks
- SolanaRPCGetBlocksWithLimit
- Returns a list of confirmed blocks starting at the given slot https://solana.com/docs/rpc/http/getblockswithlimit
- SolanaRPCGetBlockTime
- Returns the estimated production time of a block.
- SolanaRPCGetClusterNodes
- Returns information about all the nodes participating in the clusterot https://solana.com/docs/rpc/http/getclusternodes
- SolanaRPCGetEpochInfo
- Returns information about the current epoch https://solana.com/docs/rpc/http/getepochinfo
- SolanaRPCGetEpochSchedule
- Returns the epoch schedule information from this cluster's genesis config https://solana.com/docs/rpc/http/getepochschedule
- SolanaRPCGetFeeForMessage
- Get the fee the network will charge for a particular Message https://solana.com/docs/rpc/http/getfeeformessage
- SolanaRPCGetFirstAvailableBlock
- Returns the slot of the lowest confirmed block that has not been purged from the ledger https://solana.com/docs/rpc/http/getfirstavailableblock
- SolanaRPCGetGenesisHash
- Returns the genesis hash https://solana.com/docs/rpc/http/getgenesishash
- SolanaRPCGetHealth
- Returns the current health of the node. A healthy node is one that is within HEALTH_CHECK_SLOT_DISTANCE slots of the latest cluster confirmed slot. https://solana.com/docs/rpc/http/gethealth
- SolanaRPCGetHighestSnapshotSlot
- Returns the highest slot information that the node has snapshots for.
- SolanaRPCGetIdentity
- Returns the identity pubkey for the current node https://solana.com/docs/rpc/http/getidentity
- SolanaRPCGetInflationGovernor
- Returns the current inflation governor https://solana.com/docs/rpc/http/getinflationgovernor
- SolanaRPCGetInflationRate
- Returns the specific inflation values for the current epoch https://solana.com/docs/rpc/http/getinflationrate
- SolanaRPCGetInflationReward
- Returns the inflation / staking reward for a list of addresses for an epoch https://solana.com/docs/rpc/http/getinflationreward
- SolanaRPCGetLargestAccounts
- Returns the 20 largest accounts, by lamport balance (results may be cached up to two hours) https://solana.com/docs/rpc/http/getlargestaccounts
- SolanaRPCGetLatestBlockhash
- Returns the latest blockhash https://solana.com/docs/rpc/http/getlatestblockhash
- SolanaRPCGetLeaderSchedule
- Returns the leader schedule for an epoch https://solana.com/docs/rpc/http/getleaderschedule
- SolanaRPCGetMaxRetransmitSlot
- Get the max slot seen from retransmit stage. https://solana.com/docs/rpc/http/getmaxretransmitslot
- SolanaRPCGetMaxShredInsertSlot
- Get the max slot seen from after shred insert. https://solana.com/docs/rpc/http/getmaxshredinsertslot
- SolanaRPCGetMinimumBalanceForRentExemption
- Returns minimum balance required to make account rent exempt.
- SolanaRPCGetMultipleAccounts
- Returns the account information for a list of Pubkeys. https://solana.com/docs/rpc/http/getmultipleaccounts
- SolanaRPCGetProgramAccounts
- Returns all accounts owned by the provided program Pubkey https://solana.com/docs/rpc/http/getprogramaccounts
- SolanaRPCGetRecentPerformanceSamples
- Returns a list of recent performance samples, in reverse slot order. Performance samples are taken every 60 seconds and include the number of transactions and slots that occur in a given time window. https://solana.com/docs/rpc/http/getrecentperformancesamples
- SolanaRPCGetRecentPrioritizationFees
- Returns a list of prioritization fees from recent blocks. Currently, a node's prioritization-fee cache stores data from up to 150 blocks.
- SolanaRPCGetSignaturesForAddress
- Returns signatures for confirmed transactions that include the given address in their accountKeys list. Returns signatures backwards in time from the provided signature or most recent confirmed block https://solana.com/docs/rpc/http/getsignaturesforaddress
- SolanaRPCGetSignatureStatuses
- Returns the statuses of a list of signatures. Each signature must be a txid, the first signature of a transaction. Unless the searchTransactionHistory configuration parameter is included, this method only searches the recent status cache of signatures, which retains statuses for all active slots plus MAX_RECENT_BLOCKHASHES rooted slots.
- SolanaRPCGetSlot
- Returns the slot that has reached the given or default commitment level https://solana.com/docs/rpc/http/getslot
- SolanaRPCGetSlotLeader
- Returns the current slot leader https://solana.com/docs/rpc/http/getslotleader
- SolanaRPCGetSlotLeaders
- Returns the slot leaders for a given slot range https://solana.com/docs/rpc/http/getslotleaders
- SolanaRPCGetStakeActivation
- Pubkey of stake Account to query, as base-58 encoded string https://solana.com/docs/rpc/http/getstakeactivation
- SolanaRPCGetStakeMinimumDelegation
- Returns the stake minimum delegation, in lamports. https://solana.com/docs/rpc/http/getstakeminimumdelegation
- SolanaRPCGetSupply
- Returns information about the current supply. https://solana.com/docs/rpc/http/getsupply
- SolanaRPCGetTokenAccountBalance
- Returns the token balance of an SPL Token account. https://solana.com/docs/rpc/http/gettokenaccountbalance
- SolanaRPCGetTokenAccountsByDelegate
- Returns all SPL Token accounts by approved Delegate. https://solana.com/docs/rpc/http/gettokenaccountsbydelegate
- SolanaRPCGetTokenAccountsByOwner
- Returns all SPL Token accounts by token owner. https://solana.com/docs/rpc/http/gettokenaccountsbyowner
- SolanaRPCGetTokenLargestAccounts
- Returns the 20 largest accounts of a particular SPL Token type. https://solana.com/docs/rpc/http/gettokenlargestaccounts
- SolanaRPCGetTokenSupply
- Returns the total supply of an SPL Token type. https://solana.com/docs/rpc/http/gettokensupply
- SolanaRPCGetTransaction
- Returns transaction details for a confirmed transaction https://solana.com/docs/rpc/http/gettransaction
- SolanaRPCGetTransactionCount
- Returns the current Transaction count from the ledger https://solana.com/docs/rpc/http/gettransactioncount
- SolanaRPCGetVersion
- Returns the current Solana version running on the node. https://solana.com/docs/rpc/http/getversion
- SolanaRPCGetVoteAccounts
- Returns the account info and associated stake for all the voting accounts in the current bank. https://solana.com/docs/rpc/http/getvoteaccounts
- SolanaRPCIsBlockhashValid
- Returns whether a blockhash is still valid or not. https://solana.com/docs/rpc/http/isblockhashvalid
- SolanaRPClogsSubscribe
- Subscribe to transaction logging. https://solana.com/docs/rpc/websocket/logssubscribe
- SolanaRPCMinimumLedgerSlot
- Returns the lowest slot that the node has information about in its ledger. This value may increase over time if the node is configured to purge older ledger data https://solana.com/docs/rpc/http/minimumledgerslot
- SolanaRPCProgramSubscribe
- Subscribe to receive notification anytime a new root is set by the validator. https://solana.com/docs/rpc/websocket/rootSubscribe
- SolanaRPCRequestAirdrop
- Requests an airdrop of lamports to a Pubkey https://solana.com/docs/rpc/http/requestairdrop
- SolanaRPCSendTransaction
- The returned signature is the first signature in the transaction, which is used to identify the transaction (transaction id). This identifier can be easily extracted from the transaction data before submission. https://solana.com/docs/rpc/http/sendtransaction
- SolanaRPCSignatureSubscribe
- Subscribe to receive a notification when the transaction with the given signature reaches the specified commitment level. https://solana.com/docs/rpc/websocket/signaturesubscribe
- SolanaRPCSimulateTransaction
- Simulate sending a transaction https://solana.com/docs/rpc/http/simulatetransaction
- SolanaRPCSlotSubscribe
- Subscribe to receive notification anytime a slot is processed by the validator. https://solana.com/docs/rpc/websocket/slotsubscribe
- SolanaRPCSlotsUpdatesSubscribe
- Subscribe to receive a notification from the validator on a variety of updates on every slot. https://solana.com/docs/rpc/websocket/slotsupdatessubscribe
- SolanaRPCUnSubscribe
- Unsubscribe notifications https://solana.com/docs/rpc/websocket/votesubscribe
- SolanaRPCVoteSubscribe
- Subscribe to receive notification anytime a new vote is observed in gossip. These votes are pre-consensus therefore there is no guarantee these votes will enter the ledger. https://solana.com/docs/rpc/websocket/votesubscribe