blockfrost-api-0.1.0.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

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.1.0.0-IUovSY8qZrZI80mAb9CnjM" '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))))

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.1.0.0-IUovSY8qZrZI80mAb9CnjM" '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.1.0.0-IUovSY8qZrZI80mAb9CnjM" '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

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.1.0.0-IUovSY8qZrZI80mAb9CnjM" '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))))

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.1.0.0-IUovSY8qZrZI80mAb9CnjM" '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))))