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
CanonicalId
Canonical identity when published; otherwise the explicit legacy identifier.
[JsonIgnore]
public string CanonicalId { get; }
Property Value
Decimals
Decimal places of this asset's atomic unit: atomic units per display unit is
10^decimals.
public int Decimals { get; init; }
Property Value
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
LegacyId
BTC or issued-asset identifier for legacy wallet APIs; external assets cannot be projected.
[JsonIgnore]
public string LegacyId { get; }
Property Value
Name
Human-readable name (e.g. "Tether USD").
public string? Name { get; init; }
Property Value
Ticker
Display ticker (e.g. "USDT").
public string? Ticker { get; init; }