@sentio/sdk
    Preparing search index...

    Interface ProcessorV3Client<CallOptionsExt>

    interface ProcessorV3Client<CallOptionsExt = {}> {
        getConfig(
            request: {},
            options?: CallOptions & CallOptionsExt,
        ): Promise<ProcessConfigResponse>;
        processBindingsStream(
            request: AsyncIterable<
                {
                    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;
                },
            >,
            options?: CallOptions & CallOptionsExt,
        ): AsyncIterable<ProcessStreamResponseV3>;
        start(
            request: {
                templateInstances?: {
                    baseLabels?: { [key: string]: any };
                    contract?: {
                        abi?: string;
                        address?: string;
                        chainId?: string;
                        name?: string;
                    };
                    endBlock?: bigint;
                    startBlock?: bigint;
                    templateId?: number;
                }[];
            },
            options?: CallOptions & CallOptionsExt,
        ): Promise<Empty>;
        updateTemplates(
            request: {
                chainId?: string;
                templateInstances?: {
                    baseLabels?: { [key: string]: any };
                    contract?: {
                        abi?: string;
                        address?: string;
                        chainId?: string;
                        name?: string;
                    };
                    endBlock?: bigint;
                    startBlock?: bigint;
                    templateId?: number;
                }[];
            },
            options?: CallOptions & CallOptionsExt,
        ): Promise<Empty>;
    }

    Type Parameters

    • CallOptionsExt = {}
    Index

    Methods

    • Parameters

      • request: AsyncIterable<
            {
                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;
            },
        >
      • Optionaloptions: CallOptions & CallOptionsExt

      Returns AsyncIterable<ProcessStreamResponseV3>

    • Parameters

      • request: {
            templateInstances?: {
                baseLabels?: { [key: string]: any };
                contract?: {
                    abi?: string;
                    address?: string;
                    chainId?: string;
                    name?: string;
                };
                endBlock?: bigint;
                startBlock?: bigint;
                templateId?: number;
            }[];
        }
      • Optionaloptions: CallOptions & CallOptionsExt

      Returns Promise<Empty>

    • Parameters

      • request: {
            chainId?: string;
            templateInstances?: {
                baseLabels?: { [key: string]: any };
                contract?: {
                    abi?: string;
                    address?: string;
                    chainId?: string;
                    name?: string;
                };
                endBlock?: bigint;
                startBlock?: bigint;
                templateId?: number;
            }[];
        }
      • Optionaloptions: CallOptions & CallOptionsExt

      Returns Promise<Empty>