Mod Pow
mod_powbase^exp mod m, exact, for a non-negative exponent. The modulus must be at least 1. A negative exponent is rejected. Decimals have no leading zeros and at most 200 digits. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/mod-pow
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>",
"exp": "<exp>",
"mod": "<mod>"
},
"name": "mod_pow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exp | Yes | ||
| mod | Yes | ||
| base | Yes |