Gray Decode
gray_decodeDecode a binary reflected Gray code back to its index. The walk xors the code with each of its right shifts. A negative code is rejected. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/gray-decode
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": {
"g": "<g>"
},
"name": "gray_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| g | Yes |