Table of Contents

Class EmulatorInfo

Namespace
NArk.Arkade.Emulator
Assembly
NArk.Arkade.dll

Server identification returned from GET /v1/info.

public sealed record EmulatorInfo : IEquatable<EmulatorInfo>
Inheritance
EmulatorInfo
Implements
Inherited Members

Constructors

EmulatorInfo(string, string, IReadOnlyList<string>)

Server identification returned from GET /v1/info.

public EmulatorInfo(string Version, string SignerPubkey, IReadOnlyList<string> DeprecatedSignerPubkeys)

Parameters

Version string

Free-form server version string. Empty if absent.

SignerPubkey string

Hex-encoded compressed (33-byte) secp256k1 public key the emulator co-signs with — pre-tweak. The per-input signing key is derived by tweaking its x-only form (see ArkadeTweak.Tweak(NBitcoin.Secp256k1.ECPubKey, System.ReadOnlySpan<byte>)).

DeprecatedSignerPubkeys IReadOnlyList<string>

Hex-encoded compressed public keys the emulator still accepts (e.g. after a key rotation) but no longer signs new inputs with. Empty when none.

Properties

DeprecatedSignerPubkeys

Hex-encoded compressed public keys the emulator still accepts (e.g. after a key rotation) but no longer signs new inputs with. Empty when none.

public IReadOnlyList<string> DeprecatedSignerPubkeys { get; init; }

Property Value

IReadOnlyList<string>

SignerPubkey

Hex-encoded compressed (33-byte) secp256k1 public key the emulator co-signs with — pre-tweak. The per-input signing key is derived by tweaking its x-only form (see ArkadeTweak.Tweak(NBitcoin.Secp256k1.ECPubKey, System.ReadOnlySpan<byte>)).

public string SignerPubkey { get; init; }

Property Value

string

Version

Free-form server version string. Empty if absent.

public string Version { get; init; }

Property Value

string