x420_hash_digest
Hash digest: sha256 / sha512 / sha1 / md5 / keccak256 of supplied text or base64 bytes. Pure computation, nothing stored. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.01 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: algorithm, bytes, digests{alg: hex}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x420_hash_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | UTF-8 text to hash (default: none; supply base64 instead) | |
| base64 | No | base64-encoded bytes to hash (default: none; supply text instead) | |
| algorithm | No | sha256 (default), sha512, sha1, md5, keccak256 or all |