Loop Decoder
Loop Decoder is a TypeScript library with minimal external dependencies that transforms blockchain data into a human-readable format.
Key Features
- Works in any JavaScript environment
- Minimal external dependencies - you only need an RPC; everything else can be fetched from your own storage
- Highly customizable - we don't force you to use a specific API or storage; instead, we provide data loaders
Transaction Decoder
The Transaction Decoder package transforms raw transactions, including calldata, traces, and events, into a structured format with detailed information about all function calls and parameters. The decoded transaction includes:
- Method calls
- Trace calls
- Events
- All transfers
- Interactions with other contracts
- Error information
See the Decoded Transaction section in our playground for transaction examples.
Transaction Interpreter
The Transaction Interpreter allows you to understand what really happened in any transaction. In Loop Decoder, this is a JavaScript function that takes a Decoded Transaction and selects the most important fields and parameters based on the type of contract interacted with. The goal is to abstract away blockchain and smart contract nuances, producing an object understandable for both technical and non-technical users.
Examples
- Decoder HTTP Server - A simple HTTP server that exposes a REST API to decode transactions
- Firebase Push Notifications - Firebase Cloud Function that sends push notifications with decoded transactions
- Farcaster Frame - Farcaster Frame that displays transaction in a human-readable format
- Farcaster Bot - Farcaster Bot for human-readable transaction alerts
- Telegram Bot - Telegram Bot for human-readable transaction alerts
Links
Loop Decoder History
-
accepted into GG22 OSS - Developer Tooling and Libraries 3 weeks ago.
-
accepted into Developer Tooling and Libraries 6 months ago.