| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Cardano.Metadata
Description
Transaction metadata
Synopsis
- data TxMeta = TxMeta {}
- data TxMetaJSON = TxMetaJSON {}
- data TxMetaCBOR = TxMetaCBOR {}
Documentation
Transaction metadata label in use
Constructors
| TxMeta | |
Fields
| |
Instances
data TxMetaJSON Source #
Transaction metadata content in JSON
Constructors
| TxMetaJSON | |
Fields
| |
Instances
| FromJSON TxMetaJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata | |||||
| ToJSON TxMetaJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Methods toJSON :: TxMetaJSON -> Value # toEncoding :: TxMetaJSON -> Encoding # toJSONList :: [TxMetaJSON] -> Value # toEncodingList :: [TxMetaJSON] -> Encoding # omitField :: TxMetaJSON -> Bool # | |||||
| Generic TxMetaJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Associated Types
| |||||
| Show TxMetaJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Methods showsPrec :: Int -> TxMetaJSON -> ShowS # show :: TxMetaJSON -> String # showList :: [TxMetaJSON] -> ShowS # | |||||
| Eq TxMetaJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata | |||||
| ToSample TxMetaJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Methods toSamples :: Proxy TxMetaJSON -> [(Text, TxMetaJSON)] # | |||||
| HasTxHash TxMetaJSON TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasJSONMetadata TxMetaJSON (Maybe Value) Source # | |||||
Defined in Blockfrost.Lens Methods jSONMetadata :: Lens' TxMetaJSON (Maybe Value) Source # | |||||
| type Rep TxMetaJSON Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata type Rep TxMetaJSON = D1 ('MetaData "TxMetaJSON" "Blockfrost.Types.Cardano.Metadata" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "TxMetaJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txMetaJSONTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "_txMetaJSONJSONMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)))) | |||||
data TxMetaCBOR Source #
Transaction metadata content in CBOR
Constructors
| TxMetaCBOR | |
Fields
| |
Instances
| FromJSON TxMetaCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata | |||||
| ToJSON TxMetaCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Methods toJSON :: TxMetaCBOR -> Value # toEncoding :: TxMetaCBOR -> Encoding # toJSONList :: [TxMetaCBOR] -> Value # toEncodingList :: [TxMetaCBOR] -> Encoding # omitField :: TxMetaCBOR -> Bool # | |||||
| Generic TxMetaCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Associated Types
| |||||
| Show TxMetaCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Methods showsPrec :: Int -> TxMetaCBOR -> ShowS # show :: TxMetaCBOR -> String # showList :: [TxMetaCBOR] -> ShowS # | |||||
| Eq TxMetaCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata | |||||
| ToSample TxMetaCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata Methods toSamples :: Proxy TxMetaCBOR -> [(Text, TxMetaCBOR)] # | |||||
| HasTxHash TxMetaCBOR TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasMetadata TxMetaCBOR (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens | |||||
| type Rep TxMetaCBOR Source # | |||||
Defined in Blockfrost.Types.Cardano.Metadata type Rep TxMetaCBOR = D1 ('MetaData "TxMetaCBOR" "Blockfrost.Types.Cardano.Metadata" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "TxMetaCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txMetaCBORTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "_txMetaCBORMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) | |||||