Instance Property
xonly
The 32-byte x-only form of this aggregate public key for BIP-340 Schnorr signature verification and Taproot output construction.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
var xonly: P256K.MuSig.XonlyKey { get }
Discussion
The x-only form is the canonical external representation for a MuSig aggregate: it matches what a BIP-340 verifier expects, and its parity bit is exactly what a BIP-341 Taproot output-key derivation consumes. The returned P256K.MuSig.XonlyKey also carries the 197-byte keyagg cache required for future signing sessions against this aggregate.