78trust / 100
Eth Address Validate
by api.strale.io in Onchain & crypto
x402 APIPassing, checked 2 h ago
Validate an Ethereum address. Checks 0x-prefixed 40-hex format and EIP-55 mixed-case checksum to catch single-character typos. Returns checksummed (canonical) form. Pure algorithmic — fast and cheap.
POST https://api.strale.io/x402/eth-address-validate
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 129 ms typical, 315 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.strale.io/x402/eth-address-validate" \
-H "content-type: application/json" \
-d '{"address":{"description":"Ethereum address (e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)","required":true,"type":"string"}}'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:8453",
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%2Fapi.strale.io%2Fx402%2Feth-address-validate
const res = await pay("https://api.strale.io/x402/eth-address-validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":{"description":"Ethereum address (e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)","required":true,"type":"string"}}),
});
console.log(await res.json());Example input
{
"address": {
"description": "Ethereum address (e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)",
"required": true,
"type": "string"
}
}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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 337 ms | $0.054 |
| 6 h ago | Passed | 402 | 315 ms | $0.054 |
| 10 h ago | Passed | 402 | 298 ms | $0.054 |
| 13 h ago | Passed | 402 | 125 ms | $0.054 |
| 17 h ago | Passed | 402 | 129 ms | $0.054 |
| 20 h ago | Passed | 402 | 125 ms | $0.054 |
| 23 h ago | Passed | 402 | 129 ms | $0.054 |
| 27 h ago | Passed | 402 | 133 ms | $0.054 |
| 31 h ago | Passed | 402 | 295 ms | $0.054 |
| 35 h ago | Passed | 402 | 127 ms | $0.054 |
| 38 h ago | Passed | 402 | 282 ms | $0.054 |
| 42 h ago | Passed | 402 | 122 ms | $0.054 |
| 45 h ago | Passed | 402 | 129 ms | $0.054 |
| 2 days ago | Passed | 402 | 125 ms | $0.054 |