Class: Node
Defined Under Namespace
Classes: Channels, OnChain, Payments, Peers, Wallet
Instance Method Summary collapse
Instance Method Details
#add_invoice(amount) ⇒ Object
184 185 186 |
# File 'lib/node.rb', line 184 def add_invoice(amount) response = stub.add_invoice(Lnrpc::Invoice.new(value: amount)) end |
#get_info ⇒ Object
180 181 182 |
# File 'lib/node.rb', line 180 def get_info stub.get_info(Lnrpc::GetInfoRequest.new()) end |