@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Function toXOnlySignerHex

    • Normalize a server signer pubkey hex to the x-only (32-byte) form contract scripts and params.serverPubKey use. A 33-byte compressed key drops its parity prefix; a 32-byte key is canonicalized to lowercase. The active signer and the deprecated signers (which arkd may advertise compressed) compare equal to the x-only params.serverPubKey persisted on contracts.

      Parameters

      • pubkeyHex: string

      Returns string