lnd-client-0.1.0.0: Lightning Network Daemon (LND) client library for Haskell

Safe HaskellNone
LanguageHaskell2010

LndClient.Class

Documentation

class Eq b => FromGrpc a b where Source #

Methods

fromGrpc :: b -> Either LndError a Source #

Instances
Eq b => FromGrpc () b Source # 
Instance details

Defined in LndClient.Class

Methods

fromGrpc :: b -> Either LndError () Source #

Eq a => FromGrpc a a Source # 
Instance details

Defined in LndClient.Class

Methods

fromGrpc :: a -> Either LndError a Source #

FromGrpc Seconds Int64 Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc Sat Int64 Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc MSat Int64 Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc MSat Word64 Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc RPreimage ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc RPreimage Text Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc RHash ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc RHash Text Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc PaymentRequest Text Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc PaymentRequest AddHoldInvoiceResp Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc SettleIndex Word64 Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc AddIndex Word64 Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc NodeLocation Text Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc NodePubKey ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc NodePubKey Text Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc SendPaymentResponse SendResponse Source # 
Instance details

Defined in LndClient.Data.SendPayment

FromGrpc Peer Peer Source # 
Instance details

Defined in LndClient.Data.Peer

FromGrpc Payment Payment Source # 
Instance details

Defined in LndClient.Data.Payment

FromGrpc PayReq PayReq Source # 
Instance details

Defined in LndClient.Data.PayReq

FromGrpc NewAddressResponse NewAddressResponse Source # 
Instance details

Defined in LndClient.Data.NewAddress

FromGrpc InvoiceState Invoice'InvoiceState Source # 
Instance details

Defined in LndClient.Data.Invoice

FromGrpc Invoice Invoice Source # 
Instance details

Defined in LndClient.Data.Invoice

FromGrpc ListInvoiceResponse ListInvoiceResponse Source # 
Instance details

Defined in LndClient.Data.ListInvoices

FromGrpc GetInfoResponse GetInfoResponse Source # 
Instance details

Defined in LndClient.Data.GetInfo

FromGrpc ChannelPoint ChannelPoint Source # 
Instance details

Defined in LndClient.Data.ChannelPoint

FromGrpc PendingChannel PendingChannelsResponse'PendingChannel Source # 
Instance details

Defined in LndClient.Data.PendingChannel

FromGrpc WaitingCloseChannel PendingChannelsResponse'WaitingCloseChannel Source # 
Instance details

Defined in LndClient.Data.WaitingCloseChannel

FromGrpc PendingOpenChannel PendingChannelsResponse'PendingOpenChannel Source # 
Instance details

Defined in LndClient.Data.PendingOpenChannel

FromGrpc ForceClosedChannel PendingChannelsResponse'ForceClosedChannel Source # 
Instance details

Defined in LndClient.Data.ForceClosedChannel

FromGrpc ClosedChannel PendingChannelsResponse'ClosedChannel Source # 
Instance details

Defined in LndClient.Data.ClosedChannel

FromGrpc PendingChannelsResponse PendingChannelsResponse Source # 
Instance details

Defined in LndClient.Data.PendingChannels

FromGrpc Channel Channel Source # 
Instance details

Defined in LndClient.Data.Channel

FromGrpc OpenStatusUpdate OpenStatusUpdate Source # 
Instance details

Defined in LndClient.Data.OpenChannel

FromGrpc ChannelCloseSummary ChannelCloseSummary Source # 
Instance details

Defined in LndClient.Data.CloseChannel

FromGrpc ChannelCloseUpdate ChannelCloseUpdate Source # 
Instance details

Defined in LndClient.Data.CloseChannel

FromGrpc CloseStatusUpdate CloseStatusUpdate Source # 
Instance details

Defined in LndClient.Data.CloseChannel

FromGrpc UpdateChannel ChannelEventUpdate'Channel Source # 
Instance details

Defined in LndClient.Data.SubscribeChannelEvents

FromGrpc ChannelEventUpdate ChannelEventUpdate Source # 
Instance details

Defined in LndClient.Data.SubscribeChannelEvents

FromGrpc AddInvoiceResponse AddInvoiceResponse Source # 
Instance details

Defined in LndClient.Data.AddInvoice

FromGrpc HtlcEvent HtlcEvent Source # 
Instance details

Defined in LndClient.Data.HtlcEvent

FromGrpc [Peer] ListPeersResponse Source # 
Instance details

Defined in LndClient.Data.Peer

FromGrpc [Channel] ListChannelsResponse Source # 
Instance details

Defined in LndClient.Data.Channel

FromGrpc [ChannelCloseSummary] ClosedChannelsResponse Source # 
Instance details

Defined in LndClient.Data.CloseChannel

(FieldDefault b, FromGrpc a b) => FromGrpc (Maybe a) b Source # 
Instance details

Defined in LndClient.Class

Methods

fromGrpc :: b -> Either LndError (Maybe a) Source #

FromGrpc (TxId a) Text Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc (TxId a) ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc (Vout a) Word32 Source # 
Instance details

Defined in LndClient.Data.Newtype

FromGrpc (PendingUpdate a) PendingUpdate Source # 
Instance details

Defined in LndClient.Data.Channel

FromGrpc a b => FromGrpc [a] [b] Source # 
Instance details

Defined in LndClient.Class

Methods

fromGrpc :: [b] -> Either LndError [a] Source #

class ToGrpc a b where Source #

Methods

toGrpc :: a -> Either LndError b Source #

Instances
ToGrpc a a Source # 
Instance details

Defined in LndClient.Class

Methods

toGrpc :: a -> Either LndError a Source #

ToGrpc Seconds Int64 Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc AezeedPassphrase ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc Sat Int64 Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc MSat Int64 Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc RPreimage ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc RPreimage SettleInvoiceMsg Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc RHash ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc RHash PaymentHash Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc RHash SubscribeSingleInvoiceRequest Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc RHash CancelInvoiceMsg Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc PaymentRequest Text Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc PaymentRequest PayReqString Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc SettleIndex Word64 Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc AddIndex Word64 Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc NodeLocation Text Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc NodePubKey ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc NodePubKey Text Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc LndWalletPassword ByteString Source # 
Instance details

Defined in LndClient.Data.LndEnv

ToGrpc SubscribeInvoicesRequest InvoiceSubscription Source # 
Instance details

Defined in LndClient.Data.SubscribeInvoices

ToGrpc SendPaymentRequest SendRequest Source # 
Instance details

Defined in LndClient.Data.SendPayment

ToGrpc ConnectPeerRequest ConnectPeerRequest Source # 
Instance details

Defined in LndClient.Data.Peer

ToGrpc LightningAddress LightningAddress Source # 
Instance details

Defined in LndClient.Data.Peer

ToGrpc AddHodlInvoiceRequest AddHoldInvoiceRequest Source # 
Instance details

Defined in LndClient.Data.AddHodlInvoice

ToGrpc AddressType AddressType Source # 
Instance details

Defined in LndClient.Data.NewAddress

ToGrpc NewAddressRequest NewAddressRequest Source # 
Instance details

Defined in LndClient.Data.NewAddress

ToGrpc ListChannelsRequest ListChannelsRequest Source # 
Instance details

Defined in LndClient.Data.ListChannels

ToGrpc ListInvoiceRequest ListInvoiceRequest Source # 
Instance details

Defined in LndClient.Data.ListInvoices

ToGrpc ClosedChannelsRequest ClosedChannelsRequest Source # 
Instance details

Defined in LndClient.Data.ClosedChannels

ToGrpc ChannelPoint ChannelPoint Source # 
Instance details

Defined in LndClient.Data.ChannelPoint

ToGrpc OpenChannelRequest OpenChannelRequest Source # 
Instance details

Defined in LndClient.Data.OpenChannel

ToGrpc CloseChannelRequest CloseChannelRequest Source # 
Instance details

Defined in LndClient.Data.CloseChannel

ToGrpc AddInvoiceRequest Invoice Source # 
Instance details

Defined in LndClient.Data.AddInvoice

ToGrpc TrackPaymentRequest TrackPaymentRequest Source # 
Instance details

Defined in LndClient.Data.TrackPayment

ToGrpc UnlockWalletRequest UnlockWalletRequest Source # 
Instance details

Defined in LndClient.Data.UnlockWallet

ToGrpc InitWalletRequest InitWalletRequest Source # 
Instance details

Defined in LndClient.Data.InitWallet

ToGrpc CipherSeedMnemonic [Text] Source # 
Instance details

Defined in LndClient.Data.Newtype

(FieldDefault b, ToGrpc a b) => ToGrpc (Maybe a) b Source # 
Instance details

Defined in LndClient.Class

Methods

toGrpc :: Maybe a -> Either LndError b Source #

ToGrpc (TxId a) ByteString Source # 
Instance details

Defined in LndClient.Data.Newtype

ToGrpc (Vout a) Word32 Source # 
Instance details

Defined in LndClient.Data.Newtype