orb.ln.types module

class orb.ln.types.Balance(impl, **kwargs)

Bases: PrintableType

confirmed_balance: int
total_balance: str
unconfirmed_balance: str
class orb.ln.types.ChainTransaction(impl, tx)

Bases: PrintableType

class orb.ln.types.Channel(impl, c)

Bases: PrintableType

class orb.ln.types.ChannelHTLC(impl, h)

Bases: PrintableType

class orb.ln.types.ForwardingEvent(impl, e)

Bases: PrintableType

class orb.ln.types.ForwardingEvents(impl, fwd)

Bases: PrintableType

class orb.ln.types.HTLC(impl, p)

Bases: PrintableType

set_event_outcome_info(e)
set_fail_event(name, wire='unknown', string='unknown', detail='unknown')
class orb.ln.types.Info(impl, **kwargs)

Bases: PrintableType

class orb.ln.types.Invoice(impl, i)

Bases: PrintableType

class orb.ln.types.LocalRemoteBal(impl, **kwargs)

Bases: PrintableType

inactive_balance: int
local_balance: int
pending_balance: int
remote_balance: int
class orb.ln.types.NodeInfo(impl, **kwargs)

Bases: PrintableType

alias: str
identity_pubkey: str
last_update: int
class orb.ln.types.PaymentEvent(impl, e)

Bases: PrintableType

class orb.ln.types.PaymentEvents(impl, index_offset, max_payments, fwd)

Bases: PrintableType

class orb.ln.types.PaymentRequest(bolt11: str, impl: str, **kwargs)

Bases: PrintableType

class orb.ln.types.Peer(impl, p)

Bases: PrintableType

class orb.ln.types.Peers(impl, response)

Bases: PrintableType

class orb.ln.types.Policy(impl, **kwargs)

Bases: PrintableType

fee_base_msat: int
fee_rate_milli_msat: int
max_htlc_msat: int
min_htlc: int
time_lock_delta: int
class orb.ln.types.PrintableType

Bases: object

toJSON()
todict()
class orb.ln.types.Route(impl, total_amt, route)

Bases: PrintableType

class orb.ln.types.SendPaymentResponse(impl, response)

Bases: PrintableType