85trust / 100
X402 Test
by sandbox.node4all.com in Markets & finance
x402 APIPassing, checked 1 h ago
Node4All Fortune — deterministic fortune reading derived from the x402 payment authorization nonce. Flagship demo of the Node4All x402 v2 payment flow. Operator: Node4All (https://node4all.com). Currency: USDC on Base.
GET https://sandbox.node4all.com/v1/x402-test
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 234 ms typical, 234 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://sandbox.node4all.com/v1/x402-test"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:84532",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsandbox.node4all.com%2Fv1%2Fx402-test
const res = await pay("https://sandbox.node4all.com/v1/x402-test");
console.log(await res.json());Example input
{}Example output
{
"endpoint": "node4all-fortune",
"energy": "Creative momentum",
"fortune": "Fortune favors the on-chain.",
"lucky_color": "indigo",
"lucky_number": 42,
"network": "eip155:84532",
"network_label": "base-sepolia",
"protocol": "x402-v2",
"service": "Node4All",
"status": "success"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 234 ms | $0.002 |
| 6 h ago | Passed | 402 | 235 ms | $0.002 |