Table of Contents

Struct VHtlcDelay

Namespace
NArk.Core.Contracts
Assembly
NArk.Core.dll

A CSV timelock delay for a VHTLC contract, expressed in blocks or seconds.

public readonly record struct VHtlcDelay : IEquatable<VHtlcDelay>
Implements
Inherited Members

Constructors

VHtlcDelay(bool, uint)

A CSV timelock delay for a VHTLC contract, expressed in blocks or seconds.

public VHtlcDelay(bool IsSeconds, uint Value)

Parameters

IsSeconds bool
Value uint

Properties

IsSeconds

public bool IsSeconds { get; init; }

Property Value

bool

Value

public uint Value { get; init; }

Property Value

uint

Methods

Blocks(uint)

public static VHtlcDelay Blocks(uint blocks)

Parameters

blocks uint

Returns

VHtlcDelay

Seconds(uint)

public static VHtlcDelay Seconds(uint seconds)

Parameters

seconds uint

Returns

VHtlcDelay