XOnlyPubKey::XOnlyPubKey

Construct an x-only pubkey from exactly 32 bytes.

Synopsis

Declared in <pubkey.h>

constexpr
explicit
XOnlyPubKey(std::span<unsigned char const> bytes);

Parameters

NameDescription
bytesThe 32-byte x coordinate.