getBlock RPC Method
Though getBlock is supported, Solana Foundation recommends using jsonParsed encoding because it includes all transaction account keys (including those from Lookup Tables). To do this with JavaScript, please refer to the getParsedBlock RPC method.
パラメータ
スロット
整数
読み込み中...
オブジェクト
オブジェクト
読み込み中...
encoding
文字列
読み込み中...
transactionDetails
文字列
読み込み中...
rewards
ブール値
読み込み中...
commitment
文字列
読み込み中...
finalized
文字列
読み込み中...
confirmed
文字列
読み込み中...
maxSupportedTransactionVersion
ブール値
読み込み中...
返品
結果
読み込み中...
blockHeight
読み込み中...
blockTime
読み込み中...
blockhash
読み込み中...
parentSlot
読み込み中...
previousBlockhash
読み込み中...
取引
読み込み中...
meta
読み込み中...
えっと
読み込み中...
手数料
読み込み中...
innerInstructions
読み込み中...
logMessages
読み込み中...
postBalances
読み込み中...
postTokenBalances
読み込み中...
preBalances
読み込み中...
preTokenBalances
読み込み中...
rewards
読み込み中...
pubkey
読み込み中...
ラムポート
読み込み中...
postBalance
読み込み中...
rewardType
読み込み中...
commission
読み込み中...
ステータス
読み込み中...
取引
読み込み中...
メッセージ
読み込み中...
accountKeys
読み込み中...
pubkey
読み込み中...
signer
読み込み中...
出典
読み込み中...
writable
読み込み中...
instructions
読み込み中...
parsed
読み込み中...
情報
読み込み中...
clockSysvar
読み込み中...
slotHashesSysvar
読み込み中...
vote
読み込み中...
ハッシュ
読み込み中...
slots
読み込み中...
タイムスタンプ
読み込み中...
voteAccount
読み込み中...
voteAuthority
読み込み中...
タイプ
読み込み中...
プログラム
読み込み中...
programId
読み込み中...
stackHeight
読み込み中...
recentBlockhash
読み込み中...
署名
読み込み中...
バージョン
読み込み中...
リクエスト
回答
1{2"jsonrpc": "2.0",3"result": {4"blockHeight": 428,5"blockTime": null,6"blockhash": "3Eq21vXNB5s86c62bVuUfTeaMif1N2kUqRPBmGRJhyTA",7"parentSlot": 429,8"previousBlockhash": "mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B",9「取引」: [10{11"meta": {12"err": null,13"fee": 5000,14"innerInstructions": [],15"logMessages": [],16"postBalances": [17499998932500,1826858640,191,201,21122],23"postTokenBalances": [],24"preBalances": [25499998937500,2626858640,271,281,29130],31"preTokenBalances": [],32"rewards": null,33"status": {34"Ok": null35}36},37"transaction": {38"message": {39"accountKeys": [40"3UVYmECPPMZSCqWKfENfuoTv51fTDTWicX9xmBD2euKe",41"AjozzgE83A3x1sHNUR64hfH7zaEBWeMaFuAN9kQgujrc",42"SysvarS1otHashes111111111111111111111111111",43"SysvarC1ock11111111111111111111111111111111",44"Vote111111111111111111111111111111111111111"45],46"header": {47"numReadonlySignedAccounts": 0,48"numReadonlyUnsignedAccounts": 3,49"numRequiredSignatures": 150},51"instructions": [52{53"accounts": [541,552,563,57058],59"data": "37u9WtQpcm6ULa3WRQHmj49EPs4if7o9f1jSRVZpm2dvihR9C8jY4NqEwXUbLwx15HBSNcP1",60"programIdIndex": 461}62],63"recentBlockhash": "mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B"64},65"signatures": [66"2nBhEBYYvfaAe16UMNqRHre4YNSskvuYgx3M6E4JP1oDYvZEJHvoPzyUidNgNX5r9sTyN1J9UxtbCXy2rqYcuyuv"67]68}69}70]71},72"id": 173}
1{2"jsonrpc": "2.0",3"result": {4"blockHeight": 428,5"blockTime": null,6"blockhash": "3Eq21vXNB5s86c62bVuUfTeaMif1N2kUqRPBmGRJhyTA",7"parentSlot": 429,8"previousBlockhash": "mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B",9「取引」: [10{11"meta": {12"err": null,13"fee": 5000,14"innerInstructions": [],15"logMessages": [],16"postBalances": [17499998932500,1826858640,191,201,21122],23"postTokenBalances": [],24"preBalances": [25499998937500,2626858640,271,281,29130],31"preTokenBalances": [],32"rewards": null,33"status": {34"Ok": null35}36},37"transaction": {38"message": {39"accountKeys": [40"3UVYmECPPMZSCqWKfENfuoTv51fTDTWicX9xmBD2euKe",41"AjozzgE83A3x1sHNUR64hfH7zaEBWeMaFuAN9kQgujrc",42"SysvarS1otHashes111111111111111111111111111",43"SysvarC1ock11111111111111111111111111111111",44"Vote111111111111111111111111111111111111111"45],46"header": {47"numReadonlySignedAccounts": 0,48"numReadonlyUnsignedAccounts": 3,49"numRequiredSignatures": 150},51"instructions": [52{53"accounts": [541,552,563,57058],59"data": "37u9WtQpcm6ULa3WRQHmj49EPs4if7o9f1jSRVZpm2dvihR9C8jY4NqEwXUbLwx15HBSNcP1",60"programIdIndex": 461}62],63"recentBlockhash": "mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B"64},65"signatures": [66"2nBhEBYYvfaAe16UMNqRHre4YNSskvuYgx3M6E4JP1oDYvZEJHvoPzyUidNgNX5r9sTyN1J9UxtbCXy2rqYcuyuv"67]68}69}70]71},72"id": 173}