@sentio/sdk
    Preparing search index...

    Variable ProcessResult

    ProcessResult: {
        create(
            base?: {
                counters?: {
                    add?: boolean;
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: (...) | (...) };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    metricValue?: {
                        bigDecimal?: string;
                        bigInteger?: { data?: (...)
                        | (...); negative?: (...) | (...) | (...) };
                        doubleValue?: number;
                    };
                    runtimeInfo?: { from?: HandlerType };
                }[];
                events?: {
                    attributes?: { [key: string]: any };
                    attributes2?: { fields?: { [key: string]: (...) | (...) } };
                    distinctEntityId?: string;
                    message?: string;
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: (...) | (...) };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    noMetric?: boolean;
                    runtimeInfo?: { from?: HandlerType };
                    severity?: LogLevel;
                }[];
                exports?: {
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: (...)
                        | (...) };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    payload?: string;
                    runtimeInfo?: { from?: HandlerType };
                }[];
                gauges?: {
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: (...)
                        | (...) };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    metricValue?: {
                        bigDecimal?: string;
                        bigInteger?: { data?: (...)
                        | (...); negative?: (...) | (...) | (...) };
                        doubleValue?: number;
                    };
                    runtimeInfo?: { from?: HandlerType };
                }[];
                states?: { configUpdated?: boolean; error?: string };
                timeseriesResult?: {
                    data?: { fields?: { [key: string]: (...) | (...) } };
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: (...) | (...) };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    runtimeInfo?: { from?: HandlerType };
                    type?: TimeseriesResult_TimeseriesType;
                }[];
            },
        ): ProcessResult;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): ProcessResult;
        encode(message: ProcessResult, writer?: Writer): Writer;
        fromJSON(object: any): ProcessResult;
        fromPartial(
            object: {
                counters?: {
                    add?: boolean;
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: undefined | string };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    metricValue?: {
                        bigDecimal?: string;
                        bigInteger?: { data?: Uint8Array<(...)>; negative?: boolean };
                        doubleValue?: number;
                    };
                    runtimeInfo?: { from?: HandlerType };
                }[];
                events?: {
                    attributes?: { [key: string]: any };
                    attributes2?: {
                        fields?: {
                            [key: string]:
                                | undefined
                                | {
                                    bigdecimalValue?: ...;
                                    bigintValue?: ...;
                                    boolValue?: ...;
                                    bytesValue?: ...;
                                    floatValue?: ...;
                                    int64Value?: ...;
                                    intValue?: ...;
                                    listValue?: ...;
                                    nullValue?: ...;
                                    stringValue?: ...;
                                    structValue?: ...;
                                    timestampValue?: ...;
                                    tokenValue?: ...;
                                };
                        };
                    };
                    distinctEntityId?: string;
                    message?: string;
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: undefined
                        | string };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    noMetric?: boolean;
                    runtimeInfo?: { from?: HandlerType };
                    severity?: LogLevel;
                }[];
                exports?: {
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: undefined
                        | string };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    payload?: string;
                    runtimeInfo?: { from?: HandlerType };
                }[];
                gauges?: {
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: undefined
                        | string };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    metricValue?: {
                        bigDecimal?: string;
                        bigInteger?: { data?: Uint8Array<(...)>; negative?: boolean };
                        doubleValue?: number;
                    };
                    runtimeInfo?: { from?: HandlerType };
                }[];
                states?: { configUpdated?: boolean; error?: string };
                timeseriesResult?: {
                    data?: {
                        fields?: {
                            [key: string]:
                                | undefined
                                | {
                                    bigdecimalValue?: ...;
                                    bigintValue?: ...;
                                    boolValue?: ...;
                                    bytesValue?: ...;
                                    floatValue?: ...;
                                    int64Value?: ...;
                                    intValue?: ...;
                                    listValue?: ...;
                                    nullValue?: ...;
                                    stringValue?: ...;
                                    structValue?: ...;
                                    timestampValue?: ...;
                                    tokenValue?: ...;
                                };
                        };
                    };
                    metadata?: {
                        address?: string;
                        blockNumber?: bigint;
                        chainId?: string;
                        contractName?: string;
                        labels?: { [key: string]: undefined
                        | string };
                        logIndex?: number;
                        name?: string;
                        transactionHash?: string;
                        transactionIndex?: number;
                    };
                    runtimeInfo?: { from?: HandlerType };
                    type?: TimeseriesResult_TimeseriesType;
                }[];
            },
        ): ProcessResult;
        toJSON(message: ProcessResult): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              counters?: {
                  add?: boolean;
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: (...) | (...) };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  metricValue?: {
                      bigDecimal?: string;
                      bigInteger?: { data?: (...)
                      | (...); negative?: (...) | (...) | (...) };
                      doubleValue?: number;
                  };
                  runtimeInfo?: { from?: HandlerType };
              }[];
              events?: {
                  attributes?: { [key: string]: any };
                  attributes2?: { fields?: { [key: string]: (...) | (...) } };
                  distinctEntityId?: string;
                  message?: string;
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: (...) | (...) };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  noMetric?: boolean;
                  runtimeInfo?: { from?: HandlerType };
                  severity?: LogLevel;
              }[];
              exports?: {
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: (...)
                      | (...) };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  payload?: string;
                  runtimeInfo?: { from?: HandlerType };
              }[];
              gauges?: {
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: (...)
                      | (...) };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  metricValue?: {
                      bigDecimal?: string;
                      bigInteger?: { data?: (...)
                      | (...); negative?: (...) | (...) | (...) };
                      doubleValue?: number;
                  };
                  runtimeInfo?: { from?: HandlerType };
              }[];
              states?: { configUpdated?: boolean; error?: string };
              timeseriesResult?: {
                  data?: { fields?: { [key: string]: (...) | (...) } };
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: (...) | (...) };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  runtimeInfo?: { from?: HandlerType };
                  type?: TimeseriesResult_TimeseriesType;
              }[];
          }

        Returns ProcessResult

    • decode: function
      • Parameters

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

        Returns ProcessResult

    • encode: function
      • Parameters

        Returns Writer

    • fromJSON: function
      • Parameters

        • object: any

        Returns ProcessResult

    • fromPartial: function
      • Parameters

        • object: {
              counters?: {
                  add?: boolean;
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: undefined | string };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  metricValue?: {
                      bigDecimal?: string;
                      bigInteger?: { data?: Uint8Array<(...)>; negative?: boolean };
                      doubleValue?: number;
                  };
                  runtimeInfo?: { from?: HandlerType };
              }[];
              events?: {
                  attributes?: { [key: string]: any };
                  attributes2?: {
                      fields?: {
                          [key: string]:
                              | undefined
                              | {
                                  bigdecimalValue?: ...;
                                  bigintValue?: ...;
                                  boolValue?: ...;
                                  bytesValue?: ...;
                                  floatValue?: ...;
                                  int64Value?: ...;
                                  intValue?: ...;
                                  listValue?: ...;
                                  nullValue?: ...;
                                  stringValue?: ...;
                                  structValue?: ...;
                                  timestampValue?: ...;
                                  tokenValue?: ...;
                              };
                      };
                  };
                  distinctEntityId?: string;
                  message?: string;
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: undefined
                      | string };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  noMetric?: boolean;
                  runtimeInfo?: { from?: HandlerType };
                  severity?: LogLevel;
              }[];
              exports?: {
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: undefined
                      | string };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  payload?: string;
                  runtimeInfo?: { from?: HandlerType };
              }[];
              gauges?: {
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: undefined
                      | string };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  metricValue?: {
                      bigDecimal?: string;
                      bigInteger?: { data?: Uint8Array<(...)>; negative?: boolean };
                      doubleValue?: number;
                  };
                  runtimeInfo?: { from?: HandlerType };
              }[];
              states?: { configUpdated?: boolean; error?: string };
              timeseriesResult?: {
                  data?: {
                      fields?: {
                          [key: string]:
                              | undefined
                              | {
                                  bigdecimalValue?: ...;
                                  bigintValue?: ...;
                                  boolValue?: ...;
                                  bytesValue?: ...;
                                  floatValue?: ...;
                                  int64Value?: ...;
                                  intValue?: ...;
                                  listValue?: ...;
                                  nullValue?: ...;
                                  stringValue?: ...;
                                  structValue?: ...;
                                  timestampValue?: ...;
                                  tokenValue?: ...;
                              };
                      };
                  };
                  metadata?: {
                      address?: string;
                      blockNumber?: bigint;
                      chainId?: string;
                      contractName?: string;
                      labels?: { [key: string]: undefined
                      | string };
                      logIndex?: number;
                      name?: string;
                      transactionHash?: string;
                      transactionIndex?: number;
                  };
                  runtimeInfo?: { from?: HandlerType };
                  type?: TimeseriesResult_TimeseriesType;
              }[];
          }

        Returns ProcessResult

    • toJSON: function
      • Parameters

        Returns unknown