algorand-x402-payment

algorand-x402-payment is a skill for Claude Code, Codex from GoPlausible/algorand-mcp. It costs 84 tokens per session (1,726 once invoked), scanned A, original, MIT.

A workflow for paying Algorand-based fees when an HTTP service returns 402 Payment Required. HTTP 402 means the requested service requires payment before it provides the response.

In plain words
What is it for?
Use it when an endpoint sends a 402 response, includes payment details in a PAYMENT-REQUIRED header, or requires an x402 micropayment.
Why use it?
It handles the payment step needed to access a paid API or other protected web resource, then retries the original request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when an endpoint sends a 402 response, includes payment details in a PAYMENT-REQUIRED header, or requires an x402 micropayment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goplausible/algorand-mcp/algorand-x402-payment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GoPlausible/algorand-mcp --skill algorand-x402-payment
Clone the repo
git clone --depth 1 https://github.com/GoPlausible/algorand-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for algorand-x402-payment

README.md
[![agentmods](https://agentmods.dev/badge/skills/goplausible/algorand-mcp/algorand-x402-payment/github.svg)](https://agentmods.dev/skills/goplausible/algorand-mcp/algorand-x402-payment)
Your own site
<a href="https://agentmods.dev/skills/goplausible/algorand-mcp/algorand-x402-payment"><img src="https://agentmods.dev/badge/skills/goplausible/algorand-mcp/algorand-x402-payment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for algorand-x402-payment

Your own site · 80×15
<a href="https://agentmods.dev/skills/goplausible/algorand-mcp/algorand-x402-payment"><img src="https://agentmods.dev/badge/skills/goplausible/algorand-mcp/algorand-x402-payment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.01726
Opus 5 $0.00042 $0.00863
Sonnet 5 $0.00017 $0.00345
Haiku 4.5 $0.00008 $0.00173

Measured 13d ago against content hash 4ca5f6feab60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

algorand-x402-payment scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. `curl -sD -` the URL → status 402. Decode the **`PAYMENT-REQUIRED` response header** (base64 → JSON). The body is usually just `{}` on current servers; only older servers put the JSON in the body.
skills/algorand-x402-payment/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

x402 Runtime Payment

You (Agent) are the x402 client. When you encounter an HTTP 402 response, use MCP tools to build, sign, and submit an Algorand payment, then retry the request.

When to Use

  • HTTP response with status 402 (the challenge arrives in the PAYMENT-REQUIRED response header on current servers; older servers put it in the body)
  • User asks to access a paid/protected API or resource
  • User mentions x402, payment-required, micropayments, or paid endpoint access

MANDATORY: Read reference before constructing payment

You MUST read references/x402-payment-flow.md before constructing any PAYMENT-SIGNATURE. Do NOT rely on your training data for the payload format — it is likely wrong. The reference file contains the exact, tested format.

Quick Flow

  1. curl -sD - the URL → status 402. Decode the PAYMENT-REQUIRED response header (base64 → JSON). The body is usually just {} on current servers; only older servers put the JSON in the body.
  2. From accepts[] choose the algorand: entry (lists are often multi-chain) → extract network, payTo, amount (V2 field; older V1 responses call it maxAmountRequired), asset, extra.feePayer
  3. Map CAIP-2 network → MCP network parameter (prefix match — see table)
  4. wallet_get_info → verify wallet, get address
  5. Check asset opt-in (ASA only) → wallet_optin_asset if needed
  6. make_payment_txn → fee payer (from=feePayer, to=feePayer, amount=0, fee=N×1000 where N=txn count in group [e.g. 2000 for 2 txns], flatFee=true)
  7. make_payment_txn or make_asset_transfer_txn → payment (fee=0, flatFee=true)
  8. assign_group_id → group [feePayer@0, payment@1]
  9. wallet_sign_transaction → sign payment only (index 1)
  10. encode_unsigned_transaction → encode fee payer (index 0)
  11. Construct PAYMENT-SIGNATURE JSON — exact format below
  12. curl -H 'PAYMENT-SIGNATURE: <base64>' → retry, get 200
  13. Decode the PAYMENT-RESPONSE header from the 200 → report the settled txn id to the user

Read the full file on GitHub · 99 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 99 lines · 84 tokens per session scan A 4ca5f6feab60

Subscribe to this mod's changes

algorand-x402-payment is a skill published in the GitHub repository GoPlausible/algorand-mcp (44 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 1,726 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

xrocket-exchange

Use the unofficial xRocket Exchange MCP to inspect spot markets and accounts, trade autonomously inside an operator-configured daily value limit, or prepare explicitly approved transfers and withdrawals. Trigger when a request concerns xRocket markets, account data, deposits, trading, transfers, withdrawals, or its…

nakazanie-ton/myrocket · 87 tokens

openclaw-crypto-payments

Skill "openclaw-crypto-payments" from yedanyagamiai-cmd/openclaw-mcp-servers, covering openclaw crypto payments v2.0, what's new in v2.0, quick start, detection triggers and named protocols.

yedanyagamiai-cmd/openclaw-mcp-servers · 115 tokens

conviction-fm

Compete in daily crypto prediction competitions on conviction.fm. Create AI agents with natural language strategies, enter token pair pools, and climb the leaderboard. Uses MCP to provide tools for pool data, agent creation, position entry, and strategy management.

abcxz/conviction-fm · 53 tokens

x402-payments

Quote and settle OpenMesha x402 paywalled services (USDC on Base). Use when metering tool calls, outcome fees, or agent-to-agent settlement.

ANAMIZED/OpenMesha · 39 tokens

funding-usdc

Ensure every ANAMIZED repo has canonical non-custodial USDC addresses and FUNDING.yml.

ANAMIZED/YodMCP · 26 tokens

surf

Surf (asksurf.ai) is RETIRED on BlockRun and the blockrunsurf tool was REMOVED in 0.49.0 — the gateway has answered every /v1/surf/ path with HTTP 410 endpointretired since 2026-09-06. Use this skill to route a former Surf question (on-chain SQL, wallet labels and net worth, CEX order books, social mindshare, news) to…

BlockRunAI/blockrun-mcp · 110 tokens