block_footer filter on Solana gRPC.Parameters
- slotinteger
The slot number of the block to retrieve encoded as u64 (64-bit unsigned integer) integer
- objectobject
The configuration object with the following fields:
- encodingstring
(Default: json) The encoding format for account data. It can be one of base58 (slow), json, base64 or jsonParsed
- transactionDetailsstring
(default:full) The level of transaction detail to return. It could be full, accounts, signatures, or none
- rewardsboolean
(default:false) A boolean flag that indicates whether to include reward information in the block response
- 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 supermajority of the cluster
- maxSupportedTransactionVersioninteger
The maximum transaction version to return, as a JSON integer. Set it to 1 to receive legacy, version 0, and version 1 transactions
Returns
- result
Null if the specified block is not confirmed otherwise RpcResponse JSON object with the following fields:
- blockHeight
The number of blocks beneath this block
- blockTime
The estimated production time, as Unix timestamp (seconds since the Unix epoch). It's null if not available
- blockhash
The hash of the block encoded as base-58 string
- parentSlot
The slot index of this block's parent
- previousBlockhash
The blockhash of this block's parent encoded as base-58 string; if the parent block is not available due to ledger cleanup, the field will return 11111111111111111111111111111111
- transactions
It is present if full transaction details are requested; an array of JSON objects with the following fields:
- meta
The transaction status metadata object, which contains additional information about the block and its transactions. The meta object can be null, or it may contain the following fields:
- err
Error code if the transaction failed or null if the transaction succeeds
- fee
The total fees paid by all transactions in the block encoded as u64 integer
- innerInstructions
An array of objects representing the inner instructions of all transactions in the block (omitted if inner instruction recording is not enabled). Each object has the following fields:
- logMessages
An array of strings containing any log messages generated by the block's transactions (omitted if inner instruction recording is not enabled)
- postBalances
An array of lamport balances for each account in the block after the transactions were processed
- postTokenBalances
An array of token balances for each token account in the block after the transactions were processed (omitted if inner instruction recording is not enabled)
- preBalances
An array of lamport balances for each account in the block before the transactions were processed
- preTokenBalances
An array of token balances for each token account in the block before the transactions were processed (omitted if inner instruction recording is not enabled)
- rewards
An object containing information about the rewards earned by the block's validators (only present if the rewards are requested). It has the following fields:
- pubkey
The address of the account that received the award encoded as a base-58 string
- lamports
The number of reward lamports credited or debited by the account
- postBalance
The account balance in lamports after the reward was applied
- rewardType
The type of reward. It could be fee, rent, voting, staking
- commission
The vote account commission when the reward was credited, only present for voting and staking rewards
- status
The status of the transaction. It returns Ok if the transaction was successful and Err if the transaction failed with TransactionError
- transaction
The transaction object. It could be either JSON format or encoded binary data, depending on the encoding parameter
- message
An array of transactions included in the block
- accountKeys
An array of addresses associated with the accounts that were accessed during the execution of transactions in the block
- pubkey
The address associated with the block producer who created the block
- signer
It is used to sign transactions in the block. It can also be used to identify the signers involved in the block's transactions and to verify the authenticity of the signatures
- source
It is used to identify the accounts that provided the funds for the block's transactions
- writable
A boolean value that indicates whether the accounts associated with the given addresses were modified by the transactions or not
- instructions
An array of instructions that were executed in the block's transactions
- parsed
An array of parsed instructions that were executed in the block's transactions
- info
Instruction-specific fields decoded by the program's parser
- type
The type of the block. It can be used to differentiate between regular blocks and special blocks such as snapshot or transaction confirmation blocks
- program
The data associated with the program that was executed in the block's transactions
- programId
The address of the program that was executed in the block's transactions
- stackHeight
The current depth of the execution stack
- recentBlockhash
The recent block hash for the account's cluster
- 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
- signatures
The list of transaction signatures contained within a particular block
- versionstring|integer
The transaction version, one of "legacy", 0, or 1
1{2"jsonrpc": "2.0",3"result": {4"blockHeight": 426205082,5"blockTime": 1789756026,6"blockhash": "GJK3MnAH2yfb3MdYsuPXohJ1UTp1KxEQv2mCtzr8aKxE",7"parentSlot": 448164150,8"previousBlockhash": "5NJEvrboB4Bt3CGXYXjMVTBmZqRxpgYTP7ELcMGbRKrp",9"transactions": [10{11"meta": {12"computeUnitsConsumed": 2100,13"costUnits": 3465,14"err": null,15"fee": 5000,16"innerInstructions": [],17"loadedAddresses": {18"readonly": [],19"writable": []20},21"logMessages": [22"Program Vote111111111111111111111111111111111111111 invoke [1]",23"Program Vote111111111111111111111111111111111111111 success"24],25"postBalances": [26383122690,2719761200,28129],30"postTokenBalances": [],31"preBalances": [32383127690,3319761200,34135],36"preTokenBalances": [],37"rewards": null,38"status": {39"Ok": null40}41},42"transaction": {43"message": {44"accountKeys": [45"adramSYKBv1yHoZTub4kepcmF5LybPxwyJcsz4fpfi7",46"adraBKLNY3DL3pg6SJRDYiMA8BsznaWpUdE42X41gbP",47"Vote111111111111111111111111111111111111111"48],49"header": {50"numReadonlySignedAccounts": 0,51"numReadonlyUnsignedAccounts": 1,52"numRequiredSignatures": 153},54"instructions": [55{56"accounts": [571,58059],60"data": "67MGn1Qb2pHYymEWaP4DX7HDqZpi4tgyoQN7p6jVZtG3hpyb44fCkytHtiWZDnXMECysbtddKCbJpCUj59S2mSHMQ1dBHDAksneYsgAdd1m9JnZ4tcHavhoUuyqp1QqBbSKbZpmXy5hmbMZyftA7s3D88YUnhFiq9QydoZct8ZqErXzkxxJbgQkH5j7mj7gseNLDzh8rA8",61"programIdIndex": 2,62"stackHeight": 163}64],65"recentBlockhash": "JBBgQj4C8pttbQdi6BFL9icxRNqdHpW4teLJyMynqNVC"66},67"signatures": [68"3WEamwKAxxihZ8bpoZ9TZ89KTdSveCDQiLZ8Z1g6eJm73TAn2iwtL6e47ZvRPyRduzKJVkTUwE5Nj4djryjmUVQd"69]70},71"version": "legacy"72},73{74"meta": {75"computeUnitsConsumed": 13251,76"costUnits": 14687,77"err": null,78"fee": 5000,79"innerInstructions": [80{81"index": 0,82"instructions": [83{84"accounts": [850,86287],88"data": "3Bxs4NQNnDSisSzK",89"programIdIndex": 3,90"stackHeight": 291}92]93}94],95"loadedAddresses": {96"readonly": [97"11111111111111111111111111111111",98"Dodg2HifwU8rmaVVyMyUZDGTRbqAJTyVYxXPwcbNpBKc"99],100"writable": [101"7uTT8Xi5RWXzy7h9XL244GRgEycDYDhLjr3ZyNdXi8pZ"102]103},104"logMessages": [105"Program 99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2 invoke [1]",106"Program log: Instruction: DepositNative",107"Program 11111111111111111111111111111111 invoke [2]",108"Program 11111111111111111111111111111111 success",109"Program data: ePg9Ux+Oa5CFu81NjwK03bv0b867L9V8q6KSPr3sJPG2BUW55t6tcgCA0fAIAAAAAHR5MbgH4BF/B1pH8TeCIMaVJTitfEvi0VbsTXb997Vz",110"Program 99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2 consumed 13251 of 200000 compute units",111"Program 99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2 success"112],113"postBalances": [1141373271480,115144071564,116182802411167,1171,1181628641119],120"postTokenBalances": [],121"preBalances": [1221523276480,123144071564,124182652411167,1251,1261628641127],128"preTokenBalances": [],129"rewards": null,130"status": {131"Ok": null132}133},134"transaction": {135"message": {136"accountKeys": [137"A13KNkoE4BWiEm1xY5bnaZKYX9MC5tEGbNvQAK1jSxvm",138"99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2"139],140"addressTableLookups": [141{142"accountKey": "Hm9fUgcn7qwDaiNTFiGh6pNtVATgnaRcmK6Bbx6EMZfP",143"readonlyIndexes": [14414,1451146],147"writableIndexes": [1482149]150}151],152"header": {153"numReadonlySignedAccounts": 0,154"numReadonlyUnsignedAccounts": 1,155"numRequiredSignatures": 1156},157"instructions": [158{159"accounts": [1604,1610,1620,1632,1643165],166"data": "VyPN4WGD26G3fWUS6rECj1W6nB5MqSgTv1KiwgBQWM4g3613Sc6VW5BzA2TM5tqut",167"programIdIndex": 1,168"stackHeight": 1169}170],171"recentBlockhash": "HQqM26BafMRuz81zVy7ntPmpqZqKKWF42rbEswLyQx9h"172},173"signatures": [174"pzRp8PnPLRmEfbevxjAuX7md3ymE3MkrMakP2aMUHJoyVk8Xc6fyG6xL4WNtVLPLb5uptbce6D7GdPoMuSqKj8W"175]176},177"version": 0178},179{180"meta": {181"computeUnitsConsumed": 417,182"costUnits": 1829,183"err": null,184"fee": 5210,185"innerInstructions": [],186"loadedAddresses": {187"readonly": [],188"writable": []189},190"logMessages": [191"Program Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy invoke [1]",192"Program Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy consumed 417 of 420 compute units",193"Program Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy success"194],195"postBalances": [1961315357077,1976291840,1981141440199],200"postTokenBalances": [],201"preBalances": [2021315362287,2036291840,2041141440205],206"preTokenBalances": [],207"rewards": null,208"status": {209"Ok": null210}211},212"transaction": {213"message": {214"accountKeys": [215"6dJw4BELW3gqDYRoVFohivS1Fp1yZGeXwHQhMhsEAPsf",216"CnAMgRDK4DytrLH3uZpzYYGcF1c5vMwnGbjDVV1ViiB8",217"Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy"218],219"header": {220"numReadonlySignedAccounts": 0,221"numReadonlyUnsignedAccounts": 1,222"numRequiredSignatures": 1223},224"instructions": [225{226"accounts": [2270,2281229],230"data": "5TyiQ4CipEb8TEFxjMFAofd",231"programIdIndex": 2,232"stackHeight": 1233}234],235"recentBlockhash": "HNUXUDVYsWWzwfCHjg6a55d67ruFJLeDN7J5UMifabKq",236"transactionConfig": {237"computeUnitLimit": 420,238"heapSize": null,239"loadedAccountsDataSizeLimit": 393216,240"priorityFee": 210241}242},243"signatures": [244"3SpS5Td7Bn88xewjs5TeSVPZvqvvN1NuiQtzVCeteAv36q57v8Exibc53tMarXk26f6iNcxoyQYe3guKitnGKVNr"245]246},247"version": 1248}249]250},251"id": 1252}
1{2"jsonrpc": "2.0",3"result": {4"blockHeight": 426205082,5"blockTime": 1789756026,6"blockhash": "GJK3MnAH2yfb3MdYsuPXohJ1UTp1KxEQv2mCtzr8aKxE",7"parentSlot": 448164150,8"previousBlockhash": "5NJEvrboB4Bt3CGXYXjMVTBmZqRxpgYTP7ELcMGbRKrp",9"transactions": [10{11"meta": {12"computeUnitsConsumed": 2100,13"costUnits": 3465,14"err": null,15"fee": 5000,16"innerInstructions": [],17"loadedAddresses": {18"readonly": [],19"writable": []20},21"logMessages": [22"Program Vote111111111111111111111111111111111111111 invoke [1]",23"Program Vote111111111111111111111111111111111111111 success"24],25"postBalances": [26383122690,2719761200,28129],30"postTokenBalances": [],31"preBalances": [32383127690,3319761200,34135],36"preTokenBalances": [],37"rewards": null,38"status": {39"Ok": null40}41},42"transaction": {43"message": {44"accountKeys": [45"adramSYKBv1yHoZTub4kepcmF5LybPxwyJcsz4fpfi7",46"adraBKLNY3DL3pg6SJRDYiMA8BsznaWpUdE42X41gbP",47"Vote111111111111111111111111111111111111111"48],49"header": {50"numReadonlySignedAccounts": 0,51"numReadonlyUnsignedAccounts": 1,52"numRequiredSignatures": 153},54"instructions": [55{56"accounts": [571,58059],60"data": "67MGn1Qb2pHYymEWaP4DX7HDqZpi4tgyoQN7p6jVZtG3hpyb44fCkytHtiWZDnXMECysbtddKCbJpCUj59S2mSHMQ1dBHDAksneYsgAdd1m9JnZ4tcHavhoUuyqp1QqBbSKbZpmXy5hmbMZyftA7s3D88YUnhFiq9QydoZct8ZqErXzkxxJbgQkH5j7mj7gseNLDzh8rA8",61"programIdIndex": 2,62"stackHeight": 163}64],65"recentBlockhash": "JBBgQj4C8pttbQdi6BFL9icxRNqdHpW4teLJyMynqNVC"66},67"signatures": [68"3WEamwKAxxihZ8bpoZ9TZ89KTdSveCDQiLZ8Z1g6eJm73TAn2iwtL6e47ZvRPyRduzKJVkTUwE5Nj4djryjmUVQd"69]70},71"version": "legacy"72},73{74"meta": {75"computeUnitsConsumed": 13251,76"costUnits": 14687,77"err": null,78"fee": 5000,79"innerInstructions": [80{81"index": 0,82"instructions": [83{84"accounts": [850,86287],88"data": "3Bxs4NQNnDSisSzK",89"programIdIndex": 3,90"stackHeight": 291}92]93}94],95"loadedAddresses": {96"readonly": [97"11111111111111111111111111111111",98"Dodg2HifwU8rmaVVyMyUZDGTRbqAJTyVYxXPwcbNpBKc"99],100"writable": [101"7uTT8Xi5RWXzy7h9XL244GRgEycDYDhLjr3ZyNdXi8pZ"102]103},104"logMessages": [105"Program 99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2 invoke [1]",106"Program log: Instruction: DepositNative",107"Program 11111111111111111111111111111111 invoke [2]",108"Program 11111111111111111111111111111111 success",109"Program data: ePg9Ux+Oa5CFu81NjwK03bv0b867L9V8q6KSPr3sJPG2BUW55t6tcgCA0fAIAAAAAHR5MbgH4BF/B1pH8TeCIMaVJTitfEvi0VbsTXb997Vz",110"Program 99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2 consumed 13251 of 200000 compute units",111"Program 99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2 success"112],113"postBalances": [1141373271480,115144071564,116182802411167,1171,1181628641119],120"postTokenBalances": [],121"preBalances": [1221523276480,123144071564,124182652411167,1251,1261628641127],128"preTokenBalances": [],129"rewards": null,130"status": {131"Ok": null132}133},134"transaction": {135"message": {136"accountKeys": [137"A13KNkoE4BWiEm1xY5bnaZKYX9MC5tEGbNvQAK1jSxvm",138"99vQwtBwYtrqqD9YSXbdum3KBdxPAVxYTaQ3cfnJSrN2"139],140"addressTableLookups": [141{142"accountKey": "Hm9fUgcn7qwDaiNTFiGh6pNtVATgnaRcmK6Bbx6EMZfP",143"readonlyIndexes": [14414,1451146],147"writableIndexes": [1482149]150}151],152"header": {153"numReadonlySignedAccounts": 0,154"numReadonlyUnsignedAccounts": 1,155"numRequiredSignatures": 1156},157"instructions": [158{159"accounts": [1604,1610,1620,1632,1643165],166"data": "VyPN4WGD26G3fWUS6rECj1W6nB5MqSgTv1KiwgBQWM4g3613Sc6VW5BzA2TM5tqut",167"programIdIndex": 1,168"stackHeight": 1169}170],171"recentBlockhash": "HQqM26BafMRuz81zVy7ntPmpqZqKKWF42rbEswLyQx9h"172},173"signatures": [174"pzRp8PnPLRmEfbevxjAuX7md3ymE3MkrMakP2aMUHJoyVk8Xc6fyG6xL4WNtVLPLb5uptbce6D7GdPoMuSqKj8W"175]176},177"version": 0178},179{180"meta": {181"computeUnitsConsumed": 417,182"costUnits": 1829,183"err": null,184"fee": 5210,185"innerInstructions": [],186"loadedAddresses": {187"readonly": [],188"writable": []189},190"logMessages": [191"Program Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy invoke [1]",192"Program Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy consumed 417 of 420 compute units",193"Program Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy success"194],195"postBalances": [1961315357077,1976291840,1981141440199],200"postTokenBalances": [],201"preBalances": [2021315362287,2036291840,2041141440205],206"preTokenBalances": [],207"rewards": null,208"status": {209"Ok": null210}211},212"transaction": {213"message": {214"accountKeys": [215"6dJw4BELW3gqDYRoVFohivS1Fp1yZGeXwHQhMhsEAPsf",216"CnAMgRDK4DytrLH3uZpzYYGcF1c5vMwnGbjDVV1ViiB8",217"Archer8kgiavM61GyusMzaaS2ft5sALtNsD1HxkUPMhy"218],219"header": {220"numReadonlySignedAccounts": 0,221"numReadonlyUnsignedAccounts": 1,222"numRequiredSignatures": 1223},224"instructions": [225{226"accounts": [2270,2281229],230"data": "5TyiQ4CipEb8TEFxjMFAofd",231"programIdIndex": 2,232"stackHeight": 1233}234],235"recentBlockhash": "HNUXUDVYsWWzwfCHjg6a55d67ruFJLeDN7J5UMifabKq",236"transactionConfig": {237"computeUnitLimit": 420,238"heapSize": null,239"loadedAccountsDataSizeLimit": 393216,240"priorityFee": 210241}242},243"signatures": [244"3SpS5Td7Bn88xewjs5TeSVPZvqvvN1NuiQtzVCeteAv36q57v8Exibc53tMarXk26f6iNcxoyQYe3guKitnGKVNr"245]246},247"version": 1248}249]250},251"id": 1252}