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.
Inherited Members
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 SourceApprovedForAll
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 |
Owner
The account granting the allowance.
Declaration
[JsonPropertyName("owner")]
public EntityId Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
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 |
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 |
Token
The NFT token class this allowance applies to.
Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |