CCC Docs
    Preparing search index...
    type SignPsbtParams = {
        psbt: string;
        signInputs: Record<string, number[]>;
        allowedSignHash?: number;
        broadcast?: boolean;
    }
    Index

    Properties

    psbt: string

    The base64 encoded PSBT to sign.

    signInputs: Record<string, number[]>

    The inputs to sign. The key is the address and the value is an array of indexes of the inputs to sign.

    allowedSignHash?: number

    the sigHash type to use for signing. will default to the sighash type of the input if not provided.

    broadcast?: boolean

    Whether to broadcast the transaction after signing.