CCC Docs
    Preparing search index...
    SignPsbtInput: {
        index: number;
        sighashTypes?: number[];
        disableTweakSigner?: boolean;
    } & (
        | { address: string; publicKey?: string }
        | { address?: string; publicKey: string }
    )

    An input to sign, in the shape expected by the UniSat wallet API. Must specify at least one of: address or publicKey.

    Type Declaration

    • index: number

      Which input to sign (index in the PSBT inputs array).

    • OptionalsighashTypes?: number[]

      Sighash types to use for signing.

    • OptionaldisableTweakSigner?: boolean

      Sign with the original private key instead of the tweaked one for Taproot inputs.

    • { address: string; publicKey?: string }
      • address: string

        The address whose corresponding private key to use for signing.

      • OptionalpublicKey?: string

        The public key (hex without 0x prefix) whose corresponding private key to use for signing.

    • { address?: string; publicKey: string }
      • Optionaladdress?: string

        The address whose corresponding private key to use for signing.

      • publicKey: string

        The public key (hex without 0x prefix) whose corresponding private key to use for signing.