The getParsedBlock method is only supported with the @solana/web3.js SDK. To use cURL, Solana Kit, or solana.py, check out the getBlock method examples where the encoding is set to jsonParsed.
Parameters
slot_number
string
Loading...
object
object
Loading...
commitment
string
Loading...
finalized
string
Loading...
confirmed
string
Loading...
processed
string
Loading...
encoding
string
Loading...
transactionDetails
string
Loading...
rewards
boolean
Loading...
maxSupportedTransactionVersion
integer
Loading...
legacy
string
Loading...
0
integer
Loading...
1
integer
Loading...
Returns
result
Loading...
blockhash
Loading...
previousBlockhash
Loading...
parentSlot
Loading...
transactions
Loading...
meta
Loading...
err
Loading...
fee
Loading...
innerInstructions
Loading...
logMessages
Loading...
postBalances
Loading...
postTokenBalances
Loading...
preBalances
Loading...
preTokenBalances
Loading...
rewards
Loading...
pubkey
Loading...
lamports
Loading...
postBalance
Loading...
rewardType
Loading...
comission
Loading...
status
Loading...
transaction
Loading...
message
Loading...
accountKeys
Loading...
header
Loading...
numRequiredSignatures
Loading...
numReadonlySignedAccounts
Loading...
numReadonlyUnsignedAccounts
Loading...
instructions
Loading...
accounts
Loading...
data
Loading...
programIdIndex
Loading...
addressTableLookups
array
Loading...
accountKey
string
Loading...
writableIndexes
array
Loading...
readonlyIndexes
array
Loading...
transactionConfig
object
Loading...
priorityFee
integer
Loading...
computeUnitLimit
integer
Loading...
loadedAccountsDataSizeLimit
integer
Loading...
heapSize
integer
Loading...
version
string|integer
Loading...
recentBlockhash
Loading...
signatures
Loading...
Request
Response
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}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free