{"uid":"cap_sMV92rsLNlQytB8nYsA0W","slug":"base58-encode-decode-55ee8128","name":"Base58 Encode/Decode","description":"Base58 encode or decode bytes/hex (Solana-style base58).","url":"https://conclavex402.pythonanywhere.com/u/base58?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base58":"6h8cQN"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Hxqj7eb8L_YhSOm1t-cEy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes bytes or hex strings to Base58 (Solana-style) or decodes Base58 strings back to raw bytes/hex.","exampleAgentPrompt":"Encode this hex string to Solana-style base58: 0x517e0b7a4b2c9d8e1f3a6b5c4d2e7f8a9b0c1d2e.","exampleUseCases":[{"title":"Encode Solana public key to base58","prompt":"I have a raw hex public key 3b6a27bcceb6a42d62a3a8d02a6f0d73653215771de243a63ac048a18b59da29 — can you encode it to base58 so I can use it as a Solana wallet address?"},{"title":"Decode a base58 wallet address","prompt":"Decode this base58 Solana address back to hex bytes so I can inspect the raw key: 6h8cQN3r2X7Yp4Lm9Wv1Ks5Jt8Nq2Dp6Fb."},{"title":"Verify round-trip encoding in a data pipeline","prompt":"I need to verify that my encoding is correct — encode this byte array in base58 and then decode the result back, and tell me if I get the original hex: 4a7b9c2d1e3f5a6b."}],"resultDescription":"A JSON object containing the Base58-encoded string (e.g. {\"base58\": \"6h8cQN\"}) when encoding, or the decoded bytes/hex representation when decoding.","failureModes":["Invalid hex string input causes a 400 error","Malformed Base58 string (invalid characters) causes decoding failure","Missing required 'input' field returns a validation error","Incorrect bodyType or method returns a 422 or 400 error","Payment failure or missing x402 payment header returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need Solana-compatible (Bitcoin-style alphabet) Base58 encoding or decoding, particularly for public keys, wallet addresses, or transaction data in the Solana ecosystem. Prefer this over generic base64 or hex endpoints when the target system expects Base58 specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:45:43.921Z","isFirstParty":false,"canonicalSlug":"base58-encode-decode-55ee8128"}