lnd-client-0.1.0.0: Lightning Network Daemon (LND) client library for Haskell
LndClient.Class
class Eq b => FromGrpc a b where Source #
Methods
fromGrpc :: b -> Either LndError a Source #
Defined in LndClient.Class
fromGrpc :: b -> Either LndError () Source #
fromGrpc :: a -> Either LndError a Source #
Defined in LndClient.Data.Newtype
fromGrpc :: Int64 -> Either LndError Seconds Source #
fromGrpc :: Int64 -> Either LndError Sat Source #
fromGrpc :: Int64 -> Either LndError MSat Source #
fromGrpc :: Word64 -> Either LndError MSat Source #
fromGrpc :: ByteString -> Either LndError RPreimage Source #
fromGrpc :: Text -> Either LndError RPreimage Source #
fromGrpc :: ByteString -> Either LndError RHash Source #
fromGrpc :: Text -> Either LndError RHash Source #
fromGrpc :: Text -> Either LndError PaymentRequest Source #
fromGrpc :: AddHoldInvoiceResp -> Either LndError PaymentRequest Source #
fromGrpc :: Word64 -> Either LndError SettleIndex Source #
fromGrpc :: Word64 -> Either LndError AddIndex Source #
fromGrpc :: Text -> Either LndError NodeLocation Source #
fromGrpc :: ByteString -> Either LndError NodePubKey Source #
fromGrpc :: Text -> Either LndError NodePubKey Source #
Defined in LndClient.Data.SendPayment
fromGrpc :: SendResponse -> Either LndError SendPaymentResponse Source #
Defined in LndClient.Data.Peer
fromGrpc :: Peer0 -> Either LndError Peer Source #
Defined in LndClient.Data.Payment
fromGrpc :: Payment0 -> Either LndError Payment Source #
Defined in LndClient.Data.PayReq
fromGrpc :: PayReq0 -> Either LndError PayReq Source #
Defined in LndClient.Data.NewAddress
fromGrpc :: NewAddressResponse0 -> Either LndError NewAddressResponse Source #
Defined in LndClient.Data.Invoice
fromGrpc :: Invoice'InvoiceState -> Either LndError InvoiceState Source #
fromGrpc :: Invoice0 -> Either LndError Invoice Source #
Defined in LndClient.Data.ListInvoices
fromGrpc :: ListInvoiceResponse0 -> Either LndError ListInvoiceResponse Source #
Defined in LndClient.Data.GetInfo
fromGrpc :: GetInfoResponse0 -> Either LndError GetInfoResponse Source #
Defined in LndClient.Data.ChannelPoint
fromGrpc :: ChannelPoint0 -> Either LndError ChannelPoint Source #
Defined in LndClient.Data.PendingChannel
fromGrpc :: PendingChannelsResponse'PendingChannel -> Either LndError PendingChannel Source #
Defined in LndClient.Data.WaitingCloseChannel
fromGrpc :: PendingChannelsResponse'WaitingCloseChannel -> Either LndError WaitingCloseChannel Source #
Defined in LndClient.Data.PendingOpenChannel
fromGrpc :: PendingChannelsResponse'PendingOpenChannel -> Either LndError PendingOpenChannel Source #
Defined in LndClient.Data.ForceClosedChannel
fromGrpc :: PendingChannelsResponse'ForceClosedChannel -> Either LndError ForceClosedChannel Source #
Defined in LndClient.Data.ClosedChannel
fromGrpc :: PendingChannelsResponse'ClosedChannel -> Either LndError ClosedChannel Source #
Defined in LndClient.Data.PendingChannels
fromGrpc :: PendingChannelsResponse0 -> Either LndError PendingChannelsResponse Source #
Defined in LndClient.Data.Channel
fromGrpc :: Channel0 -> Either LndError Channel Source #
Defined in LndClient.Data.OpenChannel
fromGrpc :: OpenStatusUpdate0 -> Either LndError OpenStatusUpdate Source #
Defined in LndClient.Data.CloseChannel
fromGrpc :: ChannelCloseSummary0 -> Either LndError ChannelCloseSummary Source #
fromGrpc :: ChannelCloseUpdate0 -> Either LndError ChannelCloseUpdate Source #
fromGrpc :: CloseStatusUpdate0 -> Either LndError CloseStatusUpdate Source #
Defined in LndClient.Data.SubscribeChannelEvents
fromGrpc :: ChannelEventUpdate'Channel -> Either LndError UpdateChannel Source #
fromGrpc :: ChannelEventUpdate0 -> Either LndError ChannelEventUpdate Source #
Defined in LndClient.Data.AddInvoice
fromGrpc :: AddInvoiceResponse0 -> Either LndError AddInvoiceResponse Source #
Defined in LndClient.Data.HtlcEvent
fromGrpc :: HtlcEvent0 -> Either LndError HtlcEvent Source #
fromGrpc :: ListPeersResponse -> Either LndError [Peer] Source #
fromGrpc :: ListChannelsResponse -> Either LndError [Channel] Source #
fromGrpc :: ClosedChannelsResponse -> Either LndError [ChannelCloseSummary] Source #
fromGrpc :: b -> Either LndError (Maybe a) Source #
fromGrpc :: Text -> Either LndError (TxId a) Source #
fromGrpc :: ByteString -> Either LndError (TxId a) Source #
fromGrpc :: Word32 -> Either LndError (Vout a) Source #
fromGrpc :: PendingUpdate0 -> Either LndError (PendingUpdate a) Source #
fromGrpc :: [b] -> Either LndError [a] Source #
class ToGrpc a b where Source #
toGrpc :: a -> Either LndError b Source #
toGrpc :: a -> Either LndError a Source #
toGrpc :: Seconds -> Either LndError Int64 Source #
toGrpc :: AezeedPassphrase -> Either LndError ByteString Source #
toGrpc :: Sat -> Either LndError Int64 Source #
toGrpc :: MSat -> Either LndError Int64 Source #
toGrpc :: RPreimage -> Either LndError ByteString Source #
toGrpc :: RPreimage -> Either LndError SettleInvoiceMsg Source #
toGrpc :: RHash -> Either LndError ByteString Source #
toGrpc :: RHash -> Either LndError PaymentHash Source #
toGrpc :: RHash -> Either LndError SubscribeSingleInvoiceRequest Source #
toGrpc :: RHash -> Either LndError CancelInvoiceMsg Source #
toGrpc :: PaymentRequest -> Either LndError Text Source #
toGrpc :: PaymentRequest -> Either LndError PayReqString Source #
toGrpc :: SettleIndex -> Either LndError Word64 Source #
toGrpc :: AddIndex -> Either LndError Word64 Source #
toGrpc :: NodeLocation -> Either LndError Text Source #
toGrpc :: NodePubKey -> Either LndError ByteString Source #
toGrpc :: NodePubKey -> Either LndError Text Source #
Defined in LndClient.Data.LndEnv
toGrpc :: LndWalletPassword -> Either LndError ByteString Source #
Defined in LndClient.Data.SubscribeInvoices
toGrpc :: SubscribeInvoicesRequest -> Either LndError InvoiceSubscription Source #
toGrpc :: SendPaymentRequest -> Either LndError SendRequest Source #
toGrpc :: ConnectPeerRequest -> Either LndError ConnectPeerRequest0 Source #
toGrpc :: LightningAddress -> Either LndError LightningAddress0 Source #
Defined in LndClient.Data.AddHodlInvoice
toGrpc :: AddHodlInvoiceRequest -> Either LndError AddHoldInvoiceRequest Source #
toGrpc :: AddressType -> Either LndError AddressType0 Source #
toGrpc :: NewAddressRequest -> Either LndError NewAddressRequest0 Source #
Defined in LndClient.Data.ListChannels
toGrpc :: ListChannelsRequest -> Either LndError ListChannelsRequest0 Source #
toGrpc :: ListInvoiceRequest -> Either LndError ListInvoiceRequest0 Source #
Defined in LndClient.Data.ClosedChannels
toGrpc :: ClosedChannelsRequest -> Either LndError ClosedChannelsRequest0 Source #
toGrpc :: ChannelPoint -> Either LndError ChannelPoint0 Source #
toGrpc :: OpenChannelRequest -> Either LndError OpenChannelRequest0 Source #
toGrpc :: CloseChannelRequest -> Either LndError CloseChannelRequest0 Source #
toGrpc :: AddInvoiceRequest -> Either LndError Invoice Source #
Defined in LndClient.Data.TrackPayment
toGrpc :: TrackPaymentRequest -> Either LndError TrackPaymentRequest0 Source #
Defined in LndClient.Data.UnlockWallet
toGrpc :: UnlockWalletRequest -> Either LndError UnlockWalletRequest0 Source #
Defined in LndClient.Data.InitWallet
toGrpc :: InitWalletRequest -> Either LndError InitWalletRequest0 Source #
toGrpc :: CipherSeedMnemonic -> Either LndError [Text] Source #
toGrpc :: Maybe a -> Either LndError b Source #
toGrpc :: TxId a -> Either LndError ByteString Source #
toGrpc :: Vout a -> Either LndError Word32 Source #