base58_codec
Encodes hex or UTF-8 text to Base58, or decodes Base58 to hex and UTF-8. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | encode or decode | decode |
| input | No | hex or text for encode | hex |
| value | Yes | Input | |
| 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. |