@sentio/sdk
    Preparing search index...

    Variable AccountConfig

    AccountConfig: {
        create(
            base?: {
                address?: string;
                chainId?: string;
                endBlock?: bigint;
                intervalConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                    minutes?: number;
                    minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                    slot?: number;
                    slotInterval?: { backfillInterval?: number; recentInterval?: number };
                }[];
                logConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    filters?: {
                        address?: string;
                        addressType?: AddressType;
                        topics?: (...)[];
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveCallConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: (...)
                        | (...) };
                        supportMultisigFunc?: boolean;
                    };
                    filters?: {
                        fromAndToAddress?: { from?: ...; to?: ... };
                        function?: string;
                        includeFailed?: boolean;
                        publicKeyPrefix?: string;
                        typeArguments?: (...)[];
                        withTypeArguments?: boolean;
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveIntervalConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: (...)
                        | (...) };
                        supportMultisigFunc?: boolean;
                    };
                    intervalConfig?: {
                        fetchConfig?: {
                            block?: (...)
                            | (...)
                            | (...);
                            trace?: (...) | (...) | (...);
                            transaction?: (...) | (...) | (...);
                            transactionReceipt?: (...) | (...) | (...);
                            transactionReceiptLogs?: (...) | (...) | (...);
                        };
                        handlerId?: number;
                        handlerName?: string;
                        minutes?: number;
                        minutesInterval?: {
                            backfillInterval?: (...)
                            | (...);
                            recentInterval?: (...) | (...);
                        };
                        slot?: number;
                        slotInterval?: {
                            backfillInterval?: (...)
                            | (...);
                            recentInterval?: (...) | (...);
                        };
                    };
                    ownerType?: MoveOwnerType;
                    resourceFetchConfig?: { owned?: boolean };
                    type?: string;
                }[];
                moveResourceChangeConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    includeDeleted?: boolean;
                    type?: string;
                }[];
                startBlock?: bigint;
            },
        ): AccountConfig;
        decode(
            input: Uint8Array<ArrayBufferLike> | Reader,
            length?: number,
        ): AccountConfig;
        encode(message: AccountConfig, writer?: Writer): Writer;
        fromJSON(object: any): AccountConfig;
        fromPartial(
            object: {
                address?: string;
                chainId?: string;
                endBlock?: bigint;
                intervalConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    handlerId?: number;
                    handlerName?: string;
                    minutes?: number;
                    minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                    slot?: number;
                    slotInterval?: { backfillInterval?: number; recentInterval?: number };
                }[];
                logConfigs?: {
                    fetchConfig?: {
                        block?: boolean;
                        trace?: boolean;
                        transaction?: boolean;
                        transactionReceipt?: boolean;
                        transactionReceiptLogs?: boolean;
                    };
                    filters?: {
                        address?: string;
                        addressType?: AddressType;
                        topics?: { hashes?: ... }[];
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveCallConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: string };
                        supportMultisigFunc?: boolean;
                    };
                    filters?: {
                        fromAndToAddress?: { from?: (...)
                        | (...); to?: (...) | (...) };
                        function?: string;
                        includeFailed?: boolean;
                        publicKeyPrefix?: string;
                        typeArguments?: string[];
                        withTypeArguments?: boolean;
                    }[];
                    handlerId?: number;
                    handlerName?: string;
                }[];
                moveIntervalConfigs?: {
                    fetchConfig?: {
                        allEvents?: boolean;
                        includeFailedTransaction?: boolean;
                        inputs?: boolean;
                        resourceChanges?: boolean;
                        resourceConfig?: { moveTypePrefix?: string };
                        supportMultisigFunc?: boolean;
                    };
                    intervalConfig?: {
                        fetchConfig?: {
                            block?: boolean;
                            trace?: boolean;
                            transaction?: boolean;
                            transactionReceipt?: boolean;
                            transactionReceiptLogs?: boolean;
                        };
                        handlerId?: number;
                        handlerName?: string;
                        minutes?: number;
                        minutesInterval?: {
                            backfillInterval?: number;
                            recentInterval?: number;
                        };
                        slot?: number;
                        slotInterval?: { backfillInterval?: number; recentInterval?: number };
                    };
                    ownerType?: MoveOwnerType;
                    resourceFetchConfig?: { owned?: boolean };
                    type?: string;
                }[];
                moveResourceChangeConfigs?: {
                    handlerId?: number;
                    handlerName?: string;
                    includeDeleted?: boolean;
                    type?: string;
                }[];
                startBlock?: bigint;
            },
        ): AccountConfig;
        toJSON(message: AccountConfig): unknown;
    }

    Type Declaration

    • create: function
      • Parameters

        • Optionalbase: {
              address?: string;
              chainId?: string;
              endBlock?: bigint;
              intervalConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
                  minutes?: number;
                  minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                  slot?: number;
                  slotInterval?: { backfillInterval?: number; recentInterval?: number };
              }[];
              logConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  filters?: {
                      address?: string;
                      addressType?: AddressType;
                      topics?: (...)[];
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveCallConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: (...)
                      | (...) };
                      supportMultisigFunc?: boolean;
                  };
                  filters?: {
                      fromAndToAddress?: { from?: ...; to?: ... };
                      function?: string;
                      includeFailed?: boolean;
                      publicKeyPrefix?: string;
                      typeArguments?: (...)[];
                      withTypeArguments?: boolean;
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveIntervalConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: (...)
                      | (...) };
                      supportMultisigFunc?: boolean;
                  };
                  intervalConfig?: {
                      fetchConfig?: {
                          block?: (...)
                          | (...)
                          | (...);
                          trace?: (...) | (...) | (...);
                          transaction?: (...) | (...) | (...);
                          transactionReceipt?: (...) | (...) | (...);
                          transactionReceiptLogs?: (...) | (...) | (...);
                      };
                      handlerId?: number;
                      handlerName?: string;
                      minutes?: number;
                      minutesInterval?: {
                          backfillInterval?: (...)
                          | (...);
                          recentInterval?: (...) | (...);
                      };
                      slot?: number;
                      slotInterval?: {
                          backfillInterval?: (...)
                          | (...);
                          recentInterval?: (...) | (...);
                      };
                  };
                  ownerType?: MoveOwnerType;
                  resourceFetchConfig?: { owned?: boolean };
                  type?: string;
              }[];
              moveResourceChangeConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  includeDeleted?: boolean;
                  type?: string;
              }[];
              startBlock?: bigint;
          }

        Returns AccountConfig

    • decode: function
      • Parameters

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

        Returns AccountConfig

    • encode: function
      • Parameters

        Returns Writer

    • fromJSON: function
      • Parameters

        • object: any

        Returns AccountConfig

    • fromPartial: function
      • Parameters

        • object: {
              address?: string;
              chainId?: string;
              endBlock?: bigint;
              intervalConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  handlerId?: number;
                  handlerName?: string;
                  minutes?: number;
                  minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                  slot?: number;
                  slotInterval?: { backfillInterval?: number; recentInterval?: number };
              }[];
              logConfigs?: {
                  fetchConfig?: {
                      block?: boolean;
                      trace?: boolean;
                      transaction?: boolean;
                      transactionReceipt?: boolean;
                      transactionReceiptLogs?: boolean;
                  };
                  filters?: {
                      address?: string;
                      addressType?: AddressType;
                      topics?: { hashes?: ... }[];
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveCallConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: string };
                      supportMultisigFunc?: boolean;
                  };
                  filters?: {
                      fromAndToAddress?: { from?: (...)
                      | (...); to?: (...) | (...) };
                      function?: string;
                      includeFailed?: boolean;
                      publicKeyPrefix?: string;
                      typeArguments?: string[];
                      withTypeArguments?: boolean;
                  }[];
                  handlerId?: number;
                  handlerName?: string;
              }[];
              moveIntervalConfigs?: {
                  fetchConfig?: {
                      allEvents?: boolean;
                      includeFailedTransaction?: boolean;
                      inputs?: boolean;
                      resourceChanges?: boolean;
                      resourceConfig?: { moveTypePrefix?: string };
                      supportMultisigFunc?: boolean;
                  };
                  intervalConfig?: {
                      fetchConfig?: {
                          block?: boolean;
                          trace?: boolean;
                          transaction?: boolean;
                          transactionReceipt?: boolean;
                          transactionReceiptLogs?: boolean;
                      };
                      handlerId?: number;
                      handlerName?: string;
                      minutes?: number;
                      minutesInterval?: { backfillInterval?: number; recentInterval?: number };
                      slot?: number;
                      slotInterval?: { backfillInterval?: number; recentInterval?: number };
                  };
                  ownerType?: MoveOwnerType;
                  resourceFetchConfig?: { owned?: boolean };
                  type?: string;
              }[];
              moveResourceChangeConfigs?: {
                  handlerId?: number;
                  handlerName?: string;
                  includeDeleted?: boolean;
                  type?: string;
              }[];
              startBlock?: bigint;
          }

        Returns AccountConfig

    • toJSON: function
      • Parameters

        Returns unknown