|
NAMElightning-reserveinputs - Construct a transaction and reserve the UTXOs it spendsSYNOPSISreserveinputs psbt [exclusive] [reserve]DESCRIPTIONThe reserveinputs RPC command places (or increases) reservations on any inputs specified in psbt which are known to lightningd. It will fail with an error if any of the inputs are known to be spent, and ignore inputs which are unknown.Normally the command will fail (with no reservations made) if an input is already reserved. If exclusive is set to False, then existing reservations are simply extended, rather than causing failure. By default, reservations are for the next 72 blocks (approximately 6 hours), but this can be changed by setting reserve. RETURN VALUEOn success, an object containing reservations is returned. It is an array of objects, where each object contains:
On success, a reservations array is returned, with an entry for each input which was reserved:
On failure, an error is reported and no UTXOs are reserved. The following error codes may occur:
AUTHORniftynei <niftynei@gmail.com> is mainly responsible.SEE ALSOlightning-unreserveinputs(7), lightning-signpsbt(7), lightning-sendpsbt(7)RESOURCESMain web site: https://github.com/ElementsProject/lightning Visit the GSP FreeBSD Man Page Interface. |