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
IdstringBatch ID.
BatchExpirySequenceSequence value encoding when the batch closes.
IntentIdHashesIReadOnlyCollection<string>SHA256 hashes of the included intent IDs (hex-encoded).
RawBatchExpirylongThe expiry as the Arkade server declared it, before BIP-68 encoding: a block count when below 512, otherwise seconds. Transports must supply this —
BatchExpiryfloors 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
IntentIdHashes
SHA256 hashes of the included intent IDs (hex-encoded).
public IReadOnlyCollection<string> IntentIdHashes { get; init; }
Property Value
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; }