@sentio/sdk
    Preparing search index...

    Variable PreprocessStreamRequest_DataBindings

    PreprocessStreamRequest_DataBindings: {
        create(
            base?: {
                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;
                }[];
            },
        ): PreprocessStreamRequest_DataBindings;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): PreprocessStreamRequest_DataBindings;
        encode(
            message: PreprocessStreamRequest_DataBindings,
            writer?: Writer,
        ): Writer;
        fromJSON(object: any): PreprocessStreamRequest_DataBindings;
        fromPartial(
            object: {
                bindings?: {
                    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;
                }[];
            },
        ): PreprocessStreamRequest_DataBindings;
        toJSON(message: PreprocessStreamRequest_DataBindings): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              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;
              }[];
          }

        Returns PreprocessStreamRequest_DataBindings

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

        • object: {
              bindings?: {
                  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;
              }[];
          }

        Returns PreprocessStreamRequest_DataBindings

    • toJSON: function