Class SearchApi
Assembly: Algorand.dll
Syntax
public class SearchApi : ISearchApi
Constructors
|
Edit this page
View Source
SearchApi(HttpClient)
Declaration
public SearchApi(HttpClient httpClient)
Parameters
Properties
|
Edit this page
View Source
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
| Type |
Description |
| JsonSerializerSettings |
|
|
Edit this page
View Source
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
Methods
|
Edit this page
View Source
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)
Declaration
protected virtual Task<SearchApi.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
searchForAccountsAsync(ulong?, ulong?, Address?, ulong?, ulong?, string?, bool?, ulong?, string?, ulong?)
Declaration
public Task<AccountsResponse> searchForAccountsAsync(ulong? applicationId = null, ulong? assetId = null, Address? authAddr = null, ulong? currencyGreaterThan = null, ulong? currencyLessThan = null, string? exclude = null, bool? includeAll = null, ulong? limit = null, string? next = null, ulong? round = null)
Parameters
| Type |
Name |
Description |
| ulong? |
applicationId |
|
| ulong? |
assetId |
|
| Address |
authAddr |
|
| ulong? |
currencyGreaterThan |
|
| ulong? |
currencyLessThan |
|
| string |
exclude |
Exclude additional items such as asset holdings, application local data stored
for this account, asset parameters created by this account, and application
parameters created by this account.
|
| bool? |
includeAll |
|
| ulong? |
limit |
Maximum number of results to return. There could be additional pages even if the
limit is not reached.
|
| string |
next |
The next page of results. Use the next token provided by the previous results.
|
| ulong? |
round |
Include results for the specified round. For performance reasons, this parameter
may be disabled on some configurations.
|
Returns
Exceptions
|
Edit this page
View Source
searchForAccountsAsync(CancellationToken, ulong?, ulong?, Address?, ulong?, ulong?, string?, bool?, ulong?, string?, ulong?)
Declaration
public Task<AccountsResponse> searchForAccountsAsync(CancellationToken cancellationToken, ulong? applicationId = null, ulong? assetId = null, Address? authAddr = null, ulong? currencyGreaterThan = null, ulong? currencyLessThan = null, string? exclude = null, bool? includeAll = null, ulong? limit = null, string? next = null, ulong? round = null)
Parameters
Returns
|
Edit this page
View Source
searchForApplicationsAsync(ulong?, string?, bool?, ulong?, string?)
Declaration
public Task<ApplicationsResponse> searchForApplicationsAsync(ulong? applicationId = null, string? creator = null, bool? includeAll = null, ulong? limit = null, string? next = null)
Parameters
| Type |
Name |
Description |
| ulong? |
applicationId |
|
| string |
creator |
Filter just applications with the given creator address.
|
| bool? |
includeAll |
|
| ulong? |
limit |
Maximum number of results to return. There could be additional pages even if the
limit is not reached.
|
| string |
next |
The next page of results. Use the next token provided by the previous results.
|
Returns
Exceptions
|
Edit this page
View Source
searchForApplicationsAsync(CancellationToken, ulong?, string?, bool?, ulong?, string?)
Declaration
public Task<ApplicationsResponse> searchForApplicationsAsync(CancellationToken cancellationToken, ulong? applicationId = null, string? creator = null, bool? includeAll = null, ulong? limit = null, string? next = null)
Parameters
Returns
|
Edit this page
View Source
searchForAssetsAsync(ulong?, string?, bool?, ulong?, string?, string?, string?)
Declaration
public Task<AssetsResponse> searchForAssetsAsync(ulong? assetId = null, string? creator = null, bool? includeAll = null, ulong? limit = null, string? name = null, string? next = null, string? unit = null)
Parameters
| Type |
Name |
Description |
| ulong? |
assetId |
|
| string |
creator |
Filter just assets with the given creator address.
|
| bool? |
includeAll |
|
| ulong? |
limit |
Maximum number of results to return. There could be additional pages even if the
limit is not reached.
|
| string |
name |
Filter just assets with the given name.
|
| string |
next |
The next page of results. Use the next token provided by the previous results.
|
| string |
unit |
Filter just assets with the given unit.
|
Returns
Exceptions
|
Edit this page
View Source
searchForAssetsAsync(CancellationToken, ulong?, string?, bool?, ulong?, string?, string?, string?)
Declaration
public Task<AssetsResponse> searchForAssetsAsync(CancellationToken cancellationToken, ulong? assetId = null, string? creator = null, bool? includeAll = null, ulong? limit = null, string? name = null, string? next = null, string? unit = null)
Parameters
Returns
|
Edit this page
View Source
searchForTransactionsAsync(Address?, string?, string?, ulong?, ulong?, string?, ulong?, ulong?, bool?, ulong?, ulong?, ulong?, string?, string?, bool?, ulong?, string?, string?, string?)
Search for transactions. Transactions are returned oldest to newest unless the
address parameter is used, in which case results are returned newest to oldest.
Declaration
public Task<TransactionsResponse> searchForTransactionsAsync(Address? address = null, string? addressRole = null, string? afterTime = null, ulong? applicationId = null, ulong? assetId = null, string? beforeTime = null, ulong? currencyGreaterThan = null, ulong? currencyLessThan = null, bool? excludeCloseTo = null, ulong? limit = null, ulong? maxRound = null, ulong? minRound = null, string? next = null, string? notePrefix = null, bool? rekeyTo = null, ulong? round = null, string? sigType = null, string? txType = null, string? txid = null)
Parameters
| Type |
Name |
Description |
| Address |
address |
Only include transactions with this address in one of the transaction fields.
|
| string |
addressRole |
|
| string |
afterTime |
|
| ulong? |
applicationId |
|
| ulong? |
assetId |
|
| string |
beforeTime |
|
| ulong? |
currencyGreaterThan |
|
| ulong? |
currencyLessThan |
|
| bool? |
excludeCloseTo |
|
| ulong? |
limit |
Maximum number of results to return. There could be additional pages even if the
limit is not reached.
|
| ulong? |
maxRound |
|
| ulong? |
minRound |
|
| string |
next |
The next page of results. Use the next token provided by the previous results.
|
| string |
notePrefix |
|
| bool? |
rekeyTo |
|
| ulong? |
round |
Include results for the specified round.
|
| string |
sigType |
|
| string |
txType |
|
| string |
txid |
Lookup the specific transaction by ID.
|
Returns
Exceptions
|
Edit this page
View Source
searchForTransactionsAsync(CancellationToken, Address?, string?, string?, ulong?, ulong?, string?, ulong?, ulong?, bool?, ulong?, ulong?, ulong?, string?, string?, bool?, ulong?, string?, string?, string?)
Declaration
public Task<TransactionsResponse> searchForTransactionsAsync(CancellationToken cancellationToken, Address? address = null, string? addressRole = null, string? afterTime = null, ulong? applicationId = null, ulong? assetId = null, string? beforeTime = null, ulong? currencyGreaterThan = null, ulong? currencyLessThan = null, bool? excludeCloseTo = null, ulong? limit = null, ulong? maxRound = null, ulong? minRound = null, string? next = null, string? notePrefix = null, bool? rekeyTo = null, ulong? round = null, string? sigType = null, string? txType = null, string? txid = null)
Parameters
Returns
Implements