• Convert the session identifier as Uint64ToBigEndian and sign using secp256k1

    Parameters

    • privkey: Uint8Array

      the private key exported from wallet or mnemonic used for sign the sessionId

    • sessionId: number | Long

      the sessionId you want to sign

    Returns string

    base64 representation of signature

Generated using TypeDoc