![]() |
![]()
| ![]() |
![]()
NAMElightning-txdiscard -- Abandon a transaction from txprepare, release inputs SYNOPSIStxdiscard txid DESCRIPTIONThe txdiscard RPC command releases inputs which were reserved for use of the txid from lightning-txprepare(7).
RETURN VALUEOn success, an object is returned, containing:
If there is no matching txid, an error is reported. Note that this may happen due to incorrect usage, such as txdiscard or txsend already being called for txid. ERRORSThe following error codes may occur:
AUTHORRusty Russell <rusty@rustcorp.com.au> is mainly responsible. SEE ALSOlightning-txprepare(7), lightning-txsend(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli txdiscard "txidtxprep000100001000010000100001000010000100001000010000100001" { Response: { Example 2: Request: $ lightning-cli txdiscard -k "txid"="txidtxprep000300003000030000300003000030000300003000030000300003" { Response: {
|