Table of Contents

Struct Bip340PublicKey

Namespace
SodotSDK.Bip340
Assembly
Unity.Temp.dll

A 32 byte BIP340 public key generated by Keygen(Uuid, ushort, ushort, KeygenSecret, KeygenId[]):

public struct Bip340PublicKey
Inherited Members

Constructors

Bip340PublicKey(string)

Initializes a new instance of the Bip340PublicKey struct from a hex string.

public Bip340PublicKey(string hex)

Parameters

hex string

The public key as a hex string.

Exceptions

SodotException

Thrown if the hex string is null or empty.

Properties

Data

The public key bytes.

public byte[] Data { readonly get; set; }

Property Value

byte[]