Parameters
- slot_numberstring
The slot number encoded as u64, 64-bit unsigned integer
- objectobject
The configuration object with the following fields:
- commitmentstring
The level of commitment required for the query. The options include:
- finalizedstring
The node will query the most recent block the cluster has recognized as finalized
- confirmedstring
The node will query the most recent block that has been voted on by the supermajority of the cluster
- processedstring
The node will query its most recent block. Note that the block may not be complete
- encodingstring
(default: json) The encoding format for account data. It can be base58 (slow), base64, base64+zstd or jsonParsed
- transactionDetailsstring
(default: full) It specifies the level of transaction details to include in the response. The possible values are full, signatures, and none
- rewardsboolean
(default: true) It determines whether to populate the rewards array or not.
- maxSupportedTransactionVersioninteger
The maximum transaction version to return, as a JSON integer. Set it to 1 to receive legacy, version 0, and version 1 transactions
- legacystring
The older transaction format with no additional benefit
- 0integer
The additional support for Address Lookup Tables
- 1integer
Up to 64 account keys carried inline, with no Address Lookup Tables, and the compute and fee settings in transactionConfig
Returns
- result
Null if the specified block is not confirmed otherwise an object with the following fields:
- blockhash
The hash of the confirmed block
- parentSlot
The slot number of the block's parent
- previousBlockhash
The hash of the block's predecessor
- transactions
An array of transaction objects within the block. Each transaction object contains the following fields:
- meta
The transaction status metadata object with the following fields:
- err
Error code if the transaction failed or null if the transaction succeeds
- fee
The transaction fee
- innerInstructions
The list of inner instructions and it's omitted or null if inner instruction recording was not yet enabled during the transaction
- logMessages
An array of string log messages. Omitted or null if log message recording was not yet enabled during the transaction
- postBalances
An array of u64 account balances after the transaction was processed
- postTokenBalances
The list of token balances from after the transaction was processed and it's omitted if inner instruction recording was not yet enabled during the transaction
- preBalances
An array of u64 account balances from before the transaction was processed
- preTokenBalances
The list of token balances from before the transaction was processed and it's omitted if inner instruction recording was not yet enabled during the transaction
- rewards
An array of reward objects detailing the rewards for this block. It is only present if rewards are requested; an array of JSON objects with the following fields:
- pubkey
The public key of the account receiving the reward
- lamports
The amount of lamports rewarded
- postBalance
The balance of the account after receiving the reward
- rewardType
The type of reward such as fee or stake
- comission
The vote account commission when the reward was credited, only present for voting and staking rewards
- status
The processing status of the transaction. It returns Ok if the transaction was successful and Err if the transaction failed with TransactionError
- transaction
The transaction object with the following fields:
- message
The transaction message containing the following fields:
- accountKeys
An array of public keys involved in the transaction
- header
An object containing the transaction's header, including the following fields:
- numRequiredSignatures
The number of required signatures for the transaction
- numReadonlySignedAccounts
The number of readonly accounts that have signed the transaction
- numReadonlyUnsignedAccounts
The number of readonly accounts that have not signed the transaction
- instructions
An array of instruction objects for the transaction with the following fields:
- accounts
An array of integers representing the indices of accounts involved in the instruction
- data
The instruction data encoded in the specified format
- programIdIndex
The index of the program ID in the accountKeys
- addressTableLookupsarray
Version 0 transactions only. The Address Lookup Tables this transaction reads accounts from
- accountKeystring
The base-58 encoded address of the lookup table account
- writableIndexesarray
Indexes into the lookup table for the accounts loaded as writable
- readonlyIndexesarray
Indexes into the lookup table for the accounts loaded as read-only
- transactionConfigobject
Version 1 transactions only. The compute and fee settings for the transaction
- priorityFeeinteger
The priority fee for the transaction, in lamports
- computeUnitLimitinteger
The maximum compute units the transaction may consume
- loadedAccountsDataSizeLimitinteger
The maximum total size in bytes of the account data the transaction may load
- heapSizeinteger
The requested heap size in bytes, or null when not set
- versionstring|integer
The transaction version, one of "legacy", 0, or 1
- recentBlockhash
The most recent blockhash used for the transaction
- signatures
An array of signatures strings corresponding to the transaction order in the block
1{2"jsonrpc": "2.0",3"result": {4"blockHeight": 426169089,5"blockTime": 1789746410,6"blockhash": "B68VW4g7dMXLmGdSohgPhuc3rXND3TY8f1VTmZjKi8Zy",7"parentSlot": 448128141,8"previousBlockhash": "Hu2NmidjyRztqwgtcCmvEkQ1kTPJaf4niLkAGFiNzK1B",9"transactions": [10{11"meta": {12"computeUnitsConsumed": 300,13"costUnits": 1632,14"err": null,15"fee": 5000,16"innerInstructions": [],17"logMessages": [18"Program ComputeBudget111111111111111111111111111111 invoke [1]",19"Program ComputeBudget111111111111111111111111111111 success",20"Program 11111111111111111111111111111111 invoke [1]",21"Program 11111111111111111111111111111111 success"22],23"postBalances": [240,252767738985880,261,27128],29"postTokenBalances": [],30"preBalances": [31895880,322767738095000,331,34135],36"preTokenBalances": [],37"rewards": null,38"status": {39"Ok": null40}41},42"transaction": {43"message": {44"accountKeys": [45{46"pubkey": "uYysfiQCCLiTnitZNLVFNichTGAB7Rb5EfvSehHgZFt",47"signer": true,48"source": "transaction",49"writable": true50},51{52"pubkey": "5oJrA7iXRcHFYQ3HYX3oRBCnFEf9EJNgSPYnXfGniXRU",53"signer": false,54"source": "transaction",55"writable": true56},57{58"pubkey": "11111111111111111111111111111111",59"signer": false,60"source": "transaction",61"writable": false62},63{64"pubkey": "ComputeBudget111111111111111111111111111111",65"signer": false,66"source": "transaction",67"writable": false68}69],70"instructions": [71{72"accounts": [],73"data": "H9zrWb",74"programId": "ComputeBudget111111111111111111111111111111",75"stackHeight": 176},77{78"parsed": {79"info": {80"destination": "5oJrA7iXRcHFYQ3HYX3oRBCnFEf9EJNgSPYnXfGniXRU",81"lamports": 890880,82"source": "uYysfiQCCLiTnitZNLVFNichTGAB7Rb5EfvSehHgZFt"83},84"type": "transfer"85},86"program": "system",87"programId": "11111111111111111111111111111111",88"stackHeight": 189}90],91"recentBlockhash": "8cF9mxFqz4pCXZuSN3zt2ePZ7Dkn4jmrVVi8NBNRFEX2"92},93"signatures": [94"2KWfFzWWeHvET526E8iRcirRG6rSiQQZbCGVaVLP7zP163tEh3xz8YJa2ejkjGBdXd86mLznRQ3f1BCTriVTJmde"95]96},97"version": "legacy"98},99{100"meta": {101"computeUnitsConsumed": 800,102"costUnits": 2511,103"err": null,104"fee": 5255,105"innerInstructions": [],106"logMessages": [107"Program 11111111111111111111111111111111 invoke [1]",108"Program 11111111111111111111111111111111 success",109"Program ComputeBudget111111111111111111111111111111 invoke [1]",110"Program ComputeBudget111111111111111111111111111111 success",111"Program ComputeBudget111111111111111111111111111111 invoke [1]",112"Program ComputeBudget111111111111111111111111111111 success",113"Program B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht invoke [1]",114"Program B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht consumed 200 of 397 compute units",115"Program B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht success",116"Program ComputeBudget111111111111111111111111111111 invoke [1]",117"Program ComputeBudget111111111111111111111111111111 success"118],119"postBalances": [1206631628568,1211447680,1221,1231,1241141440,1255526240,1261169280,12742706560128],129"postTokenBalances": [],130"preBalances": [1316631633823,1321447680,1331,1341,1351141440,1365526240,1371169280,13842706560139],140"preTokenBalances": [],141"rewards": null,142"status": {143"Ok": null144}145},146"transaction": {147"message": {148"accountKeys": [149{150"pubkey": "HCarRs1TRYxDJiWaW2i1du9M5jPRRfDUhtA7MxVXc3fT",151"signer": true,152"source": "transaction",153"writable": true154},155{156"pubkey": "22k7YyuxMMdZ2UoZ9LQoiVwQfxnmcW2YtnkfxPbsJgVK",157"signer": false,158"source": "transaction",159"writable": true160},161{162"pubkey": "11111111111111111111111111111111",163"signer": false,164"source": "transaction",165"writable": false166},167{168"pubkey": "ComputeBudget111111111111111111111111111111",169"signer": false,170"source": "transaction",171"writable": false172},173{174"pubkey": "B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht",175"signer": false,176"source": "transaction",177"writable": false178},179{180"pubkey": "GWqUcqoZtjq8K6H48YvcHJMEGq8CahNDGMuz3iqU4ESA",181"signer": false,182"source": "lookupTable",183"writable": true184},185{186"pubkey": "SysvarC1ock11111111111111111111111111111111",187"signer": false,188"source": "lookupTable",189"writable": false190},191{192"pubkey": "SysvarRecentB1ockHashes11111111111111111111",193"signer": false,194"source": "lookupTable",195"writable": false196}197],198"addressTableLookups": [199{200"accountKey": "62zLnxfqGx2FgsCwF9Kk67PGuuyhMwNtPSoD8Ri3i34G",201"readonlyIndexes": [20220,20325204],205"writableIndexes": [2062207]208}209],210"instructions": [211{212"parsed": {213"info": {214"nonceAccount": "22k7YyuxMMdZ2UoZ9LQoiVwQfxnmcW2YtnkfxPbsJgVK",215"nonceAuthority": "HCarRs1TRYxDJiWaW2i1du9M5jPRRfDUhtA7MxVXc3fT",216"recentBlockhashesSysvar": "SysvarRecentB1ockHashes11111111111111111111"217},218"type": "advanceNonce"219},220"program": "system",221"programId": "11111111111111111111111111111111",222"stackHeight": 1223},224{225"accounts": [],226"data": "29gNbXDh",227"programId": "ComputeBudget111111111111111111111111111111",228"stackHeight": 1229},230{231"accounts": [],232"data": "V6bBeP",233"programId": "ComputeBudget111111111111111111111111111111",234"stackHeight": 1235},236{237"accounts": [238"HCarRs1TRYxDJiWaW2i1du9M5jPRRfDUhtA7MxVXc3fT",239"SysvarC1ock11111111111111111111111111111111",240"GWqUcqoZtjq8K6H48YvcHJMEGq8CahNDGMuz3iqU4ESA"241],242"data": "RXVXEPrraznShejVFsVGr5vXqzzvWyoANQ4xMbBiQh8zFni83hAQ9TB82UK48gwsdwcS3dWgGchERmqSdY4t1KNnuPSakMPfVp5xsTCBVF5B7RKxDewXo6",243"programId": "B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht",244"stackHeight": 1245},246{247"accounts": [],248"data": "3s2DQSEX3t4P",249"programId": "ComputeBudget111111111111111111111111111111",250"stackHeight": 1251}252],253"recentBlockhash": "CN6Mze5haCgGiT7f4EqFTyisLGkzfN5cBNHUJsNaaokx"254},255"signatures": [256"5d7AJVrWmzRAnTQTMaoVRJJTCdMqp8wiYa4t8oStyYZrvJsZtzyiZxXL45PePksoKHGfCqE1eoz8P2akfz6ASxeS"257]258},259"version": 0260},261{262"meta": {263"computeUnitsConsumed": 1,264"costUnits": 1051,265"err": null,266"fee": 105000,267"innerInstructions": [],268"logMessages": [269"Program AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u invoke [1]",270"Program AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u consumed 1 of 1 compute units",271"Program AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u success"272],273"postBalances": [27441249163014,275833120276],277"postTokenBalances": [],278"preBalances": [27941249268014,280833120281],282"preTokenBalances": [],283"rewards": null,284"status": {285"Ok": null286}287},288"transaction": {289"message": {290"accountKeys": [291{292"pubkey": "ASFidwiFzXbsQpSnbp7gJDwuj5adCZCQoAjGsDghwoEG",293"signer": true,294"source": "transaction",295"writable": true296},297{298"pubkey": "AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u",299"signer": false,300"source": "transaction",301"writable": false302}303],304"instructions": [305{306"accounts": [],307"data": "XUznq5ou9DNFqLpJzSSazA5xudiQfD6nPS8qSWpcPY59x5BHGvjqoWBRZeCQmBabSXEf9rfWBTZRRdVdZoCMZ79zwe3bsmWQXTSev6kLZPfJiXwWLUefkzyt",308"programId": "AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u",309"stackHeight": 1310}311],312"recentBlockhash": "AbXQ8YCtuvu7aQnT5yZUzyUctLRmVenDGAzsAagQZ6wB",313"transactionConfig": {314"computeUnitLimit": 1,315"heapSize": null,316"loadedAccountsDataSizeLimit": 1024,317"priorityFee": 100000318}319},320"signatures": [321"4NQ7vj41rsT9t43cs1HA3YHRYEDj1QCsgfiGzL9reUkgmM2QoUChU2TYWRW7tMfVtrbPS3fBfsM8vRgYjf7diPqg"322]323},324"version": 1325}326]327},328"id": 1329}
1{2"jsonrpc": "2.0",3"result": {4"blockHeight": 426169089,5"blockTime": 1789746410,6"blockhash": "B68VW4g7dMXLmGdSohgPhuc3rXND3TY8f1VTmZjKi8Zy",7"parentSlot": 448128141,8"previousBlockhash": "Hu2NmidjyRztqwgtcCmvEkQ1kTPJaf4niLkAGFiNzK1B",9"transactions": [10{11"meta": {12"computeUnitsConsumed": 300,13"costUnits": 1632,14"err": null,15"fee": 5000,16"innerInstructions": [],17"logMessages": [18"Program ComputeBudget111111111111111111111111111111 invoke [1]",19"Program ComputeBudget111111111111111111111111111111 success",20"Program 11111111111111111111111111111111 invoke [1]",21"Program 11111111111111111111111111111111 success"22],23"postBalances": [240,252767738985880,261,27128],29"postTokenBalances": [],30"preBalances": [31895880,322767738095000,331,34135],36"preTokenBalances": [],37"rewards": null,38"status": {39"Ok": null40}41},42"transaction": {43"message": {44"accountKeys": [45{46"pubkey": "uYysfiQCCLiTnitZNLVFNichTGAB7Rb5EfvSehHgZFt",47"signer": true,48"source": "transaction",49"writable": true50},51{52"pubkey": "5oJrA7iXRcHFYQ3HYX3oRBCnFEf9EJNgSPYnXfGniXRU",53"signer": false,54"source": "transaction",55"writable": true56},57{58"pubkey": "11111111111111111111111111111111",59"signer": false,60"source": "transaction",61"writable": false62},63{64"pubkey": "ComputeBudget111111111111111111111111111111",65"signer": false,66"source": "transaction",67"writable": false68}69],70"instructions": [71{72"accounts": [],73"data": "H9zrWb",74"programId": "ComputeBudget111111111111111111111111111111",75"stackHeight": 176},77{78"parsed": {79"info": {80"destination": "5oJrA7iXRcHFYQ3HYX3oRBCnFEf9EJNgSPYnXfGniXRU",81"lamports": 890880,82"source": "uYysfiQCCLiTnitZNLVFNichTGAB7Rb5EfvSehHgZFt"83},84"type": "transfer"85},86"program": "system",87"programId": "11111111111111111111111111111111",88"stackHeight": 189}90],91"recentBlockhash": "8cF9mxFqz4pCXZuSN3zt2ePZ7Dkn4jmrVVi8NBNRFEX2"92},93"signatures": [94"2KWfFzWWeHvET526E8iRcirRG6rSiQQZbCGVaVLP7zP163tEh3xz8YJa2ejkjGBdXd86mLznRQ3f1BCTriVTJmde"95]96},97"version": "legacy"98},99{100"meta": {101"computeUnitsConsumed": 800,102"costUnits": 2511,103"err": null,104"fee": 5255,105"innerInstructions": [],106"logMessages": [107"Program 11111111111111111111111111111111 invoke [1]",108"Program 11111111111111111111111111111111 success",109"Program ComputeBudget111111111111111111111111111111 invoke [1]",110"Program ComputeBudget111111111111111111111111111111 success",111"Program ComputeBudget111111111111111111111111111111 invoke [1]",112"Program ComputeBudget111111111111111111111111111111 success",113"Program B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht invoke [1]",114"Program B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht consumed 200 of 397 compute units",115"Program B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht success",116"Program ComputeBudget111111111111111111111111111111 invoke [1]",117"Program ComputeBudget111111111111111111111111111111 success"118],119"postBalances": [1206631628568,1211447680,1221,1231,1241141440,1255526240,1261169280,12742706560128],129"postTokenBalances": [],130"preBalances": [1316631633823,1321447680,1331,1341,1351141440,1365526240,1371169280,13842706560139],140"preTokenBalances": [],141"rewards": null,142"status": {143"Ok": null144}145},146"transaction": {147"message": {148"accountKeys": [149{150"pubkey": "HCarRs1TRYxDJiWaW2i1du9M5jPRRfDUhtA7MxVXc3fT",151"signer": true,152"source": "transaction",153"writable": true154},155{156"pubkey": "22k7YyuxMMdZ2UoZ9LQoiVwQfxnmcW2YtnkfxPbsJgVK",157"signer": false,158"source": "transaction",159"writable": true160},161{162"pubkey": "11111111111111111111111111111111",163"signer": false,164"source": "transaction",165"writable": false166},167{168"pubkey": "ComputeBudget111111111111111111111111111111",169"signer": false,170"source": "transaction",171"writable": false172},173{174"pubkey": "B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht",175"signer": false,176"source": "transaction",177"writable": false178},179{180"pubkey": "GWqUcqoZtjq8K6H48YvcHJMEGq8CahNDGMuz3iqU4ESA",181"signer": false,182"source": "lookupTable",183"writable": true184},185{186"pubkey": "SysvarC1ock11111111111111111111111111111111",187"signer": false,188"source": "lookupTable",189"writable": false190},191{192"pubkey": "SysvarRecentB1ockHashes11111111111111111111",193"signer": false,194"source": "lookupTable",195"writable": false196}197],198"addressTableLookups": [199{200"accountKey": "62zLnxfqGx2FgsCwF9Kk67PGuuyhMwNtPSoD8Ri3i34G",201"readonlyIndexes": [20220,20325204],205"writableIndexes": [2062207]208}209],210"instructions": [211{212"parsed": {213"info": {214"nonceAccount": "22k7YyuxMMdZ2UoZ9LQoiVwQfxnmcW2YtnkfxPbsJgVK",215"nonceAuthority": "HCarRs1TRYxDJiWaW2i1du9M5jPRRfDUhtA7MxVXc3fT",216"recentBlockhashesSysvar": "SysvarRecentB1ockHashes11111111111111111111"217},218"type": "advanceNonce"219},220"program": "system",221"programId": "11111111111111111111111111111111",222"stackHeight": 1223},224{225"accounts": [],226"data": "29gNbXDh",227"programId": "ComputeBudget111111111111111111111111111111",228"stackHeight": 1229},230{231"accounts": [],232"data": "V6bBeP",233"programId": "ComputeBudget111111111111111111111111111111",234"stackHeight": 1235},236{237"accounts": [238"HCarRs1TRYxDJiWaW2i1du9M5jPRRfDUhtA7MxVXc3fT",239"SysvarC1ock11111111111111111111111111111111",240"GWqUcqoZtjq8K6H48YvcHJMEGq8CahNDGMuz3iqU4ESA"241],242"data": "RXVXEPrraznShejVFsVGr5vXqzzvWyoANQ4xMbBiQh8zFni83hAQ9TB82UK48gwsdwcS3dWgGchERmqSdY4t1KNnuPSakMPfVp5xsTCBVF5B7RKxDewXo6",243"programId": "B72M6nyCLFgWiJtAN4naUTminMiTmyGcEqQHXwVeRdht",244"stackHeight": 1245},246{247"accounts": [],248"data": "3s2DQSEX3t4P",249"programId": "ComputeBudget111111111111111111111111111111",250"stackHeight": 1251}252],253"recentBlockhash": "CN6Mze5haCgGiT7f4EqFTyisLGkzfN5cBNHUJsNaaokx"254},255"signatures": [256"5d7AJVrWmzRAnTQTMaoVRJJTCdMqp8wiYa4t8oStyYZrvJsZtzyiZxXL45PePksoKHGfCqE1eoz8P2akfz6ASxeS"257]258},259"version": 0260},261{262"meta": {263"computeUnitsConsumed": 1,264"costUnits": 1051,265"err": null,266"fee": 105000,267"innerInstructions": [],268"logMessages": [269"Program AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u invoke [1]",270"Program AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u consumed 1 of 1 compute units",271"Program AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u success"272],273"postBalances": [27441249163014,275833120276],277"postTokenBalances": [],278"preBalances": [27941249268014,280833120281],282"preTokenBalances": [],283"rewards": null,284"status": {285"Ok": null286}287},288"transaction": {289"message": {290"accountKeys": [291{292"pubkey": "ASFidwiFzXbsQpSnbp7gJDwuj5adCZCQoAjGsDghwoEG",293"signer": true,294"source": "transaction",295"writable": true296},297{298"pubkey": "AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u",299"signer": false,300"source": "transaction",301"writable": false302}303],304"instructions": [305{306"accounts": [],307"data": "XUznq5ou9DNFqLpJzSSazA5xudiQfD6nPS8qSWpcPY59x5BHGvjqoWBRZeCQmBabSXEf9rfWBTZRRdVdZoCMZ79zwe3bsmWQXTSev6kLZPfJiXwWLUefkzyt",308"programId": "AhoL8CPMN782giCCn8RSixmJXhd8ZCgexUvef1Qy2b7u",309"stackHeight": 1310}311],312"recentBlockhash": "AbXQ8YCtuvu7aQnT5yZUzyUctLRmVenDGAzsAagQZ6wB",313"transactionConfig": {314"computeUnitLimit": 1,315"heapSize": null,316"loadedAccountsDataSizeLimit": 1024,317"priorityFee": 100000318}319},320"signatures": [321"4NQ7vj41rsT9t43cs1HA3YHRYEDj1QCsgfiGzL9reUkgmM2QoUChU2TYWRW7tMfVtrbPS3fBfsM8vRgYjf7diPqg"322]323},324"version": 1325}326]327},328"id": 1329}