x402-pow-mod
Pow Mod: Calculate modular exponentiation (base^exponent mod modulus) exactly. Provide base, exponent, and modulus as integers (decimal strings are accepted); a result beyond 2^53-1 is returned as a decimal string. 🆓 5 free trial calls per signed wallet
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": {
"base": "<base>"
},
"name": "x402-pow-mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| modulus | No | ||
| exponent | No |