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
IntentTxIdstringIntentIdstringWalletIdstringStateArkIntentStateValidFromDateTimeOffset?ValidUntilDateTimeOffset?CreatedAtDateTimeOffsetUpdatedAtDateTimeOffsetRegisterProofstringRegisterProofMessagestringDeleteProofstringDeleteProofMessagestringBatchIdstringCommitmentTransactionIdstringCancellationReasonstringIntentVtxosOutPoint[]SignerDescriptorstring
Properties
BatchId
public string? BatchId { get; init; }
Property Value
CancellationReason
public string? CancellationReason { get; init; }
Property Value
CommitmentTransactionId
public string? CommitmentTransactionId { get; init; }
Property Value
CreatedAt
public DateTimeOffset CreatedAt { get; init; }
Property Value
DeleteProof
public string DeleteProof { get; init; }
Property Value
DeleteProofMessage
public string DeleteProofMessage { get; init; }
Property Value
IntentId
public string? IntentId { get; init; }
Property Value
IntentTxId
public string IntentTxId { get; init; }
Property Value
IntentTxIdComparer
Compares intents by IntentTxId for use in collections and dictionaries.
public static IEqualityComparer<ArkIntent> IntentTxIdComparer { get; }
Property Value
IntentVtxos
public OutPoint[] IntentVtxos { get; init; }
Property Value
- OutPoint[]
RegisterProof
public string RegisterProof { get; init; }
Property Value
RegisterProofMessage
public string RegisterProofMessage { get; init; }
Property Value
SignerDescriptor
public string SignerDescriptor { get; init; }
Property Value
State
public ArkIntentState State { get; init; }
Property Value
UpdatedAt
public DateTimeOffset UpdatedAt { get; init; }
Property Value
ValidFrom
public DateTimeOffset? ValidFrom { get; init; }
Property Value
ValidUntil
public DateTimeOffset? ValidUntil { get; init; }
Property Value
WalletId
public string WalletId { get; init; }