• Finalizes and extracts the FullProof transaction into a BIP-322 signature.

    This function takes a signed proof transaction and converts it into a base64-encoded signature string. If the proof's inputs have special spending conditions, a custom finalizer can be provided.

    Parameters

    • signedProof: Transaction

      The signed BIP-322 proof transaction

    • finalizer: (tx: Transaction) => void = ...

      Optional custom finalizer function

    Returns string

    Base64-encoded BIP-322 signature