• When interacting with the engine, we need to send a hex string representation of the bytes32 of a subaccount for serialization reasons. This util converts a subaccount object (owner + name) to such hex representation.

    Parameters

    • subaccount: Subaccount

      subaccount object (owner + name)

    Returns string

    hex string representation of a subaccount