Class CryptoAllowanceDataExtensions
Extension methods for querying crypto allowance data from the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class CryptoAllowanceDataExtensions
Methods
| Edit this page View SourceGetAccountCryptoAllowancesAsync(MirrorRestClient, EntityId, params IMirrorQueryFilter[])
Retrieves the crypto allowances associated with this account.
Declaration
public static IAsyncEnumerable<CryptoAllowanceData> GetAccountCryptoAllowancesAsync(this MirrorRestClient client, EntityId account, params IMirrorQueryFilter[] filters)
Parameters
| Type | Name | Description |
|---|---|---|
| MirrorRestClient | client | Mirror Rest Client to use for the request. |
| EntityId | account | The account ID |
| IMirrorQueryFilter[] | filters | Additional query filters if desired. |
Returns
| Type | Description |
|---|---|
| IAsyncEnumerable<CryptoAllowanceData> | A list of crypto allowances associated with this account. |