Nado Typescript SDK Documentation
    Preparing search index...

    Function subaccountNameToBytes12

    • When interacting with the contracts (e.g: deposit collateral); subaccount name is represented as bytes12. This util converts a subaccount name to it's bytes12 representation.

      Parameters

      • name: string

        subaccount name

      Returns Bytes

      bytes12 representation of a subaccount name.