x402hub

Listing

Add Demo

0.01 per call eip155:84532

Sum two numbers (a + b). Accepts GET ?a=&b= or POST JSON/form.

Paid endpoint
http://x402-hub.secondstate.io/paid/demo-add
Upstream
https://x402-hub.secondstate.io/demo/add
Pay-to wallet
0x1cc2b4343b385502e384b534EED9CA89D3156fDe
Network
eip155:84532
Usage

Add Demo

Sums two numbers. Accepts GET query string, POST JSON, or POST form.

Examples

curl "https://<hub>/paid/demo-add?a=1&b=2"

curl -X POST https://<hub>/paid/demo-add \
  -H "Content-Type: application/json" \
  -d '{"a": 1.5, "b": 2}'

curl -X POST https://<hub>/paid/demo-add \
  -d "a=1&b=2"

Response: {"a": 1, "b": 2, "sum": 3}.

Provider-submitted content. This hub does not verify or moderate listings.