class Node::OnChain

Public Instance Methods

list_chain_txns() click to toggle source
# File lib/node.rb, line 113
def list_chain_txns
  stub.get_transactions(Lnrpc::GetTransactionsRequest.new())
end
send_coins(addr, amt) click to toggle source
# File lib/node.rb, line 117
def send_coins(addr, amt)
  stub.send_coins(Lnrpc::SendCoinsRequest.new(addr: addr, amount: amt))
end
send_many(array_addrs) click to toggle source
# File lib/node.rb, line 121
def send_many(array_addrs)
  stub.send_many(Lnrpc::SendManyRequest.new(AddrToAmount: array_addrs, target_conf: 6, sat_per_byte:  200))
end