![]() |
![]()
| ![]() |
![]()
NAMElightning-setpsbtversion -- Command for setting PSBT version SYNOPSISsetpsbtversion psbt version DESCRIPTIONThe setpsbtversion RPC command converts the provided PSBT to the given version, and returns the base64 result of the conversion. Returns an error if version is invalid.
RETURN VALUEOn success, an object is returned, containing:
ERRORSThe following error codes may occur:
AUTHORGregory Sanders <gsanders87@gmail.com> is mainly responsible. SEE ALSOlightning-fundpsbt(7), lightning-utxopsbt(7), lightning-signpsbt(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli setpsbtversion -k "psbt"="cHNidP8BAgpsbt1001010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101" "version"=0 { Response: { Example 2: Request: $ lightning-cli setpsbtversion "cHNidP8BAgpsbt20020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202" "2" { Response: {
|