Table of Contents

Class AssetDescriptor

Namespace
NArk.ArkadeIntents.SolverRegistry
Assembly
NArk.ArkadeIntents.dll

A v0/v1 market asset descriptor. Canonical identity includes the chain; names and tickers are display-only.

public sealed class AssetDescriptor
Inheritance
AssetDescriptor
Inherited Members

Properties

Caip19Id

Canonical identity retained beside the legacy id in compatibility indexes.

public string? Caip19Id { get; init; }

Property Value

string

CanonicalId

Canonical identity when published; otherwise the explicit legacy identifier.

[JsonIgnore]
public string CanonicalId { get; }

Property Value

string

Decimals

Decimal places of this asset's atomic unit: atomic units per display unit is 10^decimals.

public int Decimals { get; init; }

Property Value

int

Remarks

Display only — pricing stays in atomic units and never reads this. Named after the asset registry metadata field it mirrors, which is also the JSON key the card carries.

Id

Canonical CAIP-19 id in source cards, or the legacy id in compatibility indexes.

public required string Id { get; init; }

Property Value

string

LegacyId

BTC or issued-asset identifier for legacy wallet APIs; external assets cannot be projected.

[JsonIgnore]
public string LegacyId { get; }

Property Value

string

Name

Human-readable name (e.g. "Tether USD").

public string? Name { get; init; }

Property Value

string

Ticker

Display ticker (e.g. "USDT").

public string? Ticker { get; init; }

Property Value

string