Class SearchApi
Inheritance
object
SearchApi
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: Algorand.dll
Syntax
public class SearchApi : ISearchApi
Constructors
|
Improve this Doc
View Source
SearchApi(HttpClient)
Declaration
public SearchApi(HttpClient httpClient)
Parameters
Type |
Name |
Description |
System.Net.Http.HttpClient |
httpClient |
|
Properties
|
Improve this Doc
View Source
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Type |
Description |
Newtonsoft.Json.JsonSerializerSettings |
|
|
Improve this Doc
View Source
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
Methods
|
Improve this Doc
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
Type |
Name |
Description |
System.Net.Http.HttpResponseMessage |
response |
|
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><string, System.Collections.Generic.IEnumerable<T><string>> |
headers |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Improve this Doc
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
|
Improve this Doc
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
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
ulong? |
applicationId |
|
ulong? |
assetId |
|
Address |
authAddr |
|
ulong? |
currencyGreaterThan |
|
ulong? |
currencyLessThan |
|
string |
exclude |
|
bool? |
includeAll |
|
ulong? |
limit |
|
string |
next |
|
ulong? |
round |
|
Returns
|
Improve this Doc
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
|
Improve this Doc
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
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
ulong? |
applicationId |
|
string |
creator |
|
bool? |
includeAll |
|
ulong? |
limit |
|
string |
next |
|
Returns
|
Improve this Doc
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
|
Improve this Doc
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
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
ulong? |
assetId |
|
string |
creator |
|
bool? |
includeAll |
|
ulong? |
limit |
|
string |
name |
|
string |
next |
|
string |
unit |
|
Returns
|
Improve this Doc
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
|
Improve this Doc
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
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Address |
address |
|
string |
addressRole |
|
string |
afterTime |
|
ulong? |
applicationId |
|
ulong? |
assetId |
|
string |
beforeTime |
|
ulong? |
currencyGreaterThan |
|
ulong? |
currencyLessThan |
|
bool? |
excludeCloseTo |
|
ulong? |
limit |
|
ulong? |
maxRound |
|
ulong? |
minRound |
|
string |
next |
|
string |
notePrefix |
|
bool? |
rekeyTo |
|
ulong? |
round |
|
string |
sigType |
|
string |
txType |
|
string |
txid |
|
Returns
Implements