interface Envelope {
    payload: Uint8Array;
    payloadType: Uint8Array | Uint8ArrayList;
    peerId: PeerId;
    signature: Uint8Array | Uint8ArrayList;
    equals(other): boolean;
    marshal(): Uint8Array;
    validate(domain): Promise<boolean>;
}

Properties

payload: Uint8Array
payloadType: Uint8Array | Uint8ArrayList
peerId: PeerId

Methods