Show / Hide Table of Contents

Class NftAllowanceData

A single NFT-allowance record — a grant by an owner authorizing a spender to transfer NFTs of a particular token class on the owner's behalf. Returned by the /api/v1/accounts/{id}/allowances/nfts mirror-node endpoint.

Inheritance
object
NftAllowanceData
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 class NftAllowanceData
Remarks

NFT allowances are always expressed per-token-class — ApprovedForAll indicates whether the spender can transfer every serial the owner currently or will later hold, or just the specific serials granted elsewhere.

Properties

| Edit this page View Source

ApprovedForAll

When true, the spender is authorized to transfer every NFT serial of this token class owned by the Owner, including serials acquired later. When false, the grant covers only specific serials (which are tracked elsewhere, not in this record).

Declaration
[JsonPropertyName("approved_for_all")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool ApprovedForAll { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Owner

The account granting the allowance.

Declaration
[JsonPropertyName("owner")]
public EntityId Owner { get; set; }
Property Value
Type Description
EntityId
| Edit this page View Source

Spender

The account authorized to transfer NFTs of this token class on the owner's behalf.

Declaration
[JsonPropertyName("spender")]
public EntityId Spender { get; set; }
Property Value
Type Description
EntityId
| Edit this page View Source

Timestamp

The consensus-timestamp range during which this allowance record is valid.

Declaration
[JsonPropertyName("timestamp")]
public TimestampRangeData? Timestamp { get; set; }
Property Value
Type Description
TimestampRangeData
| Edit this page View Source

Token

The NFT token class this allowance applies to.

Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
Type Description
EntityId
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph