base64
Encodes UTF-8 text to base64 (or base64url) or decodes base64 back to text. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Use base64url alphabet | |
| mode | No | encode or decode | encode |
| text | Yes | Input text (max 20,000 characters) | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |