Avalanche SDK Client
    Preparing search index...

    Function CB58ToHex

    • Decodes a CB58 string into a hex string (0x...).

      Parameters

      • cb58: string

        The CB58 string to decode.

      Returns `0x${string}`

      The hex string.

      import { CB58ToHex } from "@avalanche-sdk/client/utils";

      const hex = CB58ToHex("AhhdUnShjkljhSDSSHJl...");