Class RoyaltyFeeData
A royalty fee charged on NFT transfers — a fraction of the value exchanged for the asset, paid to a collector account.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class RoyaltyFeeData
Properties
| Edit this page View SourceAmount
The fraction of the exchanged value collected as the royalty.
Declaration
[JsonPropertyName("amount")]
public FractionData Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| FractionData |
Collector
The account receiving the royalty fee.
Declaration
[JsonPropertyName("collector_account_id")]
public EntityId Collector { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
CollectorsExempt
When true, fee-collector accounts are themselves
exempt from paying this royalty when they transfer the asset.
Declaration
[JsonPropertyName("all_collectors_are_exempt")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool CollectorsExempt { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FallbackFee
The fixed fee charged in lieu of the royalty when no value was exchanged for the NFT (e.g. a free transfer).
Declaration
[JsonPropertyName("fallback_fee")]
public FallbackFeeData FallbackFee { get; set; }
Property Value
| Type | Description |
|---|---|
| FallbackFeeData |