Instance Property
xonly
The 32-byte x-only public key (X coordinate only) derived from this key.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
var xonly: P256K.KeyAgreement.XonlyKey { get }
Discussion
Computed on every access via secp256k1_xonly_pubkey_from_pubkey. Useful when a downstream protocol (Taproot-aware ECDH schemes, Silent Payments) needs the BIP-340-style x-only representation of the same public point.