Taquito TypeDocs
    Preparing search index...

    Function b58Encode

    • Add the prefix to a hex string or Uint8Array and Base58 encode it

      Parameters

      • value: string | Uint8Array<ArrayBufferLike>

        Value to Base58 encode

      • pre: PrefixV2

        prefix ID to append to the encoded string

      Returns string

      b58Encode('e96b9f8b19af9c7ffa0c0480e1977b295850961f', PrefixV2.Ed25519PublicKeyHash) // returns 'tz1gvF4cD2dDtqitL3ZTraggSR1Mju2BKFEM'