orb.lnd.lnd_grpc module¶
- class orb.lnd.lnd_grpc.LndGRPC(tls_certificate, server, port, macaroon)¶
Bases:
LndBase
- batch_open(pubkeys, amounts, sat_per_vbyte)¶
- cancel_invoice(payment_hash)¶
- channel_balance()¶
- close_channel(channel_point, force, sat_per_vbyte)¶
- connect(addr)¶
- decode_payment_request(payment_request)¶
- decode_request(req: str)¶
- describe_graph(include_unannounced=False)¶
- fee_report()¶
- generate_invoice(amount: int, memo: str = 'Orb invoice')¶
- get_balance()¶
- get_channel_events()¶
- get_channels(active_only=False)¶
- static get_credentials(tls_certificate, macaroon)¶
- get_edge(channel_id: str)¶
- get_forwarding_history(index_offset=0, num_max_events=100)¶
- get_htlc_events()¶
- get_info()¶
- get_invoice_events()¶
- get_node_alias(pub_key)¶
- get_node_channels_pubkeys(pub_key)¶
- get_node_info(pub_key)¶
- get_own_pubkey()¶
- get_pending_channels()¶
- get_policy_from(channel_id)¶
- get_policy_to(channel_id)¶
- get_ppm_from(channel_id)¶
- get_ppm_to(channel_id)¶
- get_route(pub_key: str, amount_sat: int, ignored_pairs: list, ignored_nodes: list, last_hop_pubkey: str | None, outgoing_chan_id: str | None, fee_limit_msat: int, time_pref: float = 0.5, source_pub_key: str | None = None)¶
- htlc_interceptor(chan_id, htlc_id, action=1)¶
- keysend(target_pubkey, msg, amount, fee_limit, timeout)¶
- list_invoices()¶
- list_payments(index_offset=0, max_payments=100)¶
- list_peers()¶
- new_address()¶
- open_channel(node_pubkey_string, sat_per_vbyte, amount_sat)¶
- send_coins(addr: str, satoshi: int, sat_per_vbyte: int, send_all: bool = False)¶
- send_payment(payment_request, route)¶
- sign_message(message)¶
- subscribe_channel_graph()¶
- update_channel_policy(channel, **kwargs)¶