Show / Hide Table of Contents

Class TokenAirdropData

A single token-airdrop record returned by the outstanding and pending airdrop endpoints (/api/v1/accounts/{id}/airdrops/outstanding and /api/v1/accounts/{id}/airdrops/pending).

Inheritance
object
TokenAirdropData
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 TokenAirdropData
Remarks

The schema is symmetric between the two endpoints — the caller's perspective is what changes. From the outstanding endpoint the caller is the Sender; from the pending endpoint the caller is the Receiver.

Properties

| Edit this page View Source

Amount

The amount of the token-airdrop in the token's smallest denomination. For NFT airdrops this reflects the count of serials associated with this record.

Declaration
[JsonPropertyName("amount")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Amount { get; set; }
Property Value
Type Description
long
| Edit this page View Source

Receiver

The intended recipient of the airdrop.

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

Sender

The account that sent the airdrop.

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

SerialNumber

The NFT serial number carried by this airdrop record, or null for fungible-token airdrops.

Declaration
[JsonPropertyName("serial_number")]
[JsonConverter(typeof(NullableLongMirrorConverter))]
public long? SerialNumber { get; set; }
Property Value
Type Description
long?
| Edit this page View Source

Timestamp

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

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

Token

The token class involved in the airdrop.

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