FunctionaccountHashToBase64Key

  • Converts a formatted account hash to a base64-encoded string (cep-18 key encoding).

    Arguments

    • formatted_account_hash - A hex-formatted string representing the account hash. Example: "account-hash-b485c074cef7ccaccd0302949d2043ab7133abdb14cfa87e8392945c0bd80a5f"

    Returns

    Returns the base64-encoded string. Example: "ALSFwHTO98yszQMClJ0gQ6txM6vbFM+ofoOSlFwL2Apf"

    Parameters

    • formatted_account_hash: string

    Returns string