blockfrost-api-0.8.1.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Cardano.Metadata

Description

Transaction metadata

Synopsis

Documentation

data TxMeta Source #

Transaction metadata label in use

Constructors

TxMeta 

Fields

Instances

Instances details
FromJSON TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToJSON TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Generic TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Associated Types

type Rep TxMeta :: Type -> Type #

Methods

from :: TxMeta -> Rep TxMeta x #

to :: Rep TxMeta x -> TxMeta #

Show TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Eq TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Methods

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

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

ToSample TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Methods

toSamples :: Proxy TxMeta -> [(Text, TxMeta)] #

HasCount TxMeta Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasLabel TxMeta Text Source # 
Instance details

Defined in Blockfrost.Lens

HasCip10 TxMeta (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

type Rep TxMeta = D1 ('MetaData "TxMeta" "Blockfrost.Types.Cardano.Metadata" "blockfrost-api-0.8.1.0-K9v6N3qJVNI4T6rRmF5pd8" 'False) (C1 ('MetaCons "TxMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txMetaLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_txMetaCip10") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_txMetaCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity))))

data TxMetaJSON Source #

Transaction metadata content in JSON

Constructors

TxMetaJSON 

Fields

Instances

Instances details
FromJSON TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToJSON TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Generic TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Associated Types

type Rep TxMetaJSON :: Type -> Type #

Show TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Eq TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToSample TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

HasTxHash TxMetaJSON TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasJSONMetadata TxMetaJSON (Maybe Value) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

type Rep TxMetaJSON = D1 ('MetaData "TxMetaJSON" "Blockfrost.Types.Cardano.Metadata" "blockfrost-api-0.8.1.0-K9v6N3qJVNI4T6rRmF5pd8" '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

Instances details
FromJSON TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToJSON TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Generic TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Associated Types

type Rep TxMetaCBOR :: Type -> Type #

Show TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Eq TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToSample TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

HasTxHash TxMetaCBOR TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasMetadata TxMetaCBOR (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

type Rep TxMetaCBOR = D1 ('MetaData "TxMetaCBOR" "Blockfrost.Types.Cardano.Metadata" "blockfrost-api-0.8.1.0-K9v6N3qJVNI4T6rRmF5pd8" '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))))