EVM
Base58 / Base58Check encode-decode API
Encode or decode Base58 (Solana-style) or Base58Check (Bitcoin-style 4-byte double-SHA256 checksum) between hex and base58, implemented as pure big-integer base conversion with node:crypto. Answers 'What is the Base58Check of these bytes?','Is this base58 checksum valid?'.
Price$0.01per request
MethodPOST
Route/v1/evm/base58
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
evmbase58base58checkbitcoinsolanaencodedecode
API URL
Integration docshttps://x402.hexl.dev/v1/evm/base58Example request
{
"data": "0x0011223344",
"direction": "encode",
"check": true
}Example response
{
"direction": "encode",
"check": true,
"hex": "0x0011223344",
"base58": "13sDc6zobSZg",
"checksumValid": true
}Input schema
{
"type": "object",
"required": [
"data",
"direction"
],
"properties": {
"data": {
"type": "string",
"description": "Hex (for encode) or base58 string (for decode).",
"examples": [
"0x0011223344",
"13sDc6zobSZg"
]
},
"direction": {
"type": "string",
"enum": [
"encode",
"decode"
]
},
"check": {
"type": "boolean",
"default": false,
"description": "Use Base58Check (4-byte sha256d checksum)."
}
},
"examples": [
{
"data": "0x0011223344",
"direction": "encode",
"check": true
}
]
}Output schema
{
"type": "object",
"additionalProperties": true
}