From cb7e7b293fa3aed8bcdd88e4830bad0b9eeedd44 Mon Sep 17 00:00:00 2001 From: Dave Scotese Date: Sun, 9 May 2021 20:08:15 -0700 Subject: [PATCH] added FAQ on getting a PSBT It may also be appropriate to update the description of utxopsbt so that the search hits for "psbt" here on github make it clearer that utxopsbt returns what you're seeking. I'll make that part of this pull request too. --- doc/FAQ.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/FAQ.md b/doc/FAQ.md index b41443d3e..0f2795fd4 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -164,3 +164,9 @@ Here is an example in Python checking if [one of the `option_static_remotekey` b >>> bool(0x02aaa2 & ((1 << 12) | (1 << 13))) True ``` + +## Technical Questions + +### How do I get the `psbt` for RPC calls that need it? + +A `psbt` is created and returned by a call to [`utxopsbt` with `reservedok=true`](https://lightning.readthedocs.io/lightning-utxopsbt.7.html?highlight=psbt).