Class EmulatorInfo
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
VersionstringFree-form server version string. Empty if absent.
SignerPubkeystringHex-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>)).
DeprecatedSignerPubkeysIReadOnlyList<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
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
Version
Free-form server version string. Empty if absent.
public string Version { get; init; }