Solana API Methods
Supported Networks:
- Solana Mainnet (
SOLANA) - Solana Testnet (
SOLANAT)
Supported Interfaces:
- JSON-RPC over HTTPS:
POSTrequests to your Solana endpoint. - JSON-RPC over WebSocket: PubSub subscriptions (availability depends on provider WS support).
JSON-RPC over HTTPS
Chain, Cluster & Node Info
getVersiongetGenesisHashgetClusterNodesgetHealth
Blocks, Slots & Time
getBlockHeightgetSlotgetSlotLeadergetSlotLeadersgetBlockgetBlocksgetBlocksWithLimitgetBlockTimegetFirstAvailableBlockminimumLedgerSlotisBlockhashValidgetLatestBlockhashgetBlockCommitmentgetBlockProduction
Accounts & Programs
getAccountInfogetMultipleAccountsgetProgramAccountsgetMinimumBalanceForRentExemptiongetIdentity
Balances, Tokens & Supply
getBalancegetTokenAccountBalancegetTokenAccountsByDelegategetTokenAccountsByOwnergetTokenLargestAccountsgetTokenSupplygetSupplygetStakeMinimumDelegation
Transactions & Signatures
getTransactiongetSignaturesForAddressgetSignatureStatusessendTransactionrequestAirdrop
Fees, Simulation & Prioritization
getFeeForMessagesimulateTransactiongetRecentPrioritizationFees
Epochs, Performance & Misc
getEpochInfogetEpochSchedulegetRecentPerformanceSamplesgetTransactionCountgetLeaderSchedulegetMaxRetransmitSlotgetMaxShredInsertSlotgetHighestSnapshotSlotgetInflationGovernorgetInflationRategetInflationRewardgetVoteAccounts
WebSocket PubSub (if enabled)
accountSubscribe/accountUnsubscribeblockSubscribe/blockUnsubscribelogsSubscribe/logsUnsubscribeprogramSubscribe/programUnsubscriberootSubscribe/rootUnsubscribesignatureSubscribe/signatureUnsubscribeslotSubscribe/slotUnsubscribeslotsUpdatesSubscribe/slotsUpdatesUnsubscribevoteSubscribe/voteUnsubscribe