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": [111069937886367,1220362105262556,131,141,15116],17"postTokenBalances": [],18"preBalances": [191069937891367,2020362105262556,211,221,23124],25"preTokenBalances": [],26"rewards": [],27"status": {28"Ok": null29}30},31"transaction": {32"message": {33"accountKeys": [34{35"pubkey": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e",36"signer": true,37"source": "transaction",38"writable": true39},40{41"pubkey": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",42"signer": false,43"source": "transaction",44"writable": true45},46{47"pubkey": "SysvarS1otHashes111111111111111111111111111",48"signer": false,49"source": "transaction",50"writable": false51},52{53"pubkey": "SysvarC1ock11111111111111111111111111111111",54"signer": false,55"source": "transaction",56"writable": false57},58{59"pubkey": "Vote111111111111111111111111111111111111111",60"signer": false,61"source": "transaction",62"writable": false63}64],65"instructions": [66{67"parsed": {68"info": {69"clockSysvar": "SysvarC1ock11111111111111111111111111111111",70"slotHashesSysvar": "SysvarS1otHashes111111111111111111111111111",71"vote": {72"hash": "DUe3NToPicQXHtXeCY7c5qbUkg6x4Wmh2PXj95CGYgSj",73"slots": [7494101946,759410194776],77"timestamp": 163035152178},79"voteAccount": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",80"voteAuthority": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e"81},82"type": "vote"83},84"program": "vote",85"programId": "Vote111111111111111111111111111111111111111",86"stackHeight": null87}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": [111069937886367,1220362105262556,131,141,15116],17"postTokenBalances": [],18"preBalances": [191069937891367,2020362105262556,211,221,23124],25"preTokenBalances": [],26"rewards": [],27"status": {28"Ok": null29}30},31"transaction": {32"message": {33"accountKeys": [34{35"pubkey": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e",36"signer": true,37"source": "transaction",38"writable": true39},40{41"pubkey": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",42"signer": false,43"source": "transaction",44"writable": true45},46{47"pubkey": "SysvarS1otHashes111111111111111111111111111",48"signer": false,49"source": "transaction",50"writable": false51},52{53"pubkey": "SysvarC1ock11111111111111111111111111111111",54"signer": false,55"source": "transaction",56"writable": false57},58{59"pubkey": "Vote111111111111111111111111111111111111111",60"signer": false,61"source": "transaction",62"writable": false63}64],65"instructions": [66{67"parsed": {68"info": {69"clockSysvar": "SysvarC1ock11111111111111111111111111111111",70"slotHashesSysvar": "SysvarS1otHashes111111111111111111111111111",71"vote": {72"hash": "DUe3NToPicQXHtXeCY7c5qbUkg6x4Wmh2PXj95CGYgSj",73"slots": [7494101946,759410194776],77"timestamp": 163035152178},79"voteAccount": "AEf73zebQDu19NGW8R4G8HSoNos2cJe8n3Q1sRTh6XvV",80"voteAuthority": "3ab2iWqdSjyaVVrPTJXRR9e9orqK4AMCrnc5EMEHGu2e"81},82"type": "vote"83},84"program": "vote",85"programId": "Vote111111111111111111111111111111111111111",86"stackHeight": null87}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