Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Cardano.Blocks
Contents
Description
Information about produced blocks
Synopsis
- data Block = Block {
- _blockTime :: POSIXTime
- _blockHeight :: Maybe Integer
- _blockHash :: BlockHash
- _blockSlot :: Maybe Slot
- _blockEpoch :: Maybe Epoch
- _blockEpochSlot :: Maybe Integer
- _blockSlotLeader :: Text
- _blockSize :: Integer
- _blockTxCount :: Integer
- _blockOutput :: Maybe Lovelaces
- _blockFees :: Maybe Lovelaces
- _blockBlockVrf :: Maybe Text
- _blockOpCert :: Maybe Text
- _blockOpCertCounter :: Maybe Quantity
- _blockPreviousBlock :: Maybe BlockHash
- _blockNextBlock :: Maybe BlockHash
- _blockConfirmations :: Integer
- newtype TxHashCBOR = TxHashCBOR {}
Documentation
Information about a block
Constructors
Block | |
Fields
|
Instances
newtype TxHashCBOR Source #
Transaction TxHash
to its respective TransactionCBOR
wrapper.
Intentionally not a Map to preserve ordering
Constructors
TxHashCBOR | |
Fields |
Instances
FromJSON TxHashCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Blocks | |||||
ToJSON TxHashCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Blocks Methods toJSON :: TxHashCBOR -> Value # toEncoding :: TxHashCBOR -> Encoding # toJSONList :: [TxHashCBOR] -> Value # toEncodingList :: [TxHashCBOR] -> Encoding # omitField :: TxHashCBOR -> Bool # | |||||
Generic TxHashCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Blocks Associated Types
| |||||
Show TxHashCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Blocks Methods showsPrec :: Int -> TxHashCBOR -> ShowS # show :: TxHashCBOR -> String # showList :: [TxHashCBOR] -> ShowS # | |||||
Eq TxHashCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Blocks | |||||
ToSample TxHashCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Blocks Methods toSamples :: Proxy TxHashCBOR -> [(Text, TxHashCBOR)] # | |||||
type Rep TxHashCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Blocks type Rep TxHashCBOR = D1 ('MetaData "TxHashCBOR" "Blockfrost.Types.Cardano.Blocks" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "TxHashCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "getTxHashCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TxHash, TransactionCBOR)))) |