Skip to content

MetadataAttribute

Namespace Nfty.Core.Output in assembly Nfty.Core.

public record MetadataAttribute

One OpenSea trait. The property name is Trait_type because the published JSON key is trait_type, which the shared serializer options map to.

Constructors

MetadataAttribute(string, string)

public MetadataAttribute(string Trait_type, string Value);

Parameters

  • Trait_type (string) - The trait category.
  • Value (string) - Its value for this asset.

Properties

Trait_type

public string Trait_type { get; init; }

The trait category.

Value

public string Value { get; init; }

Its value for this asset.