Decodificar Base58
base58-decodeDecodifica Base58 (alfabeto Bitcoin) a hex o texto. Cuándo: hay que convertir bytes o texto a esta codificación, o desde ella, con exactitud y sin adivinar. No para: codificar en Base58 (base58-encode). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Decodes Bitcoin-alphabet Base58 to hex, UTF-8 text or base64. When: bytes or text have to be converted to or from this encoding exactly, without guessing. Not for: encoding bytes in Base58 with the Bitcoin alphabet (base58-encode). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base58 | Yes | Base58 string (string; required; up to 4096 chars). | |
| output_encoding | No | Output (optional; one of: hex, utf8, base64; default "hex"). | hex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | any JSON value |