blockfrost-api-0.3.1.0: API definitions for blockfrost.io
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Types.Cardano.Metadata

Description

Transaction metadata

Synopsis

Documentation

data TxMeta Source #

Transaction metadata label in use

Constructors

TxMeta 

Fields

Instances

Instances details
Eq TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Methods

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

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

Show 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 #

ToJSON TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

FromJSON TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToSample TxMeta Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Methods

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

HasLabel TxMeta Text Source # 
Instance details

Defined in Blockfrost.Lens

HasCount TxMeta Quantity 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.3.1.0-9MF0mqKIq7X32LLMNYkjEF" '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
Eq TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Show 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 #

ToJSON TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

FromJSON TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToSample TxMetaJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

HasTxHash TxMetaJSON Text 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.3.1.0-9MF0mqKIq7X32LLMNYkjEF" 'False) (C1 ('MetaCons "TxMetaJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txMetaJSONTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_txMetaJSONJSONMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value))))

data TxMetaCBOR Source #

Transaction metadata content in CBOR

Constructors

TxMetaCBOR 

Fields

Instances

Instances details
Eq TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Show 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 #

ToJSON TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

FromJSON TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToSample TxMetaCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

HasTxHash TxMetaCBOR Text 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.3.1.0-9MF0mqKIq7X32LLMNYkjEF" 'False) (C1 ('MetaCons "TxMetaCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txMetaCBORTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_txMetaCBORMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))