Class AssetIdentifier
- Namespace
- NArk.ArkadeIntents.SolverRegistry
- Assembly
- NArk.ArkadeIntents.dll
A canonical CAIP-19 asset identity, including its settlement chain.
public sealed record AssetIdentifier : IEquatable<AssetIdentifier>
- Inheritance
-
AssetIdentifier
- Implements
- Inherited Members
Properties
Asset
The asset namespace and reference after the chain.
public string Asset { get; }
Property Value
ChainReference
The network name or EIP-155 chain id.
public string ChainReference { get; }
Property Value
Namespace
The chain namespace: arkade, bolt11, bitcoin, or eip155.
public string Namespace { get; }
Property Value
Value
The canonical identity, preserved byte for byte.
public string Value { get; }
Property Value
Methods
FromLegacy(string, string, string)
Converts an old registry identifier using an explicitly supplied network and rail.
public static AssetIdentifier FromLegacy(string id, string network, string corridor = "arkade")
Parameters
Returns
Parse(string)
Parses a supported canonical identifier without case folding or inferred networks.
public static AssetIdentifier Parse(string value)
Parameters
valuestring
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.