haskoin-store-data-0.46.1: Data for Haskoin Store
Safe HaskellNone
LanguageHaskell2010

Haskoin.Store.Data

Synopsis

Address Balances

data Balance Source #

Address balance information.

Constructors

Balance 

Fields

Instances

Instances details
Eq Balance Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord Balance Source # 
Instance details

Defined in Haskoin.Store.Data

Read Balance Source # 
Instance details

Defined in Haskoin.Store.Data

Show Balance Source # 
Instance details

Defined in Haskoin.Store.Data

Generic Balance Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep Balance :: Type -> Type #

Methods

from :: Balance -> Rep Balance x #

to :: Rep Balance x -> Balance #

Hashable Balance Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

hashWithSalt :: Int -> Balance -> Int #

hash :: Balance -> Int #

Serialize Balance Source # 
Instance details

Defined in Haskoin.Store.Data

NFData Balance Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: Balance -> () #

ApiResource GetAddrBalance Balance Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetAddrsBalance [Balance] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep Balance Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Balance = D1 ('MetaData "Balance" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "Balance" 'PrefixI 'True) ((S1 ('MetaSel ('Just "balanceAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: (S1 ('MetaSel ('Just "balanceAmount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "balanceZero") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))) :*: (S1 ('MetaSel ('Just "balanceUnspentCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "balanceTxCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "balanceTotalReceived") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))))

Block Data

data BlockData Source #

Database value for a block entry.

Constructors

BlockData 

Fields

Instances

Instances details
Eq BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Ord BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Read BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Show BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BlockData :: Type -> Type #

Hashable BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BlockData -> () #

ApiResource GetBlockMTP BlockData Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockTime BlockData Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockBest BlockData Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlock BlockData Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockHeights [BlockData] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockHeight [BlockData] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockLatest [BlockData] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlocks [BlockData] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep BlockData Source # 
Instance details

Defined in Haskoin.Store.Data

Transactions

data TxRef Source #

Transaction in relation to an address.

Constructors

TxRef 

Fields

Instances

Instances details
Eq TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

compare :: TxRef -> TxRef -> Ordering #

(<) :: TxRef -> TxRef -> Bool #

(<=) :: TxRef -> TxRef -> Bool #

(>) :: TxRef -> TxRef -> Bool #

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

max :: TxRef -> TxRef -> TxRef #

min :: TxRef -> TxRef -> TxRef #

Show TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

showsPrec :: Int -> TxRef -> ShowS #

show :: TxRef -> String #

showList :: [TxRef] -> ShowS #

Generic TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep TxRef :: Type -> Type #

Methods

from :: TxRef -> Rep TxRef x #

to :: Rep TxRef x -> TxRef #

Hashable TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

hashWithSalt :: Int -> TxRef -> Int #

hash :: TxRef -> Int #

ToJSON TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

put :: Putter TxRef #

get :: Get TxRef #

NFData TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: TxRef -> () #

ApiResource GetXPubTxs [TxRef] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetAddrsTxs [TxRef] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetAddrTxs [TxRef] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep TxRef Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep TxRef = D1 ('MetaData "TxRef" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "TxRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "txRefBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef) :*: S1 ('MetaSel ('Just "txRefHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash)))

data TxData Source #

Instances

Instances details
Eq TxData Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord TxData Source # 
Instance details

Defined in Haskoin.Store.Data

Show TxData Source # 
Instance details

Defined in Haskoin.Store.Data

Generic TxData Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep TxData :: Type -> Type #

Methods

from :: TxData -> Rep TxData x #

to :: Rep TxData x -> TxData #

Serialize TxData Source # 
Instance details

Defined in Haskoin.Store.Data

NFData TxData Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: TxData -> () #

type Rep TxData Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep TxData = D1 ('MetaData "TxData" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "TxData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "txDataBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef) :*: (S1 ('MetaSel ('Just "txData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Tx) :*: S1 ('MetaSel ('Just "txDataPrevs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (IntMap Prev)))) :*: (S1 ('MetaSel ('Just "txDataDeleted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "txDataRBF") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "txDataTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))))

data Transaction Source #

Detailed transaction information.

Constructors

Transaction 

Fields

Instances

Instances details
Eq Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

Ord Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

Show Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

Generic Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep Transaction :: Type -> Type #

Hashable Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

NFData Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: Transaction -> () #

ApiResource GetTx Transaction Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetXPubTxsFull [Transaction] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetAddrsTxsFull [Transaction] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetAddrTxsFull [Transaction] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetTxsBlock [Transaction] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetTxs [Transaction] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep Transaction Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Transaction = D1 ('MetaData "Transaction" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "Transaction" 'PrefixI 'True) (((S1 ('MetaSel ('Just "transactionBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef) :*: (S1 ('MetaSel ('Just "transactionVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "transactionLockTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))) :*: (S1 ('MetaSel ('Just "transactionInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [StoreInput]) :*: (S1 ('MetaSel ('Just "transactionOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [StoreOutput]) :*: S1 ('MetaSel ('Just "transactionDeleted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "transactionRBF") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "transactionTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash))) :*: (S1 ('MetaSel ('Just "transactionSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: (S1 ('MetaSel ('Just "transactionWeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "transactionFees") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))))))

data StoreInput Source #

Instances

Instances details
Eq StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

Ord StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

Read StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

Show StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

Generic StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep StoreInput :: Type -> Type #

Hashable StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

NFData StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: StoreInput -> () #

type Rep StoreInput Source # 
Instance details

Defined in Haskoin.Store.Data

data StoreOutput Source #

Output information.

Instances

Instances details
Eq StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Ord StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Read StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Show StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Generic StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep StoreOutput :: Type -> Type #

Hashable StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

NFData StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: StoreOutput -> () #

type Rep StoreOutput Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep StoreOutput = D1 ('MetaData "StoreOutput" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "StoreOutput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "outputAmount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "outputScript") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "outputSpender") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Spender)) :*: S1 ('MetaSel ('Just "outputAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Address)))))

data Prev Source #

Constructors

Prev 

Instances

Instances details
Eq Prev Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord Prev Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

compare :: Prev -> Prev -> Ordering #

(<) :: Prev -> Prev -> Bool #

(<=) :: Prev -> Prev -> Bool #

(>) :: Prev -> Prev -> Bool #

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

max :: Prev -> Prev -> Prev #

min :: Prev -> Prev -> Prev #

Show Prev Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

showsPrec :: Int -> Prev -> ShowS #

show :: Prev -> String #

showList :: [Prev] -> ShowS #

Generic Prev Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep Prev :: Type -> Type #

Methods

from :: Prev -> Rep Prev x #

to :: Rep Prev x -> Prev #

Hashable Prev Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

hashWithSalt :: Int -> Prev -> Int #

hash :: Prev -> Int #

Serialize Prev Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

put :: Putter Prev #

get :: Get Prev #

NFData Prev Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: Prev -> () #

type Rep Prev Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Prev = D1 ('MetaData "Prev" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "Prev" 'PrefixI 'True) (S1 ('MetaSel ('Just "prevScript") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "prevAmount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))

data Spender Source #

Information about input spending output.

Constructors

Spender 

Fields

Instances

Instances details
Eq Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Read Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Show Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Generic Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep Spender :: Type -> Type #

Methods

from :: Spender -> Rep Spender x #

to :: Rep Spender x -> Spender #

Hashable Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

hashWithSalt :: Int -> Spender -> Int #

hash :: Spender -> Int #

ToJSON Spender Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize Spender Source # 
Instance details

Defined in Haskoin.Store.Data

NFData Spender Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: Spender -> () #

type Rep Spender Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Spender = D1 ('MetaData "Spender" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "Spender" 'PrefixI 'True) (S1 ('MetaSel ('Just "spenderHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "spenderIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)))

data BlockRef Source #

Reference to a block where a transaction is stored.

Constructors

BlockRef 

Fields

MemRef 

Fields

Instances

Instances details
Eq BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Ord BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Read BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Show BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BlockRef :: Type -> Type #

Methods

from :: BlockRef -> Rep BlockRef x #

to :: Rep BlockRef x -> BlockRef #

Hashable BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

hashWithSalt :: Int -> BlockRef -> Int #

hash :: BlockRef -> Int #

ToJSON BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize BlockRef Source #

Serialized entities will sort in reverse order.

Instance details

Defined in Haskoin.Store.Data

NFData BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BlockRef -> () #

type Rep BlockRef Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BlockRef = D1 ('MetaData "BlockRef" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BlockRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockRefHeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHeight) :*: S1 ('MetaSel ('Just "blockRefPos") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)) :+: C1 ('MetaCons "MemRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "memRefTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UnixTime)))

putUnixTime :: Word64 -> Put Source #

Serialize such that ordering is inverted.

Unspent Outputs

data Unspent Source #

Unspent output.

Instances

Instances details
Eq Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

Show Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

Generic Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep Unspent :: Type -> Type #

Methods

from :: Unspent -> Rep Unspent x #

to :: Rep Unspent x -> Unspent #

Hashable Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

hashWithSalt :: Int -> Unspent -> Int #

hash :: Unspent -> Int #

Serialize Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

NFData Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: Unspent -> () #

Coin Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

coinValue :: Unspent -> Word64 #

ApiResource GetAddrsUnspent [Unspent] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetAddrUnspent [Unspent] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep Unspent Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Unspent = D1 ('MetaData "Unspent" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "Unspent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "unspentBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockRef) :*: S1 ('MetaSel ('Just "unspentPoint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OutPoint)) :*: (S1 ('MetaSel ('Just "unspentAmount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "unspentScript") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ShortByteString) :*: S1 ('MetaSel ('Just "unspentAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Address))))))

Extended Public Keys

data XPubSpec Source #

Constructors

XPubSpec 

Instances

Instances details
Eq XPubSpec Source # 
Instance details

Defined in Haskoin.Store.Data

Show XPubSpec Source # 
Instance details

Defined in Haskoin.Store.Data

Generic XPubSpec Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep XPubSpec :: Type -> Type #

Methods

from :: XPubSpec -> Rep XPubSpec x #

to :: Rep XPubSpec x -> XPubSpec #

Hashable XPubSpec Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

hashWithSalt :: Int -> XPubSpec -> Int #

hash :: XPubSpec -> Int #

Serialize XPubSpec Source # 
Instance details

Defined in Haskoin.Store.Data

NFData XPubSpec Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: XPubSpec -> () #

type Rep XPubSpec Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep XPubSpec = D1 ('MetaData "XPubSpec" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "XPubSpec" 'PrefixI 'True) (S1 ('MetaSel ('Just "xPubSpecKey") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 XPubKey) :*: S1 ('MetaSel ('Just "xPubDeriveType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DeriveType)))

data XPubBal Source #

Address balances for an extended public key.

Constructors

XPubBal 

Fields

Instances

Instances details
Eq XPubBal Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord XPubBal Source # 
Instance details

Defined in Haskoin.Store.Data

Show XPubBal Source # 
Instance details

Defined in Haskoin.Store.Data

Generic XPubBal Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep XPubBal :: Type -> Type #

Methods

from :: XPubBal -> Rep XPubBal x #

to :: Rep XPubBal x -> XPubBal #

Serialize XPubBal Source # 
Instance details

Defined in Haskoin.Store.Data

NFData XPubBal Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: XPubBal -> () #

ApiResource GetXPubBalances [XPubBal] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep XPubBal Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep XPubBal = D1 ('MetaData "XPubBal" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "XPubBal" 'PrefixI 'True) (S1 ('MetaSel ('Just "xPubBalPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [KeyIndex]) :*: S1 ('MetaSel ('Just "xPubBal") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Balance)))

data XPubUnspent Source #

Unspent transaction for extended public key.

Constructors

XPubUnspent 

Instances

Instances details
Eq XPubUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Show XPubUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Generic XPubUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep XPubUnspent :: Type -> Type #

Serialize XPubUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

NFData XPubUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: XPubUnspent -> () #

ApiResource GetXPubUnspent [XPubUnspent] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep XPubUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep XPubUnspent = D1 ('MetaData "XPubUnspent" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "XPubUnspent" 'PrefixI 'True) (S1 ('MetaSel ('Just "xPubUnspentPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [KeyIndex]) :*: S1 ('MetaSel ('Just "xPubUnspent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Unspent)))

data XPubSummary Source #

Instances

Instances details
Eq XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

Show XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

Generic XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep XPubSummary :: Type -> Type #

ToJSON XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

NFData XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: XPubSummary -> () #

ApiResource GetXPub XPubSummary Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep XPubSummary Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep XPubSummary = D1 ('MetaData "XPubSummary" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "XPubSummary" 'PrefixI 'True) ((S1 ('MetaSel ('Just "xPubSummaryConfirmed") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "xPubSummaryZero") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "xPubSummaryReceived") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))) :*: (S1 ('MetaSel ('Just "xPubUnspentCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "xPubExternalIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "xPubChangeIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)))))

data DeriveType Source #

Instances

Instances details
Eq DeriveType Source # 
Instance details

Defined in Haskoin.Store.Data

Show DeriveType Source # 
Instance details

Defined in Haskoin.Store.Data

Generic DeriveType Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep DeriveType :: Type -> Type #

Serialize DeriveType Source # 
Instance details

Defined in Haskoin.Store.Data

NFData DeriveType Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: DeriveType -> () #

Default DeriveType Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

def :: DeriveType #

Param DeriveType Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep DeriveType Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep DeriveType = D1 ('MetaData "DeriveType" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "DeriveNormal" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DeriveP2SH" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeriveP2WPKH" 'PrefixI 'False) (U1 :: Type -> Type)))

Other Data

newtype TxId Source #

Constructors

TxId TxHash 

Instances

Instances details
Eq TxId Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Show TxId Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

showsPrec :: Int -> TxId -> ShowS #

show :: TxId -> String #

showList :: [TxId] -> ShowS #

Generic TxId Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep TxId :: Type -> Type #

Methods

from :: TxId -> Rep TxId x #

to :: Rep TxId x -> TxId #

ToJSON TxId Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON TxId Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize TxId Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

put :: Putter TxId #

get :: Get TxId #

NFData TxId Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: TxId -> () #

ApiResource PostTx TxId Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep TxId Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep TxId = D1 ('MetaData "TxId" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'True) (C1 ('MetaCons "TxId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash)))

newtype GenericResult a Source #

Constructors

GenericResult 

Fields

Instances

Instances details
ApiResource GetTxAfter (GenericResult (Maybe Bool)) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

Eq a => Eq (GenericResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

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

Defined in Haskoin.Store.Data

Generic (GenericResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

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

ToJSON a => ToJSON (GenericResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

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

Defined in Haskoin.Store.Data

Serialize a => Serialize (GenericResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

NFData a => NFData (GenericResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: GenericResult a -> () #

type Rep (GenericResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep (GenericResult a) = D1 ('MetaData "GenericResult" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'True) (C1 ('MetaCons "GenericResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "getResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

newtype RawResult a Source #

Constructors

RawResult 

Fields

Instances

Instances details
ApiResource GetTxRaw (RawResult Tx) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockMTPRaw (RawResult Block) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockTimeRaw (RawResult Block) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockBestRaw (RawResult Block) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockRaw (RawResult Block) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

Eq a => Eq (RawResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

(==) :: RawResult a -> RawResult a -> Bool #

(/=) :: RawResult a -> RawResult a -> Bool #

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

Defined in Haskoin.Store.Data

Generic (RawResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

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

Methods

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

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

Serialize a => ToJSON (RawResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize a => FromJSON (RawResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize a => Serialize (RawResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

put :: Putter (RawResult a) #

get :: Get (RawResult a) #

NFData a => NFData (RawResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: RawResult a -> () #

type Rep (RawResult a) Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep (RawResult a) = D1 ('MetaData "RawResult" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'True) (C1 ('MetaCons "RawResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "getRawResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))

newtype RawResultList a Source #

Constructors

RawResultList 

Fields

Instances

Instances details
ApiResource GetTxsBlockRaw (RawResultList Tx) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetTxsRaw (RawResultList Tx) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

ApiResource GetBlockHeightRaw (RawResultList Block) Source # 
Instance details

Defined in Haskoin.Store.WebCommon

Eq a => Eq (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

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

Defined in Haskoin.Store.Data

Generic (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

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

Semigroup (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

Monoid (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize a => ToJSON (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize a => FromJSON (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize a => Serialize (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

NFData a => NFData (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: RawResultList a -> () #

type Rep (RawResultList a) Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep (RawResultList a) = D1 ('MetaData "RawResultList" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'True) (C1 ('MetaCons "RawResultList" 'PrefixI 'True) (S1 ('MetaSel ('Just "getRawResultList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a])))

data PeerInformation Source #

Information about a connected peer.

Constructors

PeerInformation 

Fields

Instances

Instances details
Eq PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

Ord PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

Show PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

Generic PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep PeerInformation :: Type -> Type #

ToJSON PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

NFData PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: PeerInformation -> () #

ApiResource GetPeers [PeerInformation] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep PeerInformation Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep PeerInformation = D1 ('MetaData "PeerInformation" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "PeerInformation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "peerUserAgent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "peerAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :*: (S1 ('MetaSel ('Just "peerVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: (S1 ('MetaSel ('Just "peerServices") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "peerRelay") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))))

class Healthy a where Source #

Methods

isOK :: a -> Bool Source #

Instances

Instances details
Healthy HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

Healthy MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

isOK :: MaxHealth -> Bool Source #

Healthy CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Healthy TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

isOK :: TimeHealth -> Bool Source #

Healthy BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

data BlockHealth Source #

Instances

Instances details
Eq BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Show BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BlockHealth :: Type -> Type #

ToJSON BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BlockHealth -> () #

Healthy BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BlockHealth Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BlockHealth = D1 ('MetaData "BlockHealth" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BlockHealth" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockHealthHeaders") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHeight) :*: (S1 ('MetaSel ('Just "blockHealthBlocks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHeight) :*: S1 ('MetaSel ('Just "blockHealthMaxDiff") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int))))

data TimeHealth Source #

Constructors

TimeHealth 

Instances

Instances details
Eq TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Show TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Generic TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep TimeHealth :: Type -> Type #

ToJSON TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

NFData TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: TimeHealth -> () #

Healthy TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

isOK :: TimeHealth -> Bool Source #

type Rep TimeHealth Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep TimeHealth = D1 ('MetaData "TimeHealth" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "TimeHealth" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeHealthAge") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "timeHealthMax") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))

data CountHealth Source #

Constructors

CountHealth 

Instances

Instances details
Eq CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Show CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Generic CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep CountHealth :: Type -> Type #

ToJSON CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

NFData CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: CountHealth -> () #

Healthy CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep CountHealth Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep CountHealth = D1 ('MetaData "CountHealth" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "CountHealth" 'PrefixI 'True) (S1 ('MetaSel ('Just "countHealthNum") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "countHealthMin") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))

data MaxHealth Source #

Constructors

MaxHealth 

Fields

Instances

Instances details
Eq MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Show MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Generic MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep MaxHealth :: Type -> Type #

ToJSON MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

NFData MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: MaxHealth -> () #

Healthy MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

isOK :: MaxHealth -> Bool Source #

type Rep MaxHealth Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep MaxHealth = D1 ('MetaData "MaxHealth" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "MaxHealth" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxHealthNum") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "maxHealthMax") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))

data HealthCheck Source #

Instances

Instances details
Eq HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

Show HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

Generic HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep HealthCheck :: Type -> Type #

ToJSON HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

NFData HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: HealthCheck -> () #

Healthy HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

ApiResource GetHealth HealthCheck Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep HealthCheck Source # 
Instance details

Defined in Haskoin.Store.Data

data Event Source #

Instances

Instances details
Eq Event Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Show Event Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

ToJSON Event Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON Event Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize Event Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

put :: Putter Event #

get :: Get Event #

NFData Event Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: Event -> () #

ApiResource GetEvents [Event] Source # 
Instance details

Defined in Haskoin.Store.WebCommon

type Rep Event Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Event = D1 ('MetaData "Event" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "EventBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHash)) :+: C1 ('MetaCons "EventTx" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash)))

data Except Source #

Instances

Instances details
Eq Except Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Ord Except Source # 
Instance details

Defined in Haskoin.Store.Data

Show Except Source # 
Instance details

Defined in Haskoin.Store.Data

Generic Except Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep Except :: Type -> Type #

Methods

from :: Except -> Rep Except x #

to :: Rep Except x -> Except #

ToJSON Except Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON Except Source # 
Instance details

Defined in Haskoin.Store.Data

Exception Except Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize Except Source # 
Instance details

Defined in Haskoin.Store.Data

NFData Except Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: Except -> () #

ScottyError Except Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Except Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep Except = D1 ('MetaData "Except" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) ((C1 ('MetaCons "ThingNotFound" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ServerError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BadRequest" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "UserError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :+: C1 ('MetaCons "StringError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String))) :+: (C1 ('MetaCons "BlockTooLarge" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TxIndexConflict" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [TxHash])))))

Blockchain.info API

data BinfoTxId Source #

Instances

Instances details
Eq BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

Read BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoTxId :: Type -> Type #

ToJSON BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoTxId -> () #

Parsable BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoTxId Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoTxId = D1 ('MetaData "BinfoTxId" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoTxIdHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash)) :+: C1 ('MetaCons "BinfoTxIdIndex" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))

data BinfoFilter Source #

Instances

Instances details
Eq BinfoFilter Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoFilter Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoFilter Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoFilter :: Type -> Type #

Serialize BinfoFilter Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoFilter Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoFilter -> () #

Parsable BinfoFilter Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoFilter Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoFilter = D1 ('MetaData "BinfoFilter" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) ((C1 ('MetaCons "BinfoFilterAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BinfoFilterSent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BinfoFilterReceived" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "BinfoFilterMoved" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BinfoFilterConfirmed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BinfoFilterMempool" 'PrefixI 'False) (U1 :: Type -> Type))))

data BinfoMultiAddr Source #

Instances

Instances details
Eq BinfoMultiAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoMultiAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoMultiAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoMultiAddr :: Type -> Type #

NFData BinfoMultiAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoMultiAddr -> () #

type Rep BinfoMultiAddr Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoMultiAddr = D1 ('MetaData "BinfoMultiAddr" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoMultiAddr" 'PrefixI 'True) ((S1 ('MetaSel ('Just "getBinfoMultiAddrAddresses") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [BinfoBalance]) :*: (S1 ('MetaSel ('Just "getBinfoMultiAddrWallet") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BinfoWallet) :*: S1 ('MetaSel ('Just "getBinfoMultiAddrTxs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [BinfoTx]))) :*: (S1 ('MetaSel ('Just "getBinfoMultiAddrInfo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BinfoInfo) :*: (S1 ('MetaSel ('Just "getBinfoMultiAddrRecommendFee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "getBinfoMultiAddrCashAddr") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))))

data BinfoBalance Source #

Instances

Instances details
Eq BinfoBalance Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoBalance Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoBalance Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoBalance :: Type -> Type #

Serialize BinfoBalance Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoBalance Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoBalance -> () #

type Rep BinfoBalance Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoBalance = D1 ('MetaData "BinfoBalance" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoAddrBalance" 'PrefixI 'True) ((S1 ('MetaSel ('Just "getBinfoAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address) :*: S1 ('MetaSel ('Just "getBinfoAddrTxCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "getBinfoAddrReceived") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "getBinfoAddrSent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoAddrBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))) :+: C1 ('MetaCons "BinfoXPubBalance" 'PrefixI 'True) ((S1 ('MetaSel ('Just "getBinfoXPubKey") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 XPubKey) :*: (S1 ('MetaSel ('Just "getBinfoAddrTxCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoAddrReceived") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))) :*: ((S1 ('MetaSel ('Just "getBinfoAddrSent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoAddrBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "getBinfoXPubAccountIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "getBinfoXPubChangeIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)))))

data BinfoAddr Source #

Instances

Instances details
Eq BinfoAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoAddr :: Type -> Type #

Hashable BinfoAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize BinfoAddr Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoAddr Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoAddr -> () #

type Rep BinfoAddr Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoAddr = D1 ('MetaData "BinfoAddr" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoAddr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Address)) :+: C1 ('MetaCons "BinfoXpub" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 XPubKey)))

data BinfoWallet Source #

Instances

Instances details
Eq BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoWallet :: Type -> Type #

ToJSON BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoWallet -> () #

type Rep BinfoWallet Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoWallet = D1 ('MetaData "BinfoWallet" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoWallet" 'PrefixI 'True) ((S1 ('MetaSel ('Just "getBinfoWalletBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoWalletTxCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "getBinfoWalletFilteredCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "getBinfoWalletTotalReceived") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoWalletTotalSent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))))

data BinfoUnspent Source #

Instances

Instances details
Eq BinfoUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoUnspent :: Type -> Type #

Serialize BinfoUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoUnspent -> () #

type Rep BinfoUnspent Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoUnspent = D1 ('MetaData "BinfoUnspent" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoUnspent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "getBinfoUnspentHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash) :*: (S1 ('MetaSel ('Just "getBinfoUnspentOutputIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "getBinfoUnspentScript") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))) :*: ((S1 ('MetaSel ('Just "getBinfoUnspentValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoUnspentConfirmations") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just "getBinfoUnspentTxIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BinfoTxId) :*: S1 ('MetaSel ('Just "getBinfoUnspentXPub") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe BinfoXPubPath))))))

newtype BinfoUnspents Source #

Constructors

BinfoUnspents [BinfoUnspent] 

Instances

Instances details
Eq BinfoUnspents Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoUnspents Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoUnspents Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoUnspents :: Type -> Type #

Serialize BinfoUnspents Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoUnspents Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoUnspents -> () #

type Rep BinfoUnspents Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoUnspents = D1 ('MetaData "BinfoUnspents" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'True) (C1 ('MetaCons "BinfoUnspents" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BinfoUnspent])))

data BinfoTx Source #

Instances

Instances details
Eq BinfoTx Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

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

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

Show BinfoTx Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoTx Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoTx :: Type -> Type #

Methods

from :: BinfoTx -> Rep BinfoTx x #

to :: Rep BinfoTx x -> BinfoTx #

Serialize BinfoTx Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoTx Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoTx -> () #

type Rep BinfoTx Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoTx = D1 ('MetaData "BinfoTx" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoTx" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "getBinfoTxHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "getBinfoTxVer") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just "getBinfoTxVinSz") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "getBinfoTxVoutSz") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))) :*: ((S1 ('MetaSel ('Just "getBinfoTxSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "getBinfoTxWeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just "getBinfoTxFee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "getBinfoTxRelayedBy") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "getBinfoTxLockTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))))) :*: (((S1 ('MetaSel ('Just "getBinfoTxIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BinfoTxId) :*: S1 ('MetaSel ('Just "getBinfoTxDoubleSpend") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "getBinfoTxRBF") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "getBinfoTxResultBal") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (Int64, Int64))))) :*: ((S1 ('MetaSel ('Just "getBinfoTxTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoTxBlockIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Word32))) :*: (S1 ('MetaSel ('Just "getBinfoTxBlockHeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Word32)) :*: (S1 ('MetaSel ('Just "getBinfoTxInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BinfoTxInput]) :*: S1 ('MetaSel ('Just "getBinfoTxOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BinfoTxOutput])))))))

data BinfoTxInput Source #

Instances

Instances details
Eq BinfoTxInput Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoTxInput Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoTxInput Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoTxInput :: Type -> Type #

Serialize BinfoTxInput Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoTxInput Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoTxInput -> () #

type Rep BinfoTxInput Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoTxInput = D1 ('MetaData "BinfoTxInput" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoTxInput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "getBinfoTxInputSeq") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "getBinfoTxInputWitness") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "getBinfoTxInputScript") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "getBinfoTxInputIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "getBinfoTxInputPrevOut") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe BinfoTxOutput))))))

data BinfoTxOutput Source #

Instances

Instances details
Eq BinfoTxOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoTxOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoTxOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoTxOutput :: Type -> Type #

Serialize BinfoTxOutput Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoTxOutput Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoTxOutput -> () #

type Rep BinfoTxOutput Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoTxOutput = D1 ('MetaData "BinfoTxOutput" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoTxOutput" 'PrefixI 'True) (((S1 ('MetaSel ('Just "getBinfoTxOutputType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "getBinfoTxOutputSpent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "getBinfoTxOutputValue") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "getBinfoTxOutputIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))) :*: ((S1 ('MetaSel ('Just "getBinfoTxOutputTxIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BinfoTxId) :*: S1 ('MetaSel ('Just "getBinfoTxOutputScript") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "getBinfoTxOutputSpenders") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [BinfoSpender]) :*: (S1 ('MetaSel ('Just "getBinfoTxOutputAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Address)) :*: S1 ('MetaSel ('Just "getBinfoTxOutputXPub") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe BinfoXPubPath)))))))

data BinfoSpender Source #

Instances

Instances details
Eq BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

Show BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

Generic BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

Associated Types

type Rep BinfoSpender :: Type -> Type #

ToJSON BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

FromJSON BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

Serialize BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

NFData BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

Methods

rnf :: BinfoSpender -> () #

type Rep BinfoSpender Source # 
Instance details

Defined in Haskoin.Store.Data

type Rep BinfoSpender = D1 ('MetaData "BinfoSpender" "Haskoin.Store.Data" "haskoin-store-data-0.46.1-inplace" 'False) (C1 ('MetaCons "BinfoSpender" 'PrefixI 'True) (S1 ('MetaSel ('Just "getBinfoSpenderTxIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BinfoTxId) :*: S1 ('MetaSel ('Just "getBinfoSpenderIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32)))