Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Cardano.Addresses
Description
Responses for Cardano address queries
Synopsis
- data AddressInfo = AddressInfo {}
- data AddressInfoExtended = AddressInfoExtended {}
- data AddressType
- data AddressDetails = AddressDetails {}
- data AddressUtxo = AddressUtxo {}
- data AddressTransaction = AddressTransaction {}
Documentation
data AddressInfo Source #
Information about Cardano address
Constructors
AddressInfo | |
Fields
|
Instances
data AddressInfoExtended Source #
Information about Cardano address
Constructors
AddressInfoExtended | |
Fields
|
Instances
FromJSON AddressInfoExtended Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods parseJSON :: Value -> Parser AddressInfoExtended # parseJSONList :: Value -> Parser [AddressInfoExtended] # | |||||
ToJSON AddressInfoExtended Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toJSON :: AddressInfoExtended -> Value # toEncoding :: AddressInfoExtended -> Encoding # toJSONList :: [AddressInfoExtended] -> Value # toEncodingList :: [AddressInfoExtended] -> Encoding # omitField :: AddressInfoExtended -> Bool # | |||||
Generic AddressInfoExtended Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Associated Types
Methods from :: AddressInfoExtended -> Rep AddressInfoExtended x # to :: Rep AddressInfoExtended x -> AddressInfoExtended # | |||||
Show AddressInfoExtended Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods showsPrec :: Int -> AddressInfoExtended -> ShowS # show :: AddressInfoExtended -> String # showList :: [AddressInfoExtended] -> ShowS # | |||||
Eq AddressInfoExtended Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods (==) :: AddressInfoExtended -> AddressInfoExtended -> Bool # (/=) :: AddressInfoExtended -> AddressInfoExtended -> Bool # | |||||
ToSample AddressInfoExtended Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toSamples :: Proxy AddressInfoExtended -> [(Text, AddressInfoExtended)] # | |||||
HasAddress AddressInfoExtended Address Source # | |||||
Defined in Blockfrost.Lens | |||||
HasScript AddressInfoExtended Bool Source # | |||||
Defined in Blockfrost.Lens | |||||
HasType AddressInfoExtended AddressType Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasAmount AddressInfoExtended [AmountExtended] Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' AddressInfoExtended [AmountExtended] Source # | |||||
HasStakeAddress AddressInfoExtended (Maybe Address) Source # | |||||
Defined in Blockfrost.Lens Methods stakeAddress :: Lens' AddressInfoExtended (Maybe Address) Source # | |||||
type Rep AddressInfoExtended Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses type Rep AddressInfoExtended = D1 ('MetaData "AddressInfoExtended" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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
Instances
FromJSON AddressType Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses | |||||
ToJSON AddressType Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toJSON :: AddressType -> Value # toEncoding :: AddressType -> Encoding # toJSONList :: [AddressType] -> Value # toEncodingList :: [AddressType] -> Encoding # omitField :: AddressType -> Bool # | |||||
Generic AddressType Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Associated Types
| |||||
Show AddressType Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods showsPrec :: Int -> AddressType -> ShowS # show :: AddressType -> String # showList :: [AddressType] -> ShowS # | |||||
Eq AddressType Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses | |||||
ToSample AddressType Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toSamples :: Proxy AddressType -> [(Text, AddressType)] # | |||||
HasType AddressInfo AddressType Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasType AddressInfoExtended AddressType Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep AddressType Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses |
data AddressDetails Source #
Details about Cardano address
Constructors
AddressDetails | |
Fields
|
Instances
FromJSON AddressDetails Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods parseJSON :: Value -> Parser AddressDetails # parseJSONList :: Value -> Parser [AddressDetails] # | |||||
ToJSON AddressDetails Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toJSON :: AddressDetails -> Value # toEncoding :: AddressDetails -> Encoding # toJSONList :: [AddressDetails] -> Value # toEncodingList :: [AddressDetails] -> Encoding # omitField :: AddressDetails -> Bool # | |||||
Generic AddressDetails Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Associated Types
Methods from :: AddressDetails -> Rep AddressDetails x # to :: Rep AddressDetails x -> AddressDetails # | |||||
Show AddressDetails Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods showsPrec :: Int -> AddressDetails -> ShowS # show :: AddressDetails -> String # showList :: [AddressDetails] -> ShowS # | |||||
Eq AddressDetails Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods (==) :: AddressDetails -> AddressDetails -> Bool # (/=) :: AddressDetails -> AddressDetails -> Bool # | |||||
ToSample AddressDetails Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toSamples :: Proxy AddressDetails -> [(Text, AddressDetails)] # | |||||
HasAddress AddressDetails Address Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTxCount AddressDetails Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
HasReceivedSum AddressDetails [Amount] Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasSentSum AddressDetails [Amount] Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AddressDetails Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses type Rep AddressDetails = D1 ('MetaData "AddressDetails" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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
FromJSON AddressUtxo Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses | |||||
ToJSON AddressUtxo Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toJSON :: AddressUtxo -> Value # toEncoding :: AddressUtxo -> Encoding # toJSONList :: [AddressUtxo] -> Value # toEncodingList :: [AddressUtxo] -> Encoding # omitField :: AddressUtxo -> Bool # | |||||
Generic AddressUtxo Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Associated Types
| |||||
Show AddressUtxo Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods showsPrec :: Int -> AddressUtxo -> ShowS # show :: AddressUtxo -> String # showList :: [AddressUtxo] -> ShowS # | |||||
Eq AddressUtxo Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses | |||||
ToSample AddressUtxo Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toSamples :: Proxy AddressUtxo -> [(Text, AddressUtxo)] # | |||||
HasAddress AddressUtxo Address Source # | |||||
Defined in Blockfrost.Lens | |||||
HasBlock AddressUtxo BlockHash Source # | |||||
Defined in Blockfrost.Lens | |||||
HasOutputIndex AddressUtxo Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasTxHash AddressUtxo TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
HasAmount AddressUtxo [Amount] Source # | |||||
Defined in Blockfrost.Lens | |||||
HasDataHash AddressUtxo (Maybe DatumHash) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasInlineDatum AddressUtxo (Maybe InlineDatum) Source # | |||||
Defined in Blockfrost.Lens Methods inlineDatum :: Lens' AddressUtxo (Maybe InlineDatum) Source # | |||||
HasReferenceScriptHash AddressUtxo (Maybe ScriptHash) Source # | |||||
Defined in Blockfrost.Lens Methods referenceScriptHash :: Lens' AddressUtxo (Maybe ScriptHash) Source # | |||||
type Rep AddressUtxo Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses type Rep AddressUtxo = D1 ('MetaData "AddressUtxo" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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
FromJSON AddressTransaction Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods parseJSON :: Value -> Parser AddressTransaction # parseJSONList :: Value -> Parser [AddressTransaction] # | |||||
ToJSON AddressTransaction Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toJSON :: AddressTransaction -> Value # toEncoding :: AddressTransaction -> Encoding # toJSONList :: [AddressTransaction] -> Value # toEncodingList :: [AddressTransaction] -> Encoding # omitField :: AddressTransaction -> Bool # | |||||
Generic AddressTransaction Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Associated Types
Methods from :: AddressTransaction -> Rep AddressTransaction x # to :: Rep AddressTransaction x -> AddressTransaction # | |||||
Show AddressTransaction Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods showsPrec :: Int -> AddressTransaction -> ShowS # show :: AddressTransaction -> String # showList :: [AddressTransaction] -> ShowS # | |||||
Eq AddressTransaction Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods (==) :: AddressTransaction -> AddressTransaction -> Bool # (/=) :: AddressTransaction -> AddressTransaction -> Bool # | |||||
ToSample AddressTransaction Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses Methods toSamples :: Proxy AddressTransaction -> [(Text, AddressTransaction)] # | |||||
HasBlockHeight AddressTransaction Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasBlockTime AddressTransaction POSIXTime Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTxHash AddressTransaction TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTxIndex AddressTransaction Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AddressTransaction Source # | |||||
Defined in Blockfrost.Types.Cardano.Addresses type Rep AddressTransaction = D1 ('MetaData "AddressTransaction" "Blockfrost.Types.Cardano.Addresses" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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)))) |