{"id":21677188,"url":"https://github.com/3loop/decoder-api","last_synced_at":"2026-03-15T08:05:02.412Z","repository":{"id":245616626,"uuid":"818768414","full_name":"3loop/decoder-api","owner":"3loop","description":"An API that decodes and provides insights into any specific EVM transaction.","archived":false,"fork":false,"pushed_at":"2024-09-05T17:36:41.000Z","size":385,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T03:36:22.177Z","etag":null,"topics":["decode","ethereum","evm","human-readable"],"latest_commit_sha":null,"homepage":"https://decoder-api.3loop.io/swagger","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3loop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-22T20:06:34.000Z","updated_at":"2025-02-01T22:29:04.000Z","dependencies_parsed_at":"2025-01-25T10:23:31.035Z","dependency_job_id":null,"html_url":"https://github.com/3loop/decoder-api","commit_stats":null,"previous_names":["3loop/decoder-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/3loop/decoder-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3loop%2Fdecoder-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3loop%2Fdecoder-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3loop%2Fdecoder-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3loop%2Fdecoder-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3loop","download_url":"https://codeload.github.com/3loop/decoder-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3loop%2Fdecoder-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30538255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T07:17:37.589Z","status":"ssl_error","status_checked_at":"2026-03-15T07:17:31.738Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decode","ethereum","evm","human-readable"],"created_at":"2024-11-25T14:18:35.157Z","updated_at":"2026-03-15T08:05:02.373Z","avatar_url":"https://github.com/3loop.png","language":"TypeScript","readme":"# Decoder REST API\n\nThis project provides a REST API to decode EVM transactions. It is built on top of the [Loop Decoder](https://github.com/3loop/loop-decoder) library.\n\nThe service has two main API endpoints:\n\n1. **Decoding Endpoint** `/decode/:chain/:hash` - This endpoint returns detailed information about a transaction, including:\n\n   - Decoded transaction data\n   - Events and traces\n   - Errors, if any\n   - Additional context, such as transfers and metadata for all addresses involved in the transaction\n\n2. **Interpreting Endpoint** `/interpret/:chain/:hash` - This endpoint provides a human-readable version of the decoded transaction data, making it easier to understand.\n\nFor a more detailed API overview, please refer to the openapi through the `/swagger` endpoint.\n\n## Database\n\nThis project uses SQLite as its database. At a minimum, you need to provide the WETH contract metadata. Other public contracts can be resolved using third-party strategies.\n\nIf you need a database snapshot for Ethereum Mainnet that includes common contracts metadata and contracts ABIs, please contact us on [X](https://x.com/3loop_io).\n\n## Requirements\n\nTo use this project you need to have [Bun](https://bun.sh/) installed on your machine.\n\n## Development\n\nFor development, we will use [pnpm](https://pnpm.io/) as our package manager, because Drizzle Kit does not yet support bun sqlite.\n\nRun the migration to create the database:\n\n```bash\n$ pnpm migrate\n```\n\nStart the development server:\n\n```bash\n$ pnpm dev\n```\n\nOptionally, start docker-compose to run local telemetry server:\n\n```bash\n$ cd ./local \u0026\u0026 docker-compose up\n```\n\n## Deploy with fly.io\n\nCreate a volume for sqlite\n\n```bash\n$ fly volumes create litefs --size 1\n```\n\nCreate a new app:\n\n```bash\n$ fly launch\n```\n\nConfigure the consul:\n\n```bash\n$ fly consul attach\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3loop%2Fdecoder-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3loop%2Fdecoder-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3loop%2Fdecoder-api/lists"}