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

ElectrsClient.RpcRequest

Documentation

data RpcRequest a Source #

Constructors

RpcRequest 

Fields

Instances

Instances details
ToJSON a => ToJSON (RpcRequest a) Source # 
Instance details

Defined in ElectrsClient.RpcRequest

Generic (RpcRequest a) Source # 
Instance details

Defined in ElectrsClient.RpcRequest

Associated Types

type Rep (RpcRequest a) :: Type -> Type #

Methods

from :: RpcRequest a -> Rep (RpcRequest a) x #

to :: Rep (RpcRequest a) x -> RpcRequest a #

Show a => Show (RpcRequest a) Source # 
Instance details

Defined in ElectrsClient.RpcRequest

type Rep (RpcRequest a) Source # 
Instance details

Defined in ElectrsClient.RpcRequest

type Rep (RpcRequest a) = D1 ('MetaData "RpcRequest" "ElectrsClient.RpcRequest" "electrs-client-0.1.0.0-inplace" 'False) (C1 ('MetaCons "RpcRequest" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "jsonrpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Method) :*: S1 ('MetaSel ('Just "params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a))))

data Method Source #

Instances

Instances details
ToJSON Method Source # 
Instance details

Defined in ElectrsClient.RpcRequest

Generic Method Source # 
Instance details

Defined in ElectrsClient.RpcRequest

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Show Method Source # 
Instance details

Defined in ElectrsClient.RpcRequest

type Rep Method Source # 
Instance details

Defined in ElectrsClient.RpcRequest

type Rep Method = D1 ('MetaData "Method" "ElectrsClient.RpcRequest" "electrs-client-0.1.0.0-inplace" 'False) (C1 ('MetaCons "GetBalance" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Version" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GetBlockHeader" 'PrefixI 'False) (U1 :: Type -> Type)))