• Creates a new BIP-322 "full" proof of funds unsigned transaction.

    This function constructs a special transaction that can be signed to prove ownership of VTXOs and UTXOs. The proof includes the message to be signed and the inputs/outputs that demonstrate ownership.

    Parameters

    • message: string

      The BIP-322 message to be signed

    • inputs: PSBTKeyMapKeys<{}>[]

      Array of transaction inputs to prove ownership of

    • outputs: PSBTKeyMapKeys<{}>[] = []

      Optional array of transaction outputs

    Returns Transaction

    An unsigned BIP-322 proof transaction