A call that can be explicitly signed. Supports off-line signing flow.

interface Signable {
    getBytes(): Uint8Array;
    getDigest(): Uint8Array;
}

Hierarchy (view full)

Methods

  • Get the serialized bytes of the signable object. Serialized bytes can be used to recreate the object using methods on Gateway.

    Returns Uint8Array

  • Get the digest of the signable object. This is used to generate a digital signature.

    Returns Uint8Array