Instance Property
xonly
The 32-byte x-only public key (X coordinate only) derived from this key for use in BIP-340 Schnorr signature verification.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
var xonly: P256K.Schnorr.XonlyKey { get }
Discussion
Computed on every access via secp256k1_xonly_pubkey_from_pubkey. The returned P256K.Schnorr.XonlyKey carries the original Y-parity in parity so callers can reconstruct the full point when needed.