Base58.toHex
Decodes a Base58-encoded string to Hex.Hex
.
Imports
Named
import { Base58 } from 'ox'
Examples
import { Base58 } from 'ox'
const value = Base58.toHex('2NEpo7TZRRrLZSi2U')
'0x48656c6c6f20576f726c6421'
Definition
function toHex(
value: string,
): Hex.Hex
Source: src/core/Base58.ts
Parameters
value
- Type:
string
The Base58 encoded string.
Return Type
The decoded hex string.
Hex.Hex