class Node
Public Instance Methods
add_invoice(amount)
click to toggle source
# File lib/node.rb, line 184 def add_invoice(amount) response = stub.add_invoice(Lnrpc::Invoice.new(value: amount)) end
get_info()
click to toggle source
# File lib/node.rb, line 180 def get_info stub.get_info(Lnrpc::GetInfoRequest.new()) end
Private Instance Methods
balance()
click to toggle source
We are not using the following methods.
# File lib/node.rb, line 196 def balance response = stub.wallet_balance(Lnrpc::WalletBalanceRequest.new()) response.total_balance end