freedom_python_sandbox
Execute deterministic Python math, financial, and statistical expressions in an isolated AST-validated sandbox for safe, verifiable computation.
Instructions
Isolated AST Python Math & Quantitative Sandbox (60 Sats / ~$0.057 USDC | 100/100 SLA Guaranteed). Executes deterministic math, financial, and statistical Python expressions inside a strict AST-validated sandbox. Protected by HTTP 402 (L402 / x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python math/statistical code to execute (e.g., "print(round(sum([10.5, 20.3, 45.1]) * 1.16, 4))"). | |
| authHeader | No | Optional payment proof header: "L402 <macaroon>:<preimage>" or "x402 base:<0xTxHash>" or "x402 solana:<TxSignature>". |