Show / Hide Table of Contents

Class CryptoAllowanceDataExtensions

Extension methods for querying crypto allowance data from the mirror node.

Inheritance
object
CryptoAllowanceDataExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public static class CryptoAllowanceDataExtensions

Methods

| Edit this page View Source

GetAccountCryptoAllowancesAsync(MirrorRestClient, EntityId, params IMirrorQueryParameter[])

Enumerates HBAR (crypto) allowances granted by a specific account from /api/v1/accounts/{id}/allowances/crypto. Use SpenderFilter to narrow to a specific allowance recipient. Newest-first by default; pass Ascending to reverse.

Declaration
public static IAsyncEnumerable<CryptoAllowanceData> GetAccountCryptoAllowancesAsync(this MirrorRestClient client, EntityId account, params IMirrorQueryParameter[] filters)
Parameters
Type Name Description
MirrorRestClient client

Mirror Rest Client to use for the request.

EntityId account

The account whose crypto-allowance grants are requested.

IMirrorQueryParameter[] filters

Additional query parameters. The endpoint supports SpenderFilter, PageLimit, and OrderBy.

Returns
Type Description
IAsyncEnumerable<CryptoAllowanceData>

An async enumerable of crypto-allowance records granted by the given account.

  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph