Ir al contenido principal

getParsedBlock RPC Method

Cargando...

Actualizado el
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
cadena
Cargando...
objeto
objeto
Cargando...
commitment
cadena
Cargando...
finalized
cadena
Cargando...
confirmed
cadena
Cargando...
processed
cadena
Cargando...
encoding
cadena
Cargando...
transactionDetails
cadena
Cargando...
rewards
booleano
Cargando...
maxSupportedTransactionVersion
booleano
Cargando...
legacy
booleano
Cargando...
0
booleano
Cargando...

Devoluciones

resultado
Cargando...
blockhash
Cargando...
previousBlockhash
Cargando...
parentSlot
Cargando...
transacciones
Cargando...
meta
Cargando...
err
Cargando...
cuota
Cargando...
innerInstructions
Cargando...
loadedAddresses
Cargando...
solo lectura
Cargando...
grabable
Cargando...
logMessages
Cargando...
postBalances
Cargando...
postTokenBalances
Cargando...
preBalances
Cargando...
preTokenBalances
Cargando...
rewards
Cargando...
pubkey
Cargando...
lamports
Cargando...
postBalance
Cargando...
rewardType
Cargando...
comission
Cargando...
estado
Cargando...
transacción
Cargando...
mensaje
Cargando...
accountKeys
Cargando...
encabezado
Cargando...
numRequiredSignatures
Cargando...
numReadonlySignedAccounts
Cargando...
numReadonlyUnsignedAccounts
Cargando...
instructions
Cargando...
accounts
Cargando...
datos
Cargando...
programIdIndex
Cargando...
recentBlockhash
Cargando...
firmas
Cargando...
Solicitud
Respuesta
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
}
¿Aún no tienes una cuenta?
Crea tu punto de conexión de Quicknode en cuestión de segundos y empieza a desarrollar
Empieza gratis