@sentio/sdk
    Preparing search index...

    Variable Topic

    Topic: {
        create(base?: { hashes?: string[] }): Topic;
        decode(input: Uint8Array<ArrayBufferLike> | Reader, length?: number): Topic;
        encode(message: Topic, writer?: Writer): Writer;
        fromJSON(object: any): Topic;
        fromPartial(object: { hashes?: string[] }): Topic;
        toJSON(message: Topic): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: { hashes?: string[] }

        Returns Topic

    • decode: function
      • Parameters

        • input: Uint8Array<ArrayBufferLike> | Reader
        • Optionallength: number

        Returns Topic

    • encode: function
      • Parameters

        • message: Topic
        • Optionalwriter: Writer

        Returns Writer

    • fromJSON: function
      • Parameters

        • object: any

        Returns Topic

    • fromPartial: function
      • Parameters

        • object: { hashes?: string[] }

        Returns Topic

    • toJSON: function
      • Parameters

        Returns unknown