lnd/lnrpc/invoicesrpc/invoices.yaml
ffranr 1975fa60e2
invoicesrpc: add HtlcModifier RPC endpoint and modifier RPC server
This commit introduces a singleton invoice HTLC modifier RPC server and
an endpoint to activate it. The server interfaces with the internal
invoice HTLC modifier interpreter, handling the marshalling between RPC
types and internal formats.
2024-09-19 09:21:37 +02:00

21 lines
657 B
YAML

type: google.api.Service
config_version: 3
http:
rules:
- selector: invoicesrpc.Invoices.SubscribeSingleInvoice
get: "/v2/invoices/subscribe/{r_hash}"
- selector: invoicesrpc.Invoices.CancelInvoice
post: "/v2/invoices/cancel"
body: "*"
- selector: invoicesrpc.Invoices.AddHoldInvoice
post: "/v2/invoices/hodl"
body: "*"
- selector: invoicesrpc.Invoices.SettleInvoice
post: "/v2/invoices/settle"
body: "*"
- selector: invoicesrpc.Invoices.LookupInvoiceV2
get: "/v2/invoices/lookup"
- selector: invoicesrpc.Invoices.HtlcModifier
post: "/v2/invoices/htlcmodifier"
body: "*"