{"uid":"cap_IiHas4AnwnpsoLzCIXZmD","slug":"base58-encoding-bitcoin-alphabet-9932f9b6","name":"Base58 Encoding (Bitcoin Alphabet)","description":"Base58 encoding (Bitcoin alphabet) — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/encode-base58?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"hex":{"type":"string","pattern":"^0x[0-9a-fA-F]*$"},"text":{"type":"string","maxLength":49152}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"encode-base58","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_ecTqKRlTRoa4-RxiECV-c","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":"Encodes a hex-prefixed binary value or raw text string into Base58 using the Bitcoin alphabet","exampleAgentPrompt":"Base58-encode this hex value for me using the Bitcoin alphabet: 0x00010966776006953d5567439e5e39f86a0d273beed61967f6","exampleUseCases":[{"title":"Bitcoin address derivation from public key hash","prompt":"I have a public key hash as a hex string — 0x00010966776006953d5567439e5e39f86a0d273beed61967f6 — can you Base58-encode it using the Bitcoin alphabet so I can use it as a Bitcoin address?"},{"title":"Encoding arbitrary text to Base58","prompt":"Please Base58-encode the text string 'Hello, Bitcoin world!' using the Bitcoin alphabet so I can embed it in a blockchain transaction payload."},{"title":"Serializing raw hex payload for a crypto tool","prompt":"I need to pass this hex blob 0xdeadbeef01020304 to a legacy Bitcoin tool that expects Base58 input — can you encode it for me?"}],"resultDescription":"Returns a JSON object with ok: true, the Base58-encoded string result, the encoding type identifier ('encode-base58'), and a payment receipt containing the transaction hash, USD amount charged, and a unique receipt ID.","failureModes":["Invalid hex format (not 0x-prefixed) returns an error","Text input exceeding 49152 characters is rejected","Payment failure via x402 protocol prevents execution","Malformed JSON body returns 400-level error","Network timeout or server unavailability returns 5xx"],"whenToPreferThis":"Choose this endpoint when you need deterministic Base58 encoding using specifically the Bitcoin alphabet (123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz) and can accept a pay-per-call micropayment model. Ideal for blockchain agents that need to derive Bitcoin addresses, encode wallet keys, or serialize binary data for Bitcoin-compatible tools without running a local codec library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:55.695Z","isFirstParty":false,"canonicalSlug":"base58-encoding-bitcoin-alphabet-9932f9b6"}