Struct Bip340PublicKey
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
hexstringThe 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[]