analyzepsbt

Back to rawtransactions

Changed params/results since v30.2

Summary

Analyzes and provides information about the current status of a PSBT and its inputs

Description

Analyzes and provides information about the current status of a PSBT and its inputs

Change Buckets

  • Changed params/results since v30.2

Arguments

  • psbt (STR, required): A base64 string of a PSBT

Results

  • value (OBJ): No description.
  • inputs (ARR, optional): No description.
    • value (OBJ): No description.
    • has_utxo (BOOL): Whether a UTXO is provided
    • is_final (BOOL): Whether the input is finalized
    • missing (OBJ, optional): Things that are missing that are required to complete this input
      • pubkeys (ARR, optional): No description.
      • keyid (STR_HEX): Public key ID, hash160 of the public key, of a public key whose BIP 32 derivation path is missing
      • signatures (ARR, optional): No description.
      • keyid (STR_HEX): Public key ID, hash160 of the public key, of a public key whose signature is missing
      • p2mr_signatures (ARR, optional): No description.
      • pubkey (STR_HEX): P2MR pubkey whose signature is missing
      • redeemscript (STR_HEX, optional): Hash160 of the redeem script that is missing
      • witnessscript (STR_HEX, optional): SHA256 of the witness script that is missing
    • next (STR, optional): Role of the next person that this input needs to go to
  • estimated_vsize (NUM, optional): Estimated vsize of the final signed transaction
  • estimated_feerate (STR_AMOUNT, optional): Estimated feerate of the final signed transaction in QBT/kvB. Shown only if all UTXO slots in the PSBT have been filled
  • fee (STR_AMOUNT, optional): The transaction fee paid. Shown only if all UTXO slots in the PSBT have been filled
  • next (STR): Role of the next person that this psbt needs to go to
  • error (STR, optional): Error message (if there is one)

Examples

qbit-cli analyzepsbt "psbt"