Ir diretamente para o conteúdo principal

getParsedBlock RPC Method

A carregar...

Atualizado em
Apr 30, 2025

getParsedBlock RPC Method

The getParsedTransaction method is only supported with the @solana/web3.js SDK. To use cURL or solana.py, check out the getBlock method examples where the encoding is set to jsonParsed.

Parâmetros

slot_number
cadeia de caracteres
A carregar...
objeto
objeto
A carregar...
commitment
cadeia de caracteres
A carregar...
finalized
cadeia de caracteres
A carregar...
confirmed
cadeia de caracteres
A carregar...
processed
cadeia de caracteres
A carregar...
encoding
cadeia de caracteres
A carregar...
transactionDetails
cadeia de caracteres
A carregar...
rewards
booleano
A carregar...
maxSupportedTransactionVersion
booleano
A carregar...
legacy
booleano
A carregar...
0
booleano
A carregar...

Devoluções

resultado
A carregar...
blockhash
A carregar...
previousBlockhash
A carregar...
parentSlot
A carregar...
transações
A carregar...
meta
A carregar...
err
A carregar...
fee
A carregar...
innerInstructions
A carregar...
loadedAddresses
A carregar...
readonly
A carregar...
writable
A carregar...
logMessages
A carregar...
postBalances
A carregar...
postTokenBalances
A carregar...
preBalances
A carregar...
preTokenBalances
A carregar...
rewards
A carregar...
pubkey
A carregar...
lamports
A carregar...
postBalance
A carregar...
rewardType
A carregar...
comission
A carregar...
estado
A carregar...
transação
A carregar...
mensagem
A carregar...
accountKeys
A carregar...
cabeçalho
A carregar...
numRequiredSignatures
A carregar...
numReadonlySignedAccounts
A carregar...
numReadonlyUnsignedAccounts
A carregar...
instructions
A carregar...
accounts
A carregar...
dados
A carregar...
programIdIndex
A carregar...
recentBlockhash
A carregar...
assinaturas
A carregar...
Pedido
Resposta
1
{
2
"meta": {
3
"err": null,
4
"fee": 5000,
5
"innerInstructions": [],
6
"logMessages": [
7
"Program Vote111111111111111111111111111111111111111 invoke [1]",
8
"Program Vote111111111111111111111111111111111111111 success"
9
],
10
"postBalances": [
11
1069937886367,
12
20362105262556,
13
1,
14
1,
15
1
16
],
17
"postTokenBalances": [],
18
"preBalances": [
19
1069937891367,
20
20362105262556,
21
1,
22
1,
23
1
24
],
25
"preTokenBalances": [],
26
"rewards": [],
27
"status": {
28
"Ok": null
29
}
30
},
31
"transaction": {
32
"message": {
33
"accountKeys": [
34
{
35
"pubkey": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e",
36
"signer": true,
37
"source": "transaction",
38
"writable": true
39
},
40
{
41
"pubkey": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",
42
"signer": false,
43
"source": "transaction",
44
"writable": true
45
},
46
{
47
"pubkey": "SysvarS1otHashes111111111111111111111111111",
48
"signer": false,
49
"source": "transaction",
50
"writable": false
51
},
52
{
53
"pubkey": "SysvarC1ock11111111111111111111111111111111",
54
"signer": false,
55
"source": "transaction",
56
"writable": false
57
},
58
{
59
"pubkey": "Vote111111111111111111111111111111111111111",
60
"signer": false,
61
"source": "transaction",
62
"writable": false
63
}
64
],
65
"instructions": [
66
{
67
"parsed": {
68
"info": {
69
"clockSysvar": "SysvarC1ock11111111111111111111111111111111",
70
"slotHashesSysvar": "SysvarS1otHashes111111111111111111111111111",
71
"vote": {
72
"hash": "DUe3NToPicQXHtXeCY7c5qbUkg6x4Wmh2PXj95CGYgSj",
73
"slots": [
74
94101946,
75
94101947
76
],
77
"timestamp": 1630351521
78
},
79
"voteAccount": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",
80
"voteAuthority": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e"
81
},
82
"type": "vote"
83
},
84
"program": "vote",
85
"programId": "Vote111111111111111111111111111111111111111",
86
"stackHeight": null
87
}
88
],
89
"recentBlockhash": "HTha2e7ZTag9oT8mDyQxTBrcP2HaBfqJs4q3etV61okZ"
90
},
91
"signatures": [
92
"5FEqJP5xZSqbhYYyTPBQoH7ti3Y1NaqbqCFZR8xjndAKkVBpv5pKboKh18UGeEeyfZEwXNM5wPjdQkpCPewcJRpe"
93
]
94
},
95
"version": "legacy"
96
}
1
{
2
"meta": {
3
"err": null,
4
"fee": 5000,
5
"innerInstructions": [],
6
"logMessages": [
7
"Program Vote111111111111111111111111111111111111111 invoke [1]",
8
"Program Vote111111111111111111111111111111111111111 success"
9
],
10
"postBalances": [
11
1069937886367,
12
20362105262556,
13
1,
14
1,
15
1
16
],
17
"postTokenBalances": [],
18
"preBalances": [
19
1069937891367,
20
20362105262556,
21
1,
22
1,
23
1
24
],
25
"preTokenBalances": [],
26
"rewards": [],
27
"status": {
28
"Ok": null
29
}
30
},
31
"transaction": {
32
"message": {
33
"accountKeys": [
34
{
35
"pubkey": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e",
36
"signer": true,
37
"source": "transaction",
38
"writable": true
39
},
40
{
41
"pubkey": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",
42
"signer": false,
43
"source": "transaction",
44
"writable": true
45
},
46
{
47
"pubkey": "SysvarS1otHashes111111111111111111111111111",
48
"signer": false,
49
"source": "transaction",
50
"writable": false
51
},
52
{
53
"pubkey": "SysvarC1ock11111111111111111111111111111111",
54
"signer": false,
55
"source": "transaction",
56
"writable": false
57
},
58
{
59
"pubkey": "Vote111111111111111111111111111111111111111",
60
"signer": false,
61
"source": "transaction",
62
"writable": false
63
}
64
],
65
"instructions": [
66
{
67
"parsed": {
68
"info": {
69
"clockSysvar": "SysvarC1ock11111111111111111111111111111111",
70
"slotHashesSysvar": "SysvarS1otHashes111111111111111111111111111",
71
"vote": {
72
"hash": "DUe3NToPicQXHtXeCY7c5qbUkg6x4Wmh2PXj95CGYgSj",
73
"slots": [
74
94101946,
75
94101947
76
],
77
"timestamp": 1630351521
78
},
79
"voteAccount": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",
80
"voteAuthority": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e"
81
},
82
"type": "vote"
83
},
84
"program": "vote",
85
"programId": "Vote111111111111111111111111111111111111111",
86
"stackHeight": null
87
}
88
],
89
"recentBlockhash": "HTha2e7ZTag9oT8mDyQxTBrcP2HaBfqJs4q3etV61okZ"
90
},
91
"signatures": [
92
"5FEqJP5xZSqbhYYyTPBQoH7ti3Y1NaqbqCFZR8xjndAKkVBpv5pKboKh18UGeEeyfZEwXNM5wPjdQkpCPewcJRpe"
93
]
94
},
95
"version": "legacy"
96
}
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente