Cantor Bit
cantor_bitThe Cantor bit of n. It is 1 when every base-3 digit of n is 0 or 1, and 0 when a digit is 2. Bit 0 is 1, bit 2 is 0, and bit 4 is 1. n runs from 0 to 999999999999999. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/cantor-bit
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": {
"n": "<n>"
},
"name": "cantor_bit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |