signrawtransactionwithwallet

wallet

v0.17.1

signrawtransactionwithwallet "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] sighashtype )

Sign inputs for raw transaction (serialized, hex-encoded).
The second optional argument (may be null) is an array of previous transaction outputs that
this transaction depends on but may not yet be in the block chain.
Don't trust. Verify. Docs extracted from src/wallet/rpcwallet.cpp#L3670-L3685.