Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/encoding/base58.ts>decode

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function decode
import { decode } from "https://deno.land/std@0.197.0/encoding/base58.ts";

Decodes a given b58 string according to draft-mspotny-base58-03 RFC base58 representation: https://tools.ietf.org/id/draft-msporny-base58-01.html#rfc.section.1

Parameters

b58: string

Returns

Uint8Array

Decoded value