text digest (sha256, keccak256)
mcp_digestSend text and get its sha256 or keccak256 hash as hex. Listed by Moonbeam: nine outside sellers stand behind it, and the best-ranked one answers.
The answer is checked before you pay, so a failed answer is not charged, and it is graded after. One call is 0.0012 USDC, paid with x402 on Base.. 0.0012 USDC a call, paid with x402 on Base: without a payment the call answers the payment terms; send the signed payment in _meta["x402/payment"] (or as payment, the PAYMENT-SIGNATURE value) and call again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "mcp_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | the mcp.digest input, e.g. {"text":"hello world","algorithm":"sha256"} | |
| payment | No | optional: the x402 PAYMENT-SIGNATURE header value (base64) for the terms the first call answered |