The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Tx402 listing page.
Plain-English explanations of Algorand transactions, sold as a pay-per-call API with x402 on Algorand.
Live service:
Explain one transaction, every leg of an atomic group, a batch of IDs, or recent account activity. Responses include scaled amounts, inner transactions, asset names, fees, timestamps, counterparties, and source-verified protocol labels.
Try the free fixed-transaction demo without a wallet:
Example response after payment:
Raw Algorand indexer JSON is optimized for machines doing bookkeeping: amounts are base units, assets are numeric IDs, and notes are base64. tx402 is the translation layer for agents and applications that need to explain a transaction to a person.
Public routes:
GET / - landing page with service metadata linksGET /health - process livenessGET /health?deep=1&network=mainnet - readiness check for upstream servicesGET /discovery - machine-readable service description and pricing metadataGET /openapi.json - OpenAPI 3.1 specificationGET /.well-known/agent.json - agent marketplace manifestGET /.well-known/x402 - x402 resource manifestGET /llms.txt - agent-readable documentationGET /demo?example=algo|usdc - free allowlisted Mainnet examplesGET /explain?txid=...&network=mainnet - paid transaction explanationGET /group?txid=...&network=mainnet - paid atomic-group explanationPOST /batch - paid batch of 1 to 10 transaction IDsGET /account/activity?address=...&limit=25 - paid activity summaryGET /analytics - free aggregate adoption countersDefault prices are $0.005 for /explain, $0.01 for /group, $0.02 for
/batch, and $0.01 for /account/activity. Production accepts Mainnet USDC:
algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=315667046RK3U3OF2B4Q773L4KC7OVFHQGU5I74NHRZ36QN6CVF527CKXAL62YR754tx402 has a small deterministic core and a thin serving shell.
Core:
Serving shell:
The server never stores private keys. Buyer signing happens client-side. The resource server only advertises a price, validates payment, and settles through the facilitator after a successful product-route response.
Local endpoints:
The app reads .env when present. Leave USDC_ASSET_ID unset unless you need a
non-standard asset; the code derives the canonical USDC asset from NETWORK.
Read-only example client:
The default client prints discovery metadata and the x402 payment challenge
without spending funds. To make it pay, configure a funded buyer wallet and set
TX402_EXAMPLE_PAY=1 plus CONFIRM_MAINNET_PAYMENT=1.
OpenAPI:
https://tx402-production.up.railway.app/openapi.jsonAgent marketplace metadata:
https://tx402-production.up.railway.app/.well-known/agent.jsonhttps://tx402-production.up.railway.app/.well-known/x402https://tx402-production.up.railway.app/llms.txtCopy-paste integrations and distribution assets:
The paid route also declares the standard x402 Bazaar extension, including its input/output schemas, service metadata, and example request. Facilitators can index that metadata after a successful settlement.
MCP wrapper:
After the public npm package is published, agents can install it without cloning this repository:
By default the MCP wrapper is read-only and returns x402 payment requirements
for paid calls. To let it pay from a local wallet, set
TX402_MCP_ENABLE_PAYMENTS=1 and CONFIRM_MAINNET_PAYMENT=1.
The six-part adoption roadmap is tracked in PLAN.md.
txid input is rejected before indexer access and before payment./analytics, /discovery, and deep health checks are rate-limited.verified: true.First Mainnet settlement:
XA7HMRPUV4X2GWI4AAGUT5FKAVTNCQJ5ZMUNTVTBKG3GZMES27LA0.005000 USDCImplementation runbooks, deployment commands, phase evidence, and operational cautions live in CLAUDE.md.