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

Blockfrost.Types.Cardano.Addresses

Description

Responses for Cardano address queries

Synopsis

Documentation

data AddressInfo Source #

Information about Cardano address

Constructors

AddressInfo 

Fields

Instances

Instances details
FromJSON AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Generic AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressInfo :: Type -> Type #

Show AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Eq AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasAddress AddressInfo Address Source # 
Instance details

Defined in Blockfrost.Lens

HasScript AddressInfo Bool Source # 
Instance details

Defined in Blockfrost.Lens

HasType AddressInfo AddressType Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AddressInfo [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasStakeAddress AddressInfo (Maybe Address) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

type Rep AddressInfo = D1 ('MetaData "AddressInfo" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "AddressInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_addressInfoAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_addressInfoAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Amount])) :*: (S1 ('MetaSel ('Just "_addressInfoStakeAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Address)) :*: (S1 ('MetaSel ('Just "_addressInfoType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AddressType) :*: S1 ('MetaSel ('Just "_addressInfoScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))

data AddressInfoExtended Source #

Information about Cardano address

Constructors

AddressInfoExtended 

Fields

Instances

Instances details
FromJSON AddressInfoExtended Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressInfoExtended Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Generic AddressInfoExtended Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressInfoExtended :: Type -> Type #

Show AddressInfoExtended Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Eq AddressInfoExtended Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressInfoExtended Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasAddress AddressInfoExtended Address Source # 
Instance details

Defined in Blockfrost.Lens

HasScript AddressInfoExtended Bool Source # 
Instance details

Defined in Blockfrost.Lens

HasType AddressInfoExtended AddressType Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AddressInfoExtended [AmountExtended] Source # 
Instance details

Defined in Blockfrost.Lens

HasStakeAddress AddressInfoExtended (Maybe Address) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AddressInfoExtended Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

type Rep AddressInfoExtended = D1 ('MetaData "AddressInfoExtended" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "AddressInfoExtended" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_addressInfoExtendedAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_addressInfoExtendedAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AmountExtended])) :*: (S1 ('MetaSel ('Just "_addressInfoExtendedStakeAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Address)) :*: (S1 ('MetaSel ('Just "_addressInfoExtendedType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AddressType) :*: S1 ('MetaSel ('Just "_addressInfoExtendedScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))

data AddressType Source #

Type (era) of an address

Constructors

Byron 
Shelley 

Instances

Instances details
FromJSON AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Generic AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressType :: Type -> Type #

Show AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Eq AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasType AddressInfo AddressType Source # 
Instance details

Defined in Blockfrost.Lens

HasType AddressInfoExtended AddressType Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

type Rep AddressType = D1 ('MetaData "AddressType" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "Byron" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Shelley" 'PrefixI 'False) (U1 :: Type -> Type))

data AddressDetails Source #

Details about Cardano address

Constructors

AddressDetails 

Fields

Instances

Instances details
FromJSON AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Generic AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressDetails :: Type -> Type #

Show AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Eq AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasAddress AddressDetails Address Source # 
Instance details

Defined in Blockfrost.Lens

HasTxCount AddressDetails Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasReceivedSum AddressDetails [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasSentSum AddressDetails [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

type Rep AddressDetails = D1 ('MetaData "AddressDetails" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "AddressDetails" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_addressDetailsAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_addressDetailsReceivedSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Amount])) :*: (S1 ('MetaSel ('Just "_addressDetailsSentSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Amount]) :*: S1 ('MetaSel ('Just "_addressDetailsTxCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))))

data AddressUtxo Source #

UTxOs of the address

Constructors

AddressUtxo 

Fields

Instances

Instances details
FromJSON AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Generic AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressUtxo :: Type -> Type #

Show AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Eq AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasAddress AddressUtxo Address Source # 
Instance details

Defined in Blockfrost.Lens

HasBlock AddressUtxo BlockHash Source # 
Instance details

Defined in Blockfrost.Lens

HasOutputIndex AddressUtxo Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AddressUtxo TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AddressUtxo [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasDataHash AddressUtxo (Maybe DatumHash) Source # 
Instance details

Defined in Blockfrost.Lens

HasInlineDatum AddressUtxo (Maybe InlineDatum) Source # 
Instance details

Defined in Blockfrost.Lens

HasReferenceScriptHash AddressUtxo (Maybe ScriptHash) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

type Rep AddressUtxo = D1 ('MetaData "AddressUtxo" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "AddressUtxo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_addressUtxoAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_addressUtxoTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash)) :*: (S1 ('MetaSel ('Just "_addressUtxoOutputIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_addressUtxoAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Amount]))) :*: ((S1 ('MetaSel ('Just "_addressUtxoBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockHash) :*: S1 ('MetaSel ('Just "_addressUtxoDataHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DatumHash))) :*: (S1 ('MetaSel ('Just "_addressUtxoInlineDatum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InlineDatum)) :*: S1 ('MetaSel ('Just "_addressUtxoReferenceScriptHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ScriptHash))))))

data AddressTransaction Source #

Transactions on the address

Constructors

AddressTransaction 

Fields

Instances

Instances details
FromJSON AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Generic AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressTransaction :: Type -> Type #

Show AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Eq AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasBlockHeight AddressTransaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasBlockTime AddressTransaction POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AddressTransaction TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxIndex AddressTransaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

type Rep AddressTransaction = D1 ('MetaData "AddressTransaction" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "AddressTransaction" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_addressTransactionTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "_addressTransactionTxIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_addressTransactionBlockHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_addressTransactionBlockTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime))))