@arkade-os/sdk Documentation - v0.3.11
    Preparing search index...

    Function create

    • Creates a new Intent proof 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 | Message

        The Intent message to be signed, either raw string of Message object

      • inputs: PSBTKeyMapKeys<{}>[]

        Array of transaction inputs to prove ownership of

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

        Optional array of transaction outputs

      Returns Transaction

      An unsigned Intent proof transaction