blockfrost-api-0.2.1.0: API definitions for blockfrost.io
Safe HaskellNone
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
Eq AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

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

ToJSON AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasType AddressInfo AddressType Source # 
Instance details

Defined in Blockfrost.Lens

HasScript AddressInfo Bool Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress AddressInfo Address Source # 
Instance details

Defined in Blockfrost.Lens

HasStakeAddress AddressInfo (Maybe Address) Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AddressInfo [Amount] 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.2.1.0-KZcfvGT2yF56UZeMbClPE7" '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 AddressType Source #

Type (era) of an address

Constructors

Byron 
Shelley 

Instances

Instances details
Eq AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

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

ToJSON AddressType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON 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

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.2.1.0-KZcfvGT2yF56UZeMbClPE7" '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
Eq AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

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

ToJSON AddressDetails Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON 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

HasSentSum AddressDetails [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasReceivedSum 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.2.1.0-KZcfvGT2yF56UZeMbClPE7" '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
Eq AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

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

ToJSON AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressUtxo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasTxHash AddressUtxo TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasOutputIndex AddressUtxo Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasBlock AddressUtxo BlockHash Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AddressUtxo [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasDataHash AddressUtxo (Maybe Text) 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.2.1.0-KZcfvGT2yF56UZeMbClPE7" 'False) (C1 ('MetaCons "AddressUtxo" 'PrefixI 'True) ((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 Text))))))

data AddressTransaction Source #

Transactions on the address

Constructors

AddressTransaction 

Fields

Instances

Instances details
Eq AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

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

ToJSON AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToSample AddressTransaction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

HasTxHash AddressTransaction TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxIndex AddressTransaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasBlockHeight 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.2.1.0-KZcfvGT2yF56UZeMbClPE7" '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))))