Interface matching the protobuf library. Field types matches the protobuf type over the wire

interface IProtoMessage {
    contentTopic: string;
    ephemeral: undefined | boolean;
    meta: undefined | Uint8Array;
    payload: Uint8Array;
    rateLimitProof: undefined | IRateLimitProof;
    timestamp: undefined | bigint;
    version: undefined | number;
}

Properties

contentTopic: string
ephemeral: undefined | boolean
meta: undefined | Uint8Array
payload: Uint8Array
rateLimitProof: undefined | IRateLimitProof
timestamp: undefined | bigint
version: undefined | number

Generated using TypeDoc