Table of Contents

Class ArkIntent

Namespace
NArk.Abstractions.Intents
Assembly
NArk.Abstractions.dll

A submitted Arkade intent: a signed commitment to spend specific VTXOs to given outputs, tracked through the batch lifecycle until it succeeds, fails, or is cancelled.

public record ArkIntent : IEquatable<ArkIntent>
Inheritance
ArkIntent
Implements
Inherited Members

Constructors

ArkIntent(string, string?, string, ArkIntentState, DateTimeOffset?, DateTimeOffset?, DateTimeOffset, DateTimeOffset, string, string, string, string, string?, string?, string?, OutPoint[], string)

A submitted Arkade intent: a signed commitment to spend specific VTXOs to given outputs, tracked through the batch lifecycle until it succeeds, fails, or is cancelled.

public ArkIntent(string IntentTxId, string? IntentId, string WalletId, ArkIntentState State, DateTimeOffset? ValidFrom, DateTimeOffset? ValidUntil, DateTimeOffset CreatedAt, DateTimeOffset UpdatedAt, string RegisterProof, string RegisterProofMessage, string DeleteProof, string DeleteProofMessage, string? BatchId, string? CommitmentTransactionId, string? CancellationReason, OutPoint[] IntentVtxos, string SignerDescriptor)

Parameters

IntentTxId string
IntentId string
WalletId string
State ArkIntentState
ValidFrom DateTimeOffset?
ValidUntil DateTimeOffset?
CreatedAt DateTimeOffset
UpdatedAt DateTimeOffset
RegisterProof string
RegisterProofMessage string
DeleteProof string
DeleteProofMessage string
BatchId string
CommitmentTransactionId string
CancellationReason string
IntentVtxos OutPoint[]
SignerDescriptor string

Properties

BatchId

public string? BatchId { get; init; }

Property Value

string

CancellationReason

public string? CancellationReason { get; init; }

Property Value

string

CommitmentTransactionId

public string? CommitmentTransactionId { get; init; }

Property Value

string

CreatedAt

public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

DeleteProof

public string DeleteProof { get; init; }

Property Value

string

DeleteProofMessage

public string DeleteProofMessage { get; init; }

Property Value

string

IntentId

public string? IntentId { get; init; }

Property Value

string

IntentTxId

public string IntentTxId { get; init; }

Property Value

string

IntentTxIdComparer

Compares intents by IntentTxId for use in collections and dictionaries.

public static IEqualityComparer<ArkIntent> IntentTxIdComparer { get; }

Property Value

IEqualityComparer<ArkIntent>

IntentVtxos

public OutPoint[] IntentVtxos { get; init; }

Property Value

OutPoint[]

RegisterProof

public string RegisterProof { get; init; }

Property Value

string

RegisterProofMessage

public string RegisterProofMessage { get; init; }

Property Value

string

SignerDescriptor

public string SignerDescriptor { get; init; }

Property Value

string

State

public ArkIntentState State { get; init; }

Property Value

ArkIntentState

UpdatedAt

public DateTimeOffset UpdatedAt { get; init; }

Property Value

DateTimeOffset

ValidFrom

public DateTimeOffset? ValidFrom { get; init; }

Property Value

DateTimeOffset?

ValidUntil

public DateTimeOffset? ValidUntil { get; init; }

Property Value

DateTimeOffset?

WalletId

public string WalletId { get; init; }

Property Value

string