JSON RPC API -3
JSON RPC API Deprecated Methods
getConfirmedBlock
<u64> - slot, as u64 integer
(optional) <object> - Configuration object containing the following optional fields:
(optional) encoding: <string> - encoding for each returned Transaction, either "json", "jsonParsed", "base58" (slow), "base64". If parameter not provided, the default encoding is "json". "jsonParsed" encoding attempts to use program-specific instruction parsers to return more human-readable and explicit data in the transaction.message.instructions list. If "jsonParsed" is requested but a parser cannot be found, the instruction falls back to regular JSON encoding (accounts, data, and programIdIndex fields).
(optional) transactionDetails: <string> - level of transaction detail to return, either "full", "signatures", or "none". If parameter not provided, the default detail level is "full".
(optional) rewards: bool - whether to populate the rewards array. If parameter not provided, the default includes rewards.
(optional) commitment: <string> - Commitment; "processed" is not supported. If parameter not provided, the default is "finalized".<null> - if specified block is not confirmed
<object> - if block is confirmed, an object with the following fields:
blockhash: <string> - the blockhash of this block, as base-58 encoded string
previousBlockhash: <string> - the blockhash of this block's parent, as base-58 encoded string; if the parent block is not available due to ledger cleanup, this field will return "11111111111111111111111111111111"
parentSlot: <u64> - the slot index of this block's parent
transactions: <array> - present if "full" transaction details are requested; an array of JSON objects containing:
transaction: <object|[string,encoding]> - Transaction object, either in JSON format or encoded binary data, depending on encoding parameter
meta: <object> - transaction status metadata object, containing null or:
err: <object|null> - Error if transaction failed, null if transaction succeeded. TransactionError definitions
fee: <u64> - fee this transaction was charged, as u64 integer
preBalances: <array> - array of u64 account balances from before the transaction was processed
postBalances: <array> - array of u64 account balances after the transaction was processed
innerInstructions: <array|null> - List of inner instructions or null if inner instruction recording was not enabled during this transaction
preTokenBalances: <array|undefined> - List of token balances from before the transaction was processed or omitted if token balance recording was not yet enabled during this transaction
postTokenBalances: <array|undefined> - List of token balances from after the transaction was processed or omitted if token balance recording was not yet enabled during this transaction
logMessages: <array|null> - array of string log messages or null if log message recording was not enabled during this transaction
DEPRECATED: status: <object> - Transaction status
"Ok": <null> - Transaction was successful
"Err": <ERR> - Transaction failed with TransactionError
signatures: <array> - present if "signatures" are requested for transaction details; an array of signatures strings, corresponding to the transaction order in the block
rewards: <array> - present if rewards are requested; an array of JSON objects containing:
pubkey: <string> - The public key, as base-58 encoded string, of the account that received the reward
lamports: <i64>- number of reward lamports credited or debited by the account, as a i64
postBalance: <u64> - account balance in lamports after the reward was applied
rewardType: <string|undefined> - type of reward: "fee", "rent", "voting", "staking"
commission: <u8|undefined> - vote account commission when the reward was credited, only present for voting and staking rewards
blockTime: <i64|null> - estimated production time, as Unix timestamp (seconds since the Unix epoch). null if not availablegetConfirmedBlocks
getConfirmedBlocksWithLimit
getConfirmedSignaturesForAddress2
getConfirmedTransaction
getFeeCalculatorForBlockhash
getFeeRateGovernor
getFees
getRecentBlockhash
getSnapshotSlot
Last updated