Function generateSigningMessageForSerializable

  • Parameters

    • serializable: Serializable

      An object that has a bcs serialized form

    Returns Uint8Array

    The Uint8Array of the signing message

    Deprecated

    Use CryptoHashable instead by having your class implement it and call hash() to get the signing message.

    Generates the 'signing message' form of a serilizable value. It bcs serializes the value and uses the name of its constructor as the domain separator.