Instance Property
xonly
The 32-byte x-only public key (X coordinate only) derived from this key for use with Schnorr signature verification.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
var xonly: P256K.Signing.XonlyKey { get }
Discussion
Computed on every access via secp256k1_xonly_pubkey_from_pubkey. Useful when a workflow needs to pivot from ECDSA-era verification to Taproot-era BIP-340 verification against the same underlying public point.