You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Validate the HTLC preimage and update the HTLC tracker entry to start claim processing.
431
+
requestBody:
432
+
required: true
433
+
content:
434
+
application/json:
435
+
schema:
436
+
$ref: '#/components/schemas/HtlcClaimRequest'
437
+
responses:
438
+
'200':
439
+
description: Successful operation
440
+
content:
441
+
application/json:
442
+
schema:
443
+
$ref: '#/components/schemas/EmptyResponse'
444
+
/htlcscan:
445
+
post:
446
+
tags:
447
+
- RGB
448
+
summary: Scan HTLC funding
449
+
description: Scan the chain for HTLC funding UTXOs and update the tracker entry.
450
+
requestBody:
451
+
required: true
452
+
content:
453
+
application/json:
454
+
schema:
455
+
$ref: '#/components/schemas/HtlcScanRequest'
456
+
responses:
457
+
'200':
458
+
description: Successful operation
459
+
content:
460
+
application/json:
461
+
schema:
462
+
$ref: '#/components/schemas/EmptyResponse'
463
+
/htlctracker:
464
+
post:
465
+
tags:
466
+
- RGB
467
+
summary: Get HTLC tracker entry
468
+
description: Get an HTLC tracker entry by payment hash.
469
+
requestBody:
470
+
required: true
471
+
content:
472
+
application/json:
473
+
schema:
474
+
$ref: '#/components/schemas/HtlcTrackerRequest'
475
+
responses:
476
+
'200':
477
+
description: Successful operation
478
+
content:
479
+
application/json:
480
+
schema:
481
+
$ref: '#/components/schemas/HtlcTrackerResponse'
425
482
/init:
426
483
post:
427
484
tags:
@@ -858,6 +915,25 @@ paths:
858
915
application/json:
859
916
schema:
860
917
$ref: '#/components/schemas/RgbInvoiceResponse'
918
+
/rgbinvoicehtlc:
919
+
post:
920
+
tags:
921
+
- RGB
922
+
summary: Get an RGB invoice bound to HTLC
923
+
description: Get an RGB invoice that binds to an HTLC P2TR scriptPubKey for submarine swaps. This is an escrow operation where RGB assets are temporarily locked in an HTLC address that is not owned by the rgb-lib wallet. The assets will be claimed into the wallet later via `/htlcclaim` when the HTLC is spent.
0 commit comments