Table of Contents

Class BatchStartedEvent

Namespace
NArk.Abstractions.Batches.ServerEvents
Assembly
NArk.Abstractions.dll

New batch opened; clients may now submit intents.

public record BatchStartedEvent : BatchEvent, IEquatable<BatchEvent>, IEquatable<BatchStartedEvent>
Inheritance
BatchStartedEvent
Implements
Inherited Members

Constructors

BatchStartedEvent(string, Sequence, IReadOnlyCollection<string>, long)

New batch opened; clients may now submit intents.

public BatchStartedEvent(string Id, Sequence BatchExpiry, IReadOnlyCollection<string> IntentIdHashes, long RawBatchExpiry)

Parameters

Id string

Batch ID.

BatchExpiry Sequence

Sequence value encoding when the batch closes.

IntentIdHashes IReadOnlyCollection<string>

SHA256 hashes of the included intent IDs (hex-encoded).

RawBatchExpiry long

The expiry as the Arkade server declared it, before BIP-68 encoding: a block count when below 512, otherwise seconds. Transports must supply this — BatchExpiry floors seconds to a multiple of 512, so only the raw value can be validated and reported faithfully.

Properties

BatchExpiry

Sequence value encoding when the batch closes.

public Sequence BatchExpiry { get; init; }

Property Value

Sequence

Id

Batch ID.

public string Id { get; init; }

Property Value

string

IntentIdHashes

SHA256 hashes of the included intent IDs (hex-encoded).

public IReadOnlyCollection<string> IntentIdHashes { get; init; }

Property Value

IReadOnlyCollection<string>

RawBatchExpiry

The expiry as the Arkade server declared it, before BIP-68 encoding: a block count when below 512, otherwise seconds. Transports must supply this — BatchExpiry floors seconds to a multiple of 512, so only the raw value can be validated and reported faithfully.

public long RawBatchExpiry { get; init; }

Property Value

long