@arkade-os/sdk Documentation - v0.4.21
    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 onchain and virtual outputs. 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

      • ins: (PSBTKeyMapKeys<{}> | ExtendedCoin)[]

        Array of transaction inputs to prove ownership of

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

        Optional array of transaction outputs

      Returns Transaction

      An unsigned Intent proof transaction