{"uid":"cap_SFvieuJFnHnV02P2r2Stm","slug":"fastx402-lab-hex-base58-converter-7e171660","name":"FastX402 Lab – Hex ↔ Base58 Converter","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/base58-convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"hex":{"type":"string","description":"Hex bytes, e.g. 0x00ff10"},"base58":{"type":"string","description":"Base58 text, e.g. a Solana address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"hex":{"type":"string"},"bytes":{"type":"integer"},"base58":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"hex":"0xc6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d61","bytes":32,"base58":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5OuIyWJ2W7hbzGlcvg_vp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts between hexadecimal byte strings and Base58-encoded strings (Bitcoin/Solana alphabet), returning both representations and the byte length.","exampleAgentPrompt":"Can you convert the Solana address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v to its raw hex bytes and tell me how many bytes it is?","exampleUseCases":[{"title":"Decode Solana address to raw bytes","prompt":"I have the Solana token mint address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v — can you decode it to its underlying hex representation and show me the byte count?"},{"title":"Encode hex signature as Base58","prompt":"I have this raw hex transaction signature 0xc6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d61 from a Solana transaction — can you encode it as Base58 so I can display it in the standard format?"},{"title":"Verify Bitcoin address byte encoding","prompt":"Can you take the Base58 string 1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf and convert it to hex so I can inspect the raw bytes of this Bitcoin genesis address?"}],"resultDescription":"A JSON object containing the hex representation (prefixed with 0x), the Base58 string, and the byte length as an integer. Both the input form and output form are always returned together, making it easy to validate the round-trip conversion.","failureModes":["Invalid hex string (malformed characters or odd length) returns an error","Invalid Base58 characters (e.g. 0, O, I, l not in Bitcoin/Solana alphabet) returns an error","Empty input or missing both query parameters returns a 400-style error","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Use this endpoint when you need a simple, stateless hex↔Base58 conversion for Solana or Bitcoin addresses, public keys, or transaction signatures without setting up a local library. Ideal for AI agents that encounter Base58-encoded blockchain data and need the raw bytes, or vice versa, in a single API call at minimal cost ($0.001 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-29T06:38:33.010Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-hex-base58-converter-7e171660"}