SignPsbtParams: {
    psbt: string;
    signInputs: Record<string, number[]>;
    allowedSignHash?: number;
    broadcast?: boolean;
}

Type declaration

  • 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.

  • OptionalallowedSignHash?: number

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

  • Optionalbroadcast?: boolean

    Whether to broadcast the transaction after signing.