@sentio/sdk
    Preparing search index...

    Variable PreprocessStreamRequest

    PreprocessStreamRequest: {
        create(
            base?: {
                bindings?: {
                    bindings?: {
                        chainId?: string;
                        data?: {
                            aptCall?: (...) | (...);
                            aptEvent?: (...) | (...);
                            aptResource?: (...) | (...);
                            cosmosCall?: (...) | (...);
                            ethBlock?: (...) | (...);
                            ethLog?: (...) | (...);
                            ethTrace?: (...) | (...);
                            ethTransaction?: (...) | (...);
                            fuelBlock?: (...) | (...);
                            fuelLog?: (...) | (...);
                            fuelTransaction?: (...) | (...);
                            solInstruction?: (...) | (...);
                            starknetEvents?: (...) | (...);
                            suiCall?: (...) | (...);
                            suiEvent?: (...) | (...);
                            suiObject?: (...) | (...);
                            suiObjectChange?: (...) | (...);
                        };
                        handlerIds?: number[];
                        handlerType?: HandlerType;
                    }[];
                };
                dbResult?: {
                    data?: { [key: string]: any };
                    entities?: { entities?: { fields?: (...) | (...) }[] };
                    entityList?: {
                        entities?: {
                            data?: (...) | (...);
                            entity?: (...) | (...);
                            genBlockChain?: (...) | (...);
                            genBlockNumber?: (...) | (...);
                            genBlockTime?: (...) | (...);
                        }[];
                    };
                    error?: string;
                    list?: any[];
                    nextCursor?: string;
                    opId?: bigint;
                };
                processId?: number;
            },
        ): PreprocessStreamRequest;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): PreprocessStreamRequest;
        encode(message: PreprocessStreamRequest, writer?: Writer): Writer;
        fromJSON(object: any): PreprocessStreamRequest;
        fromPartial(
            object: {
                bindings?: {
                    bindings?: {
                        chainId?: string;
                        data?: {
                            aptCall?: { rawTransaction?: ... };
                            aptEvent?: { eventIndex?: ...; rawEvent?: ...; rawTransaction?: ... };
                            aptResource?: {
                                rawResources?: ...;
                                timestampMicros?: ...;
                                version?: ...;
                            };
                            cosmosCall?: { timestamp?: ...; transaction?: ... };
                            ethBlock?: { block?: ... };
                            ethLog?: {
                                block?: ...;
                                log?: ...;
                                rawBlock?: ...;
                                rawLog?: ...;
                                rawTransaction?: ...;
                                rawTransactionReceipt?: ...;
                                timestamp?: ...;
                                transaction?: ...;
                                transactionReceipt?: ...;
                            };
                            ethTrace?: {
                                block?: ...;
                                timestamp?: ...;
                                trace?: ...;
                                transaction?: ...;
                                transactionReceipt?: ...;
                            };
                            ethTransaction?: {
                                block?: ...;
                                rawBlock?: ...;
                                rawTrace?: ...;
                                rawTransaction?: ...;
                                rawTransactionReceipt?: ...;
                                timestamp?: ...;
                                trace?: ...;
                                transaction?: ...;
                                transactionReceipt?: ...;
                            };
                            fuelBlock?: { block?: ...; timestamp?: ... };
                            fuelLog?: { receiptIndex?: ...; timestamp?: ...; transaction?: ... };
                            fuelTransaction?: { timestamp?: ...; transaction?: ... };
                            solInstruction?: {
                                accounts?: ...;
                                instructionData?: ...;
                                parsed?: ...;
                                programAccountId?: ...;
                                slot?: ...;
                            };
                            starknetEvents?: { result?: ...; timestamp?: ... };
                            suiCall?: { rawTransaction?: ...; slot?: ...; timestamp?: ... };
                            suiEvent?: {
                                rawEvent?: ...;
                                rawTransaction?: ...;
                                slot?: ...;
                                timestamp?: ...;
                            };
                            suiObject?: {
                                objectDigest?: ...;
                                objectId?: ...;
                                objectVersion?: ...;
                                rawObjects?: ...;
                                rawSelf?: ...;
                                slot?: ...;
                                timestamp?: ...;
                            };
                            suiObjectChange?: {
                                rawChanges?: ...;
                                slot?: ...;
                                timestamp?: ...;
                                txDigest?: ...;
                            };
                        };
                        handlerIds?: number[];
                        handlerType?: HandlerType;
                    }[];
                };
                dbResult?: {
                    data?: { [key: string]: any };
                    entities?: { entities?: { fields?: { [key: ...]: ... } }[] };
                    entityList?: {
                        entities?: {
                            data?: { fields?: ... };
                            entity?: string;
                            genBlockChain?: string;
                            genBlockNumber?: bigint;
                            genBlockTime?: Date;
                        }[];
                    };
                    error?: string;
                    list?: any[];
                    nextCursor?: string;
                    opId?: bigint;
                };
                processId?: number;
            },
        ): PreprocessStreamRequest;
        toJSON(message: PreprocessStreamRequest): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              bindings?: {
                  bindings?: {
                      chainId?: string;
                      data?: {
                          aptCall?: (...) | (...);
                          aptEvent?: (...) | (...);
                          aptResource?: (...) | (...);
                          cosmosCall?: (...) | (...);
                          ethBlock?: (...) | (...);
                          ethLog?: (...) | (...);
                          ethTrace?: (...) | (...);
                          ethTransaction?: (...) | (...);
                          fuelBlock?: (...) | (...);
                          fuelLog?: (...) | (...);
                          fuelTransaction?: (...) | (...);
                          solInstruction?: (...) | (...);
                          starknetEvents?: (...) | (...);
                          suiCall?: (...) | (...);
                          suiEvent?: (...) | (...);
                          suiObject?: (...) | (...);
                          suiObjectChange?: (...) | (...);
                      };
                      handlerIds?: number[];
                      handlerType?: HandlerType;
                  }[];
              };
              dbResult?: {
                  data?: { [key: string]: any };
                  entities?: { entities?: { fields?: (...) | (...) }[] };
                  entityList?: {
                      entities?: {
                          data?: (...) | (...);
                          entity?: (...) | (...);
                          genBlockChain?: (...) | (...);
                          genBlockNumber?: (...) | (...);
                          genBlockTime?: (...) | (...);
                      }[];
                  };
                  error?: string;
                  list?: any[];
                  nextCursor?: string;
                  opId?: bigint;
              };
              processId?: number;
          }

        Returns PreprocessStreamRequest

    • decode: function
      • Parameters

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

        Returns PreprocessStreamRequest

    • encode: function
    • fromJSON: function
    • fromPartial: function
      • Parameters

        • object: {
              bindings?: {
                  bindings?: {
                      chainId?: string;
                      data?: {
                          aptCall?: { rawTransaction?: ... };
                          aptEvent?: { eventIndex?: ...; rawEvent?: ...; rawTransaction?: ... };
                          aptResource?: {
                              rawResources?: ...;
                              timestampMicros?: ...;
                              version?: ...;
                          };
                          cosmosCall?: { timestamp?: ...; transaction?: ... };
                          ethBlock?: { block?: ... };
                          ethLog?: {
                              block?: ...;
                              log?: ...;
                              rawBlock?: ...;
                              rawLog?: ...;
                              rawTransaction?: ...;
                              rawTransactionReceipt?: ...;
                              timestamp?: ...;
                              transaction?: ...;
                              transactionReceipt?: ...;
                          };
                          ethTrace?: {
                              block?: ...;
                              timestamp?: ...;
                              trace?: ...;
                              transaction?: ...;
                              transactionReceipt?: ...;
                          };
                          ethTransaction?: {
                              block?: ...;
                              rawBlock?: ...;
                              rawTrace?: ...;
                              rawTransaction?: ...;
                              rawTransactionReceipt?: ...;
                              timestamp?: ...;
                              trace?: ...;
                              transaction?: ...;
                              transactionReceipt?: ...;
                          };
                          fuelBlock?: { block?: ...; timestamp?: ... };
                          fuelLog?: { receiptIndex?: ...; timestamp?: ...; transaction?: ... };
                          fuelTransaction?: { timestamp?: ...; transaction?: ... };
                          solInstruction?: {
                              accounts?: ...;
                              instructionData?: ...;
                              parsed?: ...;
                              programAccountId?: ...;
                              slot?: ...;
                          };
                          starknetEvents?: { result?: ...; timestamp?: ... };
                          suiCall?: { rawTransaction?: ...; slot?: ...; timestamp?: ... };
                          suiEvent?: {
                              rawEvent?: ...;
                              rawTransaction?: ...;
                              slot?: ...;
                              timestamp?: ...;
                          };
                          suiObject?: {
                              objectDigest?: ...;
                              objectId?: ...;
                              objectVersion?: ...;
                              rawObjects?: ...;
                              rawSelf?: ...;
                              slot?: ...;
                              timestamp?: ...;
                          };
                          suiObjectChange?: {
                              rawChanges?: ...;
                              slot?: ...;
                              timestamp?: ...;
                              txDigest?: ...;
                          };
                      };
                      handlerIds?: number[];
                      handlerType?: HandlerType;
                  }[];
              };
              dbResult?: {
                  data?: { [key: string]: any };
                  entities?: { entities?: { fields?: { [key: ...]: ... } }[] };
                  entityList?: {
                      entities?: {
                          data?: { fields?: ... };
                          entity?: string;
                          genBlockChain?: string;
                          genBlockNumber?: bigint;
                          genBlockTime?: Date;
                      }[];
                  };
                  error?: string;
                  list?: any[];
                  nextCursor?: string;
                  opId?: bigint;
              };
              processId?: number;
          }

        Returns PreprocessStreamRequest

    • toJSON: function