walletprocesspsbt

Back to wallet

Changed params/results since v30.2 Wallet

Summary

Update a PSBT with input information from our wallet and then sign inputs

Description

Update a PSBT with input information from our wallet and then sign inputs that we can sign for. Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.

Change Buckets

  • Changed params/results since v30.2

Arguments

  • psbt (STR, required): The transaction base64 string
  • sign (BOOL): Also sign the transaction when updating (requires wallet to be unlocked)
  • sighashtype (STR): The signature hash type to sign with if not specified by the PSBT. Must be one of "DEFAULT" "ALL" "NONE" "SINGLE" "ALL|ANYONECANPAY" "NONE|ANYONECANPAY" "SINGLE|ANYONECANPAY"
  • bip32derivs (BOOL): Include BIP 32 derivation paths for public keys if we know them
  • finalize (BOOL): Also finalize inputs if possible

Results

  • value (OBJ): No description.
  • psbt (STR): The base64-encoded partially signed transaction
  • complete (BOOL): If the transaction has a complete set of signatures
  • hex (STR_HEX, optional): The hex-encoded network transaction if complete
  • pqc_key_states (ARR, optional): PQC usage state for local wallet keys that participated in this response.
    • value (OBJ): No description.
    • pubkey (STR_HEX): The hex-encoded PQC public key.
    • pqc_signature_count (NUM): The number of signatures used by this PQC key.
    • pqc_signature_limit (NUM): The hard signature limit for this PQC key.
    • pqc_signatures_remaining (NUM): The remaining signature budget for this PQC key.
    • pqc_limit_state (STR): The PQC usage state. One of normal, warning, critical, or exhausted.
  • pqc_overall_limit_state (STR, optional): The maximum PQC usage severity across pqc_key_states.
  • pqc_signature_count (NUM, optional): The number of signatures used by the single local PQC key associated with this response.
  • pqc_signature_limit (NUM, optional): The hard signature limit for the single local PQC key associated with this response.
  • pqc_signatures_remaining (NUM, optional): The remaining signature budget for the single local PQC key associated with this response.
  • pqc_limit_state (STR, optional): The PQC usage state for the single local PQC key associated with this response.
  • warnings (ARR, optional): Human-readable warning lines emitted when PQC threshold transitions or reminder buckets fire.
    • warning (STR): No description.

Examples

qbit-cli walletprocesspsbt "psbt"