electrs-client-0.1.0.0: Electrs client library for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

ElectrsClient.Type

Documentation

data RpcError Source #

Instances

Instances details
Generic RpcError Source # 
Instance details

Defined in ElectrsClient.Type

Associated Types

type Rep RpcError :: Type -> Type #

Methods

from :: RpcError -> Rep RpcError x #

to :: Rep RpcError x -> RpcError #

Show RpcError Source # 
Instance details

Defined in ElectrsClient.Type

Eq RpcError Source # 
Instance details

Defined in ElectrsClient.Type

type Rep RpcError Source # 
Instance details

Defined in ElectrsClient.Type

type Rep RpcError = D1 ('MetaData "RpcError" "ElectrsClient.Type" "electrs-client-0.1.0.0-inplace" 'False) ((C1 ('MetaCons "RpcNoAddress" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RpcJsonDecodeError" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RpcHexDecodeError" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CannotSyncBlockchain" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OtherError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newtype OnChainAddress (mrel :: MoneyRelation) Source #

Constructors

OnChainAddress Text 

Instances

Instances details
Generic (OnChainAddress mrel) Source # 
Instance details

Defined in ElectrsClient.Type

Associated Types

type Rep (OnChainAddress mrel) :: Type -> Type #

Methods

from :: OnChainAddress mrel -> Rep (OnChainAddress mrel) x #

to :: Rep (OnChainAddress mrel) x -> OnChainAddress mrel #

Read (OnChainAddress mrel) Source # 
Instance details

Defined in ElectrsClient.Type

Show (OnChainAddress mrel) Source # 
Instance details

Defined in ElectrsClient.Type

Eq (OnChainAddress mrel) Source # 
Instance details

Defined in ElectrsClient.Type

Methods

(==) :: OnChainAddress mrel -> OnChainAddress mrel -> Bool #

(/=) :: OnChainAddress mrel -> OnChainAddress mrel -> Bool #

Ord (OnChainAddress mrel) Source # 
Instance details

Defined in ElectrsClient.Type

type Rep (OnChainAddress mrel) Source # 
Instance details

Defined in ElectrsClient.Type

type Rep (OnChainAddress mrel) = D1 ('MetaData "OnChainAddress" "ElectrsClient.Type" "electrs-client-0.1.0.0-inplace" 'True) (C1 ('MetaCons "OnChainAddress" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype BlkHeight Source #

Constructors

BlkHeight Word64 

Instances

Instances details
ToJSON BlkHeight Source # 
Instance details

Defined in ElectrsClient.Type

Generic BlkHeight Source # 
Instance details

Defined in ElectrsClient.Type

Associated Types

type Rep BlkHeight :: Type -> Type #

Num BlkHeight Source # 
Instance details

Defined in ElectrsClient.Type

Show BlkHeight Source # 
Instance details

Defined in ElectrsClient.Type

Eq BlkHeight Source # 
Instance details

Defined in ElectrsClient.Type

Ord BlkHeight Source # 
Instance details

Defined in ElectrsClient.Type

type Rep BlkHeight Source # 
Instance details

Defined in ElectrsClient.Type

type Rep BlkHeight = D1 ('MetaData "BlkHeight" "ElectrsClient.Type" "electrs-client-0.1.0.0-inplace" 'True) (C1 ('MetaCons "BlkHeight" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))