AlgorandIndexer class
The AlgorandIndexer provides a set of REST API calls for searching blockchain Transactions, Accounts, Assets and Blocks.
Each of these calls also provides several filter parameters to support refining searches.
Constructors
- AlgorandIndexer({required IndexerRepository indexerRepository, required BlocksIndexerApi blocksApi, required AccountsIndexerApi accountsApi, required AssetsIndexerApi assetsApi, required ApplicationsIndexerApi applicationsApi, required BoxesIndexerApi boxesApi})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accounts(
) → AccountQueryBuilder - Allow searching all accounts that have occurred on the blockchain. This call contains many parameters to refine the search for specific values.
-
applications(
) → ApplicationQueryBuilder - Allow searching all applications on the blockchain. This call contains many parameters to refine the search for specific values.
-
assets(
) → AssetQueryBuilder - Allow searching all assets that have occurred on the blockchain. This call contains many parameters to refine the search for specific values.
-
getAccountByAddress(
String address, {bool throwOnEmptyBalance = true, int? round, List< Exclude> ? exclude, bool? includeAll, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<AccountResponse> - Lookup account information by a given account address.
-
getApplicationById(
int applicationId, {bool? includeAll, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future< ApplicationResponse> - Lookup application information by a given id.
-
getApplicationLogsById(
int applicationId, {int? limit, int? maxRound, int? minRound, String? next, String? senderAddress, String? transactionId, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future< ApplicationLogsResponse> - Lookup application information by a given id.
-
getAssetById(
int assetId, {bool? includeAll, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future< AssetResponse> - Lookup asset information by a given asset id.
-
getBlockByRound(
BigInt round, {CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future< Block> - Lookup a block it the given round number.
-
getBox(
int applicationId, String name, {CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future< BoxResponse> - Get box information for a given application.
-
getBoxNames(
int applicationId, {int? perPage, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future< List< BoxDescriptor> > - Get all box names for a given application.
-
getTransactionById(
String transactionId) → Future< TransactionResponse> - Lookup transaction information by a given transaction id.
-
health(
) → Future< IndexerHealth> - Get the health status of the indexer.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transactions(
) → TransactionQueryBuilder - Allow searching all transactions that have occurred on the blockchain. This call contains many parameters to refine the search for specific values.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited