Negabinary Decode
negabinary_decodeThe integer written by a base -2 bit string. "0" is 0, "110" is 2, "100" is 4, and "11010" is 6. A character other than 0 or 1, or a leading zero, is rejected. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/negabinary-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": {
"bits": "<bits>"
},
"name": "negabinary_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bits | Yes |