Skip to content

Live Bitcoin fee fixture for x402_pay_request examples? #30

Description

@Bortlesboat

Hi -- I saw universal-crypto-mcp includes x402 payment tools like x402_pay_request and examples for paid APIs.

If it helps the examples, Satoshi API can provide a small live Bitcoin fixture:

  • Free first call: GET https://bitcoinsapi.com/api/v1/fees/recommended
  • Paid x402 call: GET https://bitcoinsapi.com/api/v1/fees/landscape ($0.005 USDC on Base)
  • Discovery: https://bitcoinsapi.com/.well-known/x402
  • Agent context: https://bitcoinsapi.com/api/v1/agent-context

The practical demo is: Should I send Bitcoin now or wait? An agent can answer for free first, then use the paid endpoint to test a real 402 challenge and retry when a wallet is available.

I can contribute a short docs/example PR if that would be useful. Not asking for a listing by itself -- the useful bit would be a runnable example for the x402 payment path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions