Encodes a hex string (0x...) into CB58.
The hex string to encode.
The CB58 encoded string.
import { hexToCB58 } from "@avalanche-sdk/client/utils";const cb58 = hexToCB58("0x1234567890abcdef"); Copy
import { hexToCB58 } from "@avalanche-sdk/client/utils";const cb58 = hexToCB58("0x1234567890abcdef");
Encodes a hex string (0x...) into CB58.