api-rpc-factom-0.1.3.0: RPC API client for Factom

Safe HaskellNone
LanguageHaskell2010

Factom.RPC.Types

Documentation

data ApiRequest Source #

Constructors

ApiRequest 

Fields

Instances
Eq ApiRequest Source # 
Instance details

Defined in Factom.RPC.Types

Show ApiRequest Source # 
Instance details

Defined in Factom.RPC.Types

Generic ApiRequest Source # 
Instance details

Defined in Factom.RPC.Types

Associated Types

type Rep ApiRequest :: Type -> Type #

ToJSON ApiRequest Source # 
Instance details

Defined in Factom.RPC.Types

type Rep ApiRequest Source # 
Instance details

Defined in Factom.RPC.Types

data ApiResponse a Source #

Constructors

ApiResponse 

Fields

Instances
Eq a => Eq (ApiResponse a) Source # 
Instance details

Defined in Factom.RPC.Types

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

Defined in Factom.RPC.Types

Generic (ApiResponse a) Source # 
Instance details

Defined in Factom.RPC.Types

Associated Types

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

Methods

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

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

FromJSON a => FromJSON (ApiResponse a) Source # 
Instance details

Defined in Factom.RPC.Types

type Rep (ApiResponse a) Source # 
Instance details

Defined in Factom.RPC.Types

type Rep (ApiResponse a) = D1 (MetaData "ApiResponse" "Factom.RPC.Types" "api-rpc-factom-0.1.3.0-8ijkOxh8qNmF26xSFpREC6" False) (C1 (MetaCons "ApiResponse" PrefixI True) (S1 (MetaSel (Just "jsonRpc") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "result") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a))))

data Entry Source #

Constructors

Entry 

Fields

Instances
Eq Entry Source # 
Instance details

Defined in Factom.RPC.Types

Methods

(==) :: Entry -> Entry -> Bool #

(/=) :: Entry -> Entry -> Bool #

Show Entry Source # 
Instance details

Defined in Factom.RPC.Types

Methods

showsPrec :: Int -> Entry -> ShowS #

show :: Entry -> String #

showList :: [Entry] -> ShowS #

Generic Entry Source # 
Instance details

Defined in Factom.RPC.Types

Associated Types

type Rep Entry :: Type -> Type #

Methods

from :: Entry -> Rep Entry x #

to :: Rep Entry x -> Entry #

FromJSON Entry Source # 
Instance details

Defined in Factom.RPC.Types

type Rep Entry Source # 
Instance details

Defined in Factom.RPC.Types

type Rep Entry = D1 (MetaData "Entry" "Factom.RPC.Types" "api-rpc-factom-0.1.3.0-8ijkOxh8qNmF26xSFpREC6" False) (C1 (MetaCons "Entry" PrefixI True) (S1 (MetaSel (Just "enChainId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "enContent") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "enExtIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text]))))

data EntryBlock Source #

Constructors

EntryBlock 
Instances
Eq EntryBlock Source # 
Instance details

Defined in Factom.RPC.Types

Show EntryBlock Source # 
Instance details

Defined in Factom.RPC.Types

Generic EntryBlock Source # 
Instance details

Defined in Factom.RPC.Types

Associated Types

type Rep EntryBlock :: Type -> Type #

FromJSON EntryBlock Source # 
Instance details

Defined in Factom.RPC.Types

type Rep EntryBlock Source # 
Instance details

Defined in Factom.RPC.Types

type Rep EntryBlock = D1 (MetaData "EntryBlock" "Factom.RPC.Types" "api-rpc-factom-0.1.3.0-8ijkOxh8qNmF26xSFpREC6" False) (C1 (MetaCons "EntryBlock" PrefixI True) (S1 (MetaSel (Just "blockSequenceNumber") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

data EntryCreditBalance Source #

Constructors

EntryCreditBalance 

Fields

Instances
Eq EntryCreditBalance Source # 
Instance details

Defined in Factom.RPC.Types

Show EntryCreditBalance Source # 
Instance details

Defined in Factom.RPC.Types

Generic EntryCreditBalance Source # 
Instance details

Defined in Factom.RPC.Types

Associated Types

type Rep EntryCreditBalance :: Type -> Type #

FromJSON EntryCreditBalance Source # 
Instance details

Defined in Factom.RPC.Types

type Rep EntryCreditBalance Source # 
Instance details

Defined in Factom.RPC.Types

type Rep EntryCreditBalance = D1 (MetaData "EntryCreditBalance" "Factom.RPC.Types" "api-rpc-factom-0.1.3.0-8ijkOxh8qNmF26xSFpREC6" False) (C1 (MetaCons "EntryCreditBalance" PrefixI True) (S1 (MetaSel (Just "ecBalance") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))