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).
Inherited Members
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 SourceAmount
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 |
Receiver
The intended recipient of the airdrop.
Declaration
[JsonPropertyName("receiver_id")]
public EntityId Receiver { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Sender
The account that sent the airdrop.
Declaration
[JsonPropertyName("sender_id")]
public EntityId Sender { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
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? |
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 |
Token
The token class involved in the airdrop.
Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |