Codificar Base58Check
base58check-encodeCodifica un payload hex en Base58Check: añade 4 bytes de doble SHA-256 y codifica el resultado en Base58. Cuándo: hay que convertir bytes o texto a esta codificación, o desde ella, con exactitud y sin adivinar. No para: decodificar Base58Check y verificar su checksum (base58check-decode). 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: Encodes a hex payload (including any version byte) as Base58Check: appends the first 4 bytes of double SHA-256 and encodes the result in Base58. When: bytes or text have to be converted to or from this encoding exactly, without guessing. Not for: decoding Base58Check and verifying its checksum (base58check-decode). 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payload_hex": "<payload_hex>"
},
"name": "base58check-encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload_hex | Yes | Payload in hex, including version byte (string; required; up to 4096 chars; pattern ^([0-9a-fA-F]{2})*$). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base58check | No |