Skip to content

Base58.toString

Decodes a Base58-encoded string to a string.

Imports

Named
import { Base58 } from 'ox'

Examples

import { Base58 } from 'ox'
 
const value = Base58.toString('2NEpo7TZRRrLZSi2U')
'Hello World!'

Definition

function toString(
  value: string,
): string

Source: src/Base58.ts

Parameters

value

  • Type: string

The Base58 encoded string.

Return Type

The decoded string.

string