lightning
lightning copied to clipboard
[Feature Idea]: Add support for REST API endpoint
For LND methods, an opaque LND object is passed to execute the actual request and return a response
In addition to the gateway protocol LND and direct grpc LND, a REST LND could be passed which would translate the REST requests and responses back into gRPC style arguments so that the caller could use either endpoint at their discretion