orb.lnd.grpc_generated.v0_14_1_beta.invoices_pb2_grpc module¶
Client and server classes corresponding to protobuf-defined services.
- class orb.lnd.grpc_generated.v0_14_1_beta.invoices_pb2_grpc.Invoices¶
Bases:
object
Invoices is a service that can be used to create, accept, settle and cancel invoices.
- static AddHoldInvoice(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)¶
- static CancelInvoice(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)¶
- static LookupInvoiceV2(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)¶
- static SettleInvoice(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)¶
- static SubscribeSingleInvoice(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)¶
- class orb.lnd.grpc_generated.v0_14_1_beta.invoices_pb2_grpc.InvoicesServicer¶
Bases:
object
Invoices is a service that can be used to create, accept, settle and cancel invoices.
- AddHoldInvoice(request, context)¶
AddHoldInvoice creates a hold invoice. It ties the invoice to the hash supplied in the request.
- CancelInvoice(request, context)¶
CancelInvoice cancels a currently open invoice. If the invoice is already canceled, this call will succeed. If the invoice is already settled, it will fail.
- LookupInvoiceV2(request, context)¶
LookupInvoiceV2 attempts to look up at invoice. An invoice can be refrenced using either its payment hash, payment address, or set ID.
- SettleInvoice(request, context)¶
SettleInvoice settles an accepted invoice. If the invoice is already settled, this call will succeed.
- SubscribeSingleInvoice(request, context)¶
SubscribeSingleInvoice returns a uni-directional stream (server -> client) to notify the client of state transitions of the specified invoice. Initially the current invoice state is always sent out.
- class orb.lnd.grpc_generated.v0_14_1_beta.invoices_pb2_grpc.InvoicesStub(channel)¶
Bases:
object
Invoices is a service that can be used to create, accept, settle and cancel invoices.
- orb.lnd.grpc_generated.v0_14_1_beta.invoices_pb2_grpc.add_InvoicesServicer_to_server(servicer, server)¶