@sentio/sdk
    Preparing search index...

    Variable RichStruct

    RichStruct: {
        create(
            base?: {
                fields?: {
                    [key: string]:
                        | undefined
                        | {
                            bigdecimalValue?: {
                                exp?: number;
                                value?: { data?: ...; negative?: ... };
                            };
                            bigintValue?: { data?: Uint8Array<(...)>; negative?: boolean };
                            boolValue?: boolean;
                            bytesValue?: Uint8Array<ArrayBufferLike>;
                            floatValue?: number;
                            int64Value?: bigint;
                            intValue?: number;
                            listValue?: { values?: (...)[] };
                            nullValue?: RichValue_NullValue;
                            stringValue?: string;
                            structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined;
                            timestampValue?: Date;
                            tokenValue?: {
                                amount?: { exp?: ...; value?: ... };
                                specifiedAt?: Date;
                                token?: { address?: ...; symbol?: ... };
                            };
                        };
                };
            },
        ): RichStruct;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): RichStruct;
        encode(message: RichStruct, writer?: Writer): Writer;
        fromJSON(object: any): RichStruct;
        fromPartial(
            object: {
                fields?: {
                    [key: string]:
                        | undefined
                        | {
                            bigdecimalValue?: {
                                exp?: number;
                                value?: { data?: (...)
                                | (...); negative?: (...) | (...) | (...) };
                            };
                            bigintValue?: {
                                data?: Uint8Array<ArrayBufferLike>;
                                negative?: boolean;
                            };
                            boolValue?: boolean;
                            bytesValue?: Uint8Array<ArrayBufferLike>;
                            floatValue?: number;
                            int64Value?: bigint;
                            intValue?: number;
                            listValue?: {
                                values?: (
                                    { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; bytesValue?: Uint8Array<...> | undefined; ... 7 more ...; tokenValue?: { ...; } | undefined; }
                                )[];
                            };
                            nullValue?: RichValue_NullValue;
                            stringValue?: string;
                            structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; };
                            timestampValue?: Date;
                            tokenValue?: {
                                amount?: { exp?: (...)
                                | (...); value?: (...) | (...) };
                                specifiedAt?: Date;
                                token?: { address?: (...) | (...); symbol?: (...) | (...) };
                            };
                        };
                };
            },
        ): RichStruct;
        toJSON(message: RichStruct): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              fields?: {
                  [key: string]:
                      | undefined
                      | {
                          bigdecimalValue?: {
                              exp?: number;
                              value?: { data?: ...; negative?: ... };
                          };
                          bigintValue?: { data?: Uint8Array<(...)>; negative?: boolean };
                          boolValue?: boolean;
                          bytesValue?: Uint8Array<ArrayBufferLike>;
                          floatValue?: number;
                          int64Value?: bigint;
                          intValue?: number;
                          listValue?: { values?: (...)[] };
                          nullValue?: RichValue_NullValue;
                          stringValue?: string;
                          structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined;
                          timestampValue?: Date;
                          tokenValue?: {
                              amount?: { exp?: ...; value?: ... };
                              specifiedAt?: Date;
                              token?: { address?: ...; symbol?: ... };
                          };
                      };
              };
          }

        Returns RichStruct

    • decode: function
      • Parameters

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

        Returns RichStruct

    • encode: function
      • Parameters

        Returns Writer

    • fromJSON: function
      • Parameters

        • object: any

        Returns RichStruct

    • fromPartial: function
      • Parameters

        • object: {
              fields?: {
                  [key: string]:
                      | undefined
                      | {
                          bigdecimalValue?: {
                              exp?: number;
                              value?: { data?: (...)
                              | (...); negative?: (...) | (...) | (...) };
                          };
                          bigintValue?: { data?: Uint8Array<ArrayBufferLike>; negative?: boolean };
                          boolValue?: boolean;
                          bytesValue?: Uint8Array<ArrayBufferLike>;
                          floatValue?: number;
                          int64Value?: bigint;
                          intValue?: number;
                          listValue?: {
                              values?: (
                                  { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; bytesValue?: Uint8Array<...> | undefined; ... 7 more ...; tokenValue?: { ...; } | undefined; }
                              )[];
                          };
                          nullValue?: RichValue_NullValue;
                          stringValue?: string;
                          structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; };
                          timestampValue?: Date;
                          tokenValue?: {
                              amount?: { exp?: (...)
                              | (...); value?: (...) | (...) };
                              specifiedAt?: Date;
                              token?: { address?: (...) | (...); symbol?: (...) | (...) };
                          };
                      };
              };
          }

        Returns RichStruct

    • toJSON: function
      • Parameters

        Returns unknown