{"repo":"Tee-py/solana-txn-parser","free":true,"listed":false,"github":"https://github.com/Tee-py/solana-txn-parser","clone":"git clone https://github.com/Tee-py/solana-txn-parser.git","description":"An open-source transaction parser for popular DeFi applications on the Solana blockchain 🚀🤖..","language":"TypeScript","stars":209,"topics":["blockchain","defi","pump-fun","raydium","solana","web3","jupiter"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"solana-transaction-parser An open-source and lightweight transaction parser for popular DeFi applications on the Solana blockchain, written in TypeScript. 💪🏽 Supported DeFi Platforms - PumpFun ✅ - RaydiumV4 ✅ - Jupiter 🔜 👨‍🔧 Installation 👨🏽‍💻 Usage 🎰 PumpFun Parser 📦 Output Structure The parser returns a PumpFunTransaction object (or an array of PumpFunTransaction objects if parseMultiple is called): 🎰 PumpFun Transaction Structure The PumpFunTransaction object shows the different operations that occurred in the transaction. These operations are gotten from the events emitted during the transaction execution and are represented by the PumpFunAction interface as follows: PumpFun Action Structure The PumpFunAction interface contains the three major actions that can occur in a PumpFun transaction ( create , complete , trade ), with the info field containing the relevant information for each action. The info field is of type TradeInfo , CreateInfo , or CompleteInfo depending on the action. 🧑🏼‍🚀 RaydiumV4 Parser 🔄 Jupiter Parser [Coming soon] 🧰 Creating Custom Parsers You can create custom parsers for other DeFi platforms by extending the BaseParser class: NB: For anchor specific parsers that rely on events, you can use the anchorLogScanner function present in the src/core/utils file to get program events from the transaction. 🤝 Contributing Here's how you can contribute to the library: 🎉 Adding a New Parser - Fork the repository and create a new branch for your ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Tee-py","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Tee-py/solana-txn-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}