In TxBuilder, if there has inputs where their script public-key don't match to the script public-key of from, the fee estimation of the TxBuilder fails. For example, if Alice uses a P2WPKH script, and Bob uses a P2TR script, you cannot add inputs from both Alice and Bob into the TxBuilder. If you do, the fee estimation process will fail due to unrecognized script public keys in the inputs.
In TxBuilder, if there has inputs where their script public-key don't match to the script public-key of
from
, the fee estimation of the TxBuilder fails. For example, if Alice uses aP2WPKH
script, and Bob uses aP2TR
script, you cannot add inputs from both Alice and Bob into the TxBuilder. If you do, the fee estimation process will fail due to unrecognized script public keys in the inputs.