@did-btc1/method
    Preparing search index...

    Interface BitcoinSigner

    interface BitcoinSigner {
        signTransaction(txHex: Hex, keyUri?: string): Promise<Hex>;
    }

    Implemented by

    Index

    Methods

    • Signs a Bitcoin transaction with a key pair.

      Parameters

      • txHex: Hex

        The hex-encoded transaction to sign.

      • OptionalkeyUri: string

        The URI of the key to sign the transaction with.

      Returns Promise<Hex>

      A promise that resolves to the hex-encoded signed transaction.