@sentio/sdk
    Preparing search index...

    Variable ProcessStreamRequest

    ProcessStreamRequest: {
        create(
            base?: {
                binding?: {
                    chainId?: string;
                    data?: {
                        aptCall?: { rawTransaction?: string };
                        aptEvent?: {
                            eventIndex?: number;
                            rawEvent?: string;
                            rawTransaction?: string;
                        };
                        aptResource?: {
                            rawResources?: (...)[];
                            timestampMicros?: bigint;
                            version?: bigint;
                        };
                        cosmosCall?: { timestamp?: Date; transaction?: { [key: ...]: ... } };
                        ethBlock?: { block?: { [key: ...]: ... } };
                        ethLog?: {
                            block?: { [key: ...]: ... };
                            log?: { [key: ...]: ... };
                            rawBlock?: string;
                            rawLog?: string;
                            rawTransaction?: string;
                            rawTransactionReceipt?: string;
                            timestamp?: Date;
                            transaction?: { [key: ...]: ... };
                            transactionReceipt?: { [key: ...]: ... };
                        };
                        ethTrace?: {
                            block?: { [key: ...]: ... };
                            timestamp?: Date;
                            trace?: { [key: ...]: ... };
                            transaction?: { [key: ...]: ... };
                            transactionReceipt?: { [key: ...]: ... };
                        };
                        ethTransaction?: {
                            block?: { [key: ...]: ... };
                            rawBlock?: string;
                            rawTrace?: string;
                            rawTransaction?: string;
                            rawTransactionReceipt?: string;
                            timestamp?: Date;
                            trace?: { [key: ...]: ... };
                            transaction?: { [key: ...]: ... };
                            transactionReceipt?: { [key: ...]: ... };
                        };
                        fuelBlock?: { block?: { [key: ...]: ... }; timestamp?: Date };
                        fuelLog?: {
                            receiptIndex?: bigint;
                            timestamp?: Date;
                            transaction?: { [key: ...]: ... };
                        };
                        fuelTransaction?: {
                            timestamp?: Date;
                            transaction?: { [key: ...]: ... };
                        };
                        solInstruction?: {
                            accounts?: (...)[];
                            instructionData?: string;
                            parsed?: { [key: ...]: ... };
                            programAccountId?: string;
                            slot?: bigint;
                        };
                        starknetEvents?: { result?: { [key: ...]: ... }; timestamp?: Date };
                        suiCall?: { rawTransaction?: string; slot?: bigint; timestamp?: Date };
                        suiEvent?: {
                            rawEvent?: string;
                            rawTransaction?: string;
                            slot?: bigint;
                            timestamp?: Date;
                        };
                        suiObject?: {
                            objectDigest?: string;
                            objectId?: string;
                            objectVersion?: bigint;
                            rawObjects?: (...)[];
                            rawSelf?: string;
                            slot?: bigint;
                            timestamp?: Date;
                        };
                        suiObjectChange?: {
                            rawChanges?: (...)[];
                            slot?: bigint;
                            timestamp?: Date;
                            txDigest?: string;
                        };
                    };
                    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;
                start?: boolean;
            },
        ): ProcessStreamRequest;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): ProcessStreamRequest;
        encode(message: ProcessStreamRequest, writer?: Writer): Writer;
        fromJSON(object: any): ProcessStreamRequest;
        fromPartial(
            object: {
                binding?: {
                    chainId?: string;
                    data?: {
                        aptCall?: { rawTransaction?: string };
                        aptEvent?: {
                            eventIndex?: number;
                            rawEvent?: string;
                            rawTransaction?: string;
                        };
                        aptResource?: {
                            rawResources?: string[];
                            timestampMicros?: bigint;
                            version?: bigint;
                        };
                        cosmosCall?: { timestamp?: Date; transaction?: { [key: string]: any } };
                        ethBlock?: { block?: { [key: string]: any } };
                        ethLog?: {
                            block?: { [key: string]: any };
                            log?: { [key: string]: any };
                            rawBlock?: string;
                            rawLog?: string;
                            rawTransaction?: string;
                            rawTransactionReceipt?: string;
                            timestamp?: Date;
                            transaction?: { [key: string]: any };
                            transactionReceipt?: { [key: string]: any };
                        };
                        ethTrace?: {
                            block?: { [key: string]: any };
                            timestamp?: Date;
                            trace?: { [key: string]: any };
                            transaction?: { [key: string]: any };
                            transactionReceipt?: { [key: string]: any };
                        };
                        ethTransaction?: {
                            block?: { [key: string]: any };
                            rawBlock?: string;
                            rawTrace?: string;
                            rawTransaction?: string;
                            rawTransactionReceipt?: string;
                            timestamp?: Date;
                            trace?: { [key: string]: any };
                            transaction?: { [key: string]: any };
                            transactionReceipt?: { [key: string]: any };
                        };
                        fuelBlock?: { block?: { [key: string]: any }; timestamp?: Date };
                        fuelLog?: {
                            receiptIndex?: bigint;
                            timestamp?: Date;
                            transaction?: { [key: string]: any };
                        };
                        fuelTransaction?: {
                            timestamp?: Date;
                            transaction?: { [key: string]: any };
                        };
                        solInstruction?: {
                            accounts?: string[];
                            instructionData?: string;
                            parsed?: { [key: string]: any };
                            programAccountId?: string;
                            slot?: bigint;
                        };
                        starknetEvents?: { result?: { [key: string]: any }; timestamp?: Date };
                        suiCall?: { rawTransaction?: string; slot?: bigint; timestamp?: Date };
                        suiEvent?: {
                            rawEvent?: string;
                            rawTransaction?: string;
                            slot?: bigint;
                            timestamp?: Date;
                        };
                        suiObject?: {
                            objectDigest?: string;
                            objectId?: string;
                            objectVersion?: bigint;
                            rawObjects?: string[];
                            rawSelf?: string;
                            slot?: bigint;
                            timestamp?: Date;
                        };
                        suiObjectChange?: {
                            rawChanges?: string[];
                            slot?: bigint;
                            timestamp?: Date;
                            txDigest?: string;
                        };
                    };
                    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;
                start?: boolean;
            },
        ): ProcessStreamRequest;
        toJSON(message: ProcessStreamRequest): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              binding?: {
                  chainId?: string;
                  data?: {
                      aptCall?: { rawTransaction?: string };
                      aptEvent?: {
                          eventIndex?: number;
                          rawEvent?: string;
                          rawTransaction?: string;
                      };
                      aptResource?: {
                          rawResources?: (...)[];
                          timestampMicros?: bigint;
                          version?: bigint;
                      };
                      cosmosCall?: { timestamp?: Date; transaction?: { [key: ...]: ... } };
                      ethBlock?: { block?: { [key: ...]: ... } };
                      ethLog?: {
                          block?: { [key: ...]: ... };
                          log?: { [key: ...]: ... };
                          rawBlock?: string;
                          rawLog?: string;
                          rawTransaction?: string;
                          rawTransactionReceipt?: string;
                          timestamp?: Date;
                          transaction?: { [key: ...]: ... };
                          transactionReceipt?: { [key: ...]: ... };
                      };
                      ethTrace?: {
                          block?: { [key: ...]: ... };
                          timestamp?: Date;
                          trace?: { [key: ...]: ... };
                          transaction?: { [key: ...]: ... };
                          transactionReceipt?: { [key: ...]: ... };
                      };
                      ethTransaction?: {
                          block?: { [key: ...]: ... };
                          rawBlock?: string;
                          rawTrace?: string;
                          rawTransaction?: string;
                          rawTransactionReceipt?: string;
                          timestamp?: Date;
                          trace?: { [key: ...]: ... };
                          transaction?: { [key: ...]: ... };
                          transactionReceipt?: { [key: ...]: ... };
                      };
                      fuelBlock?: { block?: { [key: ...]: ... }; timestamp?: Date };
                      fuelLog?: {
                          receiptIndex?: bigint;
                          timestamp?: Date;
                          transaction?: { [key: ...]: ... };
                      };
                      fuelTransaction?: { timestamp?: Date; transaction?: { [key: ...]: ... } };
                      solInstruction?: {
                          accounts?: (...)[];
                          instructionData?: string;
                          parsed?: { [key: ...]: ... };
                          programAccountId?: string;
                          slot?: bigint;
                      };
                      starknetEvents?: { result?: { [key: ...]: ... }; timestamp?: Date };
                      suiCall?: { rawTransaction?: string; slot?: bigint; timestamp?: Date };
                      suiEvent?: {
                          rawEvent?: string;
                          rawTransaction?: string;
                          slot?: bigint;
                          timestamp?: Date;
                      };
                      suiObject?: {
                          objectDigest?: string;
                          objectId?: string;
                          objectVersion?: bigint;
                          rawObjects?: (...)[];
                          rawSelf?: string;
                          slot?: bigint;
                          timestamp?: Date;
                      };
                      suiObjectChange?: {
                          rawChanges?: (...)[];
                          slot?: bigint;
                          timestamp?: Date;
                          txDigest?: string;
                      };
                  };
                  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;
              start?: boolean;
          }

        Returns ProcessStreamRequest

    • decode: function
      • Parameters

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

        Returns ProcessStreamRequest

    • encode: function
      • Parameters

        Returns Writer

    • fromJSON: function
    • fromPartial: function
      • Parameters

        • object: {
              binding?: {
                  chainId?: string;
                  data?: {
                      aptCall?: { rawTransaction?: string };
                      aptEvent?: {
                          eventIndex?: number;
                          rawEvent?: string;
                          rawTransaction?: string;
                      };
                      aptResource?: {
                          rawResources?: string[];
                          timestampMicros?: bigint;
                          version?: bigint;
                      };
                      cosmosCall?: { timestamp?: Date; transaction?: { [key: string]: any } };
                      ethBlock?: { block?: { [key: string]: any } };
                      ethLog?: {
                          block?: { [key: string]: any };
                          log?: { [key: string]: any };
                          rawBlock?: string;
                          rawLog?: string;
                          rawTransaction?: string;
                          rawTransactionReceipt?: string;
                          timestamp?: Date;
                          transaction?: { [key: string]: any };
                          transactionReceipt?: { [key: string]: any };
                      };
                      ethTrace?: {
                          block?: { [key: string]: any };
                          timestamp?: Date;
                          trace?: { [key: string]: any };
                          transaction?: { [key: string]: any };
                          transactionReceipt?: { [key: string]: any };
                      };
                      ethTransaction?: {
                          block?: { [key: string]: any };
                          rawBlock?: string;
                          rawTrace?: string;
                          rawTransaction?: string;
                          rawTransactionReceipt?: string;
                          timestamp?: Date;
                          trace?: { [key: string]: any };
                          transaction?: { [key: string]: any };
                          transactionReceipt?: { [key: string]: any };
                      };
                      fuelBlock?: { block?: { [key: string]: any }; timestamp?: Date };
                      fuelLog?: {
                          receiptIndex?: bigint;
                          timestamp?: Date;
                          transaction?: { [key: string]: any };
                      };
                      fuelTransaction?: {
                          timestamp?: Date;
                          transaction?: { [key: string]: any };
                      };
                      solInstruction?: {
                          accounts?: string[];
                          instructionData?: string;
                          parsed?: { [key: string]: any };
                          programAccountId?: string;
                          slot?: bigint;
                      };
                      starknetEvents?: { result?: { [key: string]: any }; timestamp?: Date };
                      suiCall?: { rawTransaction?: string; slot?: bigint; timestamp?: Date };
                      suiEvent?: {
                          rawEvent?: string;
                          rawTransaction?: string;
                          slot?: bigint;
                          timestamp?: Date;
                      };
                      suiObject?: {
                          objectDigest?: string;
                          objectId?: string;
                          objectVersion?: bigint;
                          rawObjects?: string[];
                          rawSelf?: string;
                          slot?: bigint;
                          timestamp?: Date;
                      };
                      suiObjectChange?: {
                          rawChanges?: string[];
                          slot?: bigint;
                          timestamp?: Date;
                          txDigest?: string;
                      };
                  };
                  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;
              start?: boolean;
          }

        Returns ProcessStreamRequest

    • toJSON: function