Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Cardano.Accounts
Description
Responses for Cardano accounts queries
Synopsis
- data AccountInfo = AccountInfo {
- _accountInfoStakeAddress :: Address
- _accountInfoActive :: Bool
- _accountInfoActiveEpoch :: Maybe Integer
- _accountInfoControlledAmount :: Lovelaces
- _accountInfoRewardsSum :: Lovelaces
- _accountInfoWithdrawalsSum :: Lovelaces
- _accountInfoReservesSum :: Lovelaces
- _accountInfoTreasurySum :: Lovelaces
- _accountInfoWithdrawableAmount :: Lovelaces
- _accountInfoPoolId :: Maybe PoolId
- _accountInfoDrepId :: Maybe DRepIdBech32
- data RewardType
- data AccountReward = AccountReward {}
- data AccountHistory = AccountHistory {}
- data AccountDelegation = AccountDelegation {}
- data AccountRegistration = AccountRegistration {}
- data AccountRegistrationAction
- data AccountWithdrawal = AccountWithdrawal {}
- data AccountMir = AccountMir {}
- newtype AddressAssociated = AddressAssociated {}
- data AddressAssociatedTotal = AddressAssociatedTotal {}
Documentation
data AccountInfo Source #
Information about an account, identified by its stake address
Constructors
AccountInfo | |
Fields
|
Instances
data RewardType Source #
Reward type
Constructors
Leader | |
Member | |
PoolDepositRefund |
Instances
FromJSON RewardType Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts | |||||
ToJSON RewardType Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: RewardType -> Value # toEncoding :: RewardType -> Encoding # toJSONList :: [RewardType] -> Value # toEncodingList :: [RewardType] -> Encoding # omitField :: RewardType -> Bool # | |||||
Generic RewardType Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
| |||||
Show RewardType Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> RewardType -> ShowS # show :: RewardType -> String # showList :: [RewardType] -> ShowS # | |||||
Eq RewardType Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts | |||||
ToSample RewardType Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy RewardType -> [(Text, RewardType)] # | |||||
HasType AccountReward RewardType Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep RewardType Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep RewardType = D1 ('MetaData "RewardType" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "Leader" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Member" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PoolDepositRefund" 'PrefixI 'False) (U1 :: Type -> Type))) |
data AccountReward Source #
Reward received by an account
Constructors
AccountReward | |
Fields
|
Instances
FromJSON AccountReward Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AccountReward # parseJSONList :: Value -> Parser [AccountReward] # | |||||
ToJSON AccountReward Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AccountReward -> Value # toEncoding :: AccountReward -> Encoding # toJSONList :: [AccountReward] -> Value # toEncodingList :: [AccountReward] -> Encoding # omitField :: AccountReward -> Bool # | |||||
Generic AccountReward Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
| |||||
Show AccountReward Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AccountReward -> ShowS # show :: AccountReward -> String # showList :: [AccountReward] -> ShowS # | |||||
Eq AccountReward Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AccountReward -> AccountReward -> Bool # (/=) :: AccountReward -> AccountReward -> Bool # | |||||
ToSample AccountReward Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AccountReward -> [(Text, AccountReward)] # | |||||
a ~ Lovelaces => HasAmount AccountReward a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' AccountReward a Source # | |||||
HasEpoch AccountReward Epoch Source # | |||||
Defined in Blockfrost.Lens | |||||
HasPoolId AccountReward PoolId Source # | |||||
Defined in Blockfrost.Lens | |||||
HasType AccountReward RewardType Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep AccountReward Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AccountReward = D1 ('MetaData "AccountReward" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "AccountReward" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_accountRewardEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch) :*: S1 ('MetaSel ('Just "_accountRewardAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)) :*: (S1 ('MetaSel ('Just "_accountRewardPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId) :*: S1 ('MetaSel ('Just "_accountRewardType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RewardType)))) |
data AccountHistory Source #
History of accounts stake delegation
Constructors
AccountHistory | |
Fields
|
Instances
FromJSON AccountHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AccountHistory # parseJSONList :: Value -> Parser [AccountHistory] # | |||||
ToJSON AccountHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AccountHistory -> Value # toEncoding :: AccountHistory -> Encoding # toJSONList :: [AccountHistory] -> Value # toEncodingList :: [AccountHistory] -> Encoding # omitField :: AccountHistory -> Bool # | |||||
Generic AccountHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
Methods from :: AccountHistory -> Rep AccountHistory x # to :: Rep AccountHistory x -> AccountHistory # | |||||
Show AccountHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AccountHistory -> ShowS # show :: AccountHistory -> String # showList :: [AccountHistory] -> ShowS # | |||||
Eq AccountHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AccountHistory -> AccountHistory -> Bool # (/=) :: AccountHistory -> AccountHistory -> Bool # | |||||
ToSample AccountHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AccountHistory -> [(Text, AccountHistory)] # | |||||
HasActiveEpoch AccountHistory Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Lovelaces => HasAmount AccountHistory a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' AccountHistory a Source # | |||||
HasPoolId AccountHistory PoolId Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AccountHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AccountHistory = D1 ('MetaData "AccountHistory" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "AccountHistory" 'PrefixI 'True) (S1 ('MetaSel ('Just "_accountHistoryActiveEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "_accountHistoryAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_accountHistoryPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId)))) |
data AccountDelegation Source #
Account delegations and associated transaction IDs
Constructors
AccountDelegation | |
Fields
|
Instances
FromJSON AccountDelegation Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AccountDelegation # parseJSONList :: Value -> Parser [AccountDelegation] # | |||||
ToJSON AccountDelegation Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AccountDelegation -> Value # toEncoding :: AccountDelegation -> Encoding # toJSONList :: [AccountDelegation] -> Value # toEncodingList :: [AccountDelegation] -> Encoding # omitField :: AccountDelegation -> Bool # | |||||
Generic AccountDelegation Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
Methods from :: AccountDelegation -> Rep AccountDelegation x # to :: Rep AccountDelegation x -> AccountDelegation # | |||||
Show AccountDelegation Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AccountDelegation -> ShowS # show :: AccountDelegation -> String # showList :: [AccountDelegation] -> ShowS # | |||||
Eq AccountDelegation Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AccountDelegation -> AccountDelegation -> Bool # (/=) :: AccountDelegation -> AccountDelegation -> Bool # | |||||
ToSample AccountDelegation Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AccountDelegation -> [(Text, AccountDelegation)] # | |||||
HasActiveEpoch AccountDelegation Epoch Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Lovelaces => HasAmount AccountDelegation a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' AccountDelegation a Source # | |||||
HasPoolId AccountDelegation PoolId Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTxHash AccountDelegation TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AccountDelegation Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AccountDelegation = D1 ('MetaData "AccountDelegation" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "AccountDelegation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_accountDelegationActiveEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch) :*: S1 ('MetaSel ('Just "_accountDelegationTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash)) :*: (S1 ('MetaSel ('Just "_accountDelegationAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_accountDelegationPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId)))) |
data AccountRegistration Source #
Account (de)registration
Constructors
AccountRegistration | |
Fields
|
Instances
FromJSON AccountRegistration Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AccountRegistration # parseJSONList :: Value -> Parser [AccountRegistration] # | |||||
ToJSON AccountRegistration Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AccountRegistration -> Value # toEncoding :: AccountRegistration -> Encoding # toJSONList :: [AccountRegistration] -> Value # toEncodingList :: [AccountRegistration] -> Encoding # omitField :: AccountRegistration -> Bool # | |||||
Generic AccountRegistration Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
Methods from :: AccountRegistration -> Rep AccountRegistration x # to :: Rep AccountRegistration x -> AccountRegistration # | |||||
Show AccountRegistration Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AccountRegistration -> ShowS # show :: AccountRegistration -> String # showList :: [AccountRegistration] -> ShowS # | |||||
Eq AccountRegistration Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AccountRegistration -> AccountRegistration -> Bool # (/=) :: AccountRegistration -> AccountRegistration -> Bool # | |||||
ToSample AccountRegistration Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AccountRegistration -> [(Text, AccountRegistration)] # | |||||
HasAction AccountRegistration AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTxHash AccountRegistration TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AccountRegistration Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AccountRegistration = D1 ('MetaData "AccountRegistration" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "AccountRegistration" 'PrefixI 'True) (S1 ('MetaSel ('Just "_accountRegistrationAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountRegistrationAction) :*: S1 ('MetaSel ('Just "_accountRegistrationTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash))) |
data AccountRegistrationAction Source #
Registration action
Constructors
Registered | |
Deregistered |
Instances
FromJSON AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AccountRegistrationAction # parseJSONList :: Value -> Parser [AccountRegistrationAction] # | |||||
ToJSON AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AccountRegistrationAction -> Value # toEncoding :: AccountRegistrationAction -> Encoding # toJSONList :: [AccountRegistrationAction] -> Value # | |||||
Generic AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
Methods from :: AccountRegistrationAction -> Rep AccountRegistrationAction x # to :: Rep AccountRegistrationAction x -> AccountRegistrationAction # | |||||
Show AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AccountRegistrationAction -> ShowS # show :: AccountRegistrationAction -> String # showList :: [AccountRegistrationAction] -> ShowS # | |||||
Eq AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AccountRegistrationAction -> AccountRegistrationAction -> Bool # (/=) :: AccountRegistrationAction -> AccountRegistrationAction -> Bool # | |||||
ToSample AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AccountRegistrationAction -> [(Text, AccountRegistrationAction)] # | |||||
HasAction AccountRegistration AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AccountRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AccountRegistrationAction = D1 ('MetaData "AccountRegistrationAction" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "Registered" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Deregistered" 'PrefixI 'False) (U1 :: Type -> Type)) |
data AccountWithdrawal Source #
Withdrawal from an account
Constructors
AccountWithdrawal | |
Fields
|
Instances
FromJSON AccountWithdrawal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AccountWithdrawal # parseJSONList :: Value -> Parser [AccountWithdrawal] # | |||||
ToJSON AccountWithdrawal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AccountWithdrawal -> Value # toEncoding :: AccountWithdrawal -> Encoding # toJSONList :: [AccountWithdrawal] -> Value # toEncodingList :: [AccountWithdrawal] -> Encoding # omitField :: AccountWithdrawal -> Bool # | |||||
Generic AccountWithdrawal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
Methods from :: AccountWithdrawal -> Rep AccountWithdrawal x # to :: Rep AccountWithdrawal x -> AccountWithdrawal # | |||||
Show AccountWithdrawal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AccountWithdrawal -> ShowS # show :: AccountWithdrawal -> String # showList :: [AccountWithdrawal] -> ShowS # | |||||
Eq AccountWithdrawal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AccountWithdrawal -> AccountWithdrawal -> Bool # (/=) :: AccountWithdrawal -> AccountWithdrawal -> Bool # | |||||
ToSample AccountWithdrawal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AccountWithdrawal -> [(Text, AccountWithdrawal)] # | |||||
a ~ Lovelaces => HasAmount AccountWithdrawal a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' AccountWithdrawal a Source # | |||||
HasTxHash AccountWithdrawal TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AccountWithdrawal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AccountWithdrawal = D1 ('MetaData "AccountWithdrawal" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "AccountWithdrawal" 'PrefixI 'True) (S1 ('MetaSel ('Just "_accountWithdrawalAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_accountWithdrawalTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash))) |
data AccountMir Source #
Account MIR (Move Instantaneous Reward)
Constructors
AccountMir | |
Fields
|
Instances
FromJSON AccountMir Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts | |||||
ToJSON AccountMir Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AccountMir -> Value # toEncoding :: AccountMir -> Encoding # toJSONList :: [AccountMir] -> Value # toEncodingList :: [AccountMir] -> Encoding # omitField :: AccountMir -> Bool # | |||||
Generic AccountMir Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
| |||||
Show AccountMir Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AccountMir -> ShowS # show :: AccountMir -> String # showList :: [AccountMir] -> ShowS # | |||||
Eq AccountMir Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts | |||||
ToSample AccountMir Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AccountMir -> [(Text, AccountMir)] # | |||||
a ~ Lovelaces => HasAmount AccountMir a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' AccountMir a Source # | |||||
HasTxHash AccountMir TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AccountMir Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AccountMir = D1 ('MetaData "AccountMir" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "AccountMir" 'PrefixI 'True) (S1 ('MetaSel ('Just "_accountMirAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_accountMirTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash))) |
newtype AddressAssociated Source #
Address associated with an account address
Constructors
AddressAssociated | |
Fields |
Instances
FromJSON AddressAssociated Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AddressAssociated # parseJSONList :: Value -> Parser [AddressAssociated] # | |||||
ToJSON AddressAssociated Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AddressAssociated -> Value # toEncoding :: AddressAssociated -> Encoding # toJSONList :: [AddressAssociated] -> Value # toEncodingList :: [AddressAssociated] -> Encoding # omitField :: AddressAssociated -> Bool # | |||||
Generic AddressAssociated Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
Methods from :: AddressAssociated -> Rep AddressAssociated x # to :: Rep AddressAssociated x -> AddressAssociated # | |||||
Show AddressAssociated Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AddressAssociated -> ShowS # show :: AddressAssociated -> String # showList :: [AddressAssociated] -> ShowS # | |||||
Eq AddressAssociated Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AddressAssociated -> AddressAssociated -> Bool # (/=) :: AddressAssociated -> AddressAssociated -> Bool # | |||||
ToSample AddressAssociated Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AddressAssociated -> [(Text, AddressAssociated)] # | |||||
type Rep AddressAssociated Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AddressAssociated = D1 ('MetaData "AddressAssociated" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "AddressAssociated" 'PrefixI 'True) (S1 ('MetaSel ('Just "_addressAssociatedAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address))) |
data AddressAssociatedTotal Source #
Detailed information about account associated addresses
Constructors
AddressAssociatedTotal | |
Fields
|
Instances
FromJSON AddressAssociatedTotal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods parseJSON :: Value -> Parser AddressAssociatedTotal # parseJSONList :: Value -> Parser [AddressAssociatedTotal] # | |||||
ToJSON AddressAssociatedTotal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toJSON :: AddressAssociatedTotal -> Value # toEncoding :: AddressAssociatedTotal -> Encoding # toJSONList :: [AddressAssociatedTotal] -> Value # toEncodingList :: [AddressAssociatedTotal] -> Encoding # omitField :: AddressAssociatedTotal -> Bool # | |||||
Generic AddressAssociatedTotal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Associated Types
Methods from :: AddressAssociatedTotal -> Rep AddressAssociatedTotal x # to :: Rep AddressAssociatedTotal x -> AddressAssociatedTotal # | |||||
Show AddressAssociatedTotal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods showsPrec :: Int -> AddressAssociatedTotal -> ShowS # show :: AddressAssociatedTotal -> String # showList :: [AddressAssociatedTotal] -> ShowS # | |||||
Eq AddressAssociatedTotal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods (==) :: AddressAssociatedTotal -> AddressAssociatedTotal -> Bool # (/=) :: AddressAssociatedTotal -> AddressAssociatedTotal -> Bool # | |||||
ToSample AddressAssociatedTotal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts Methods toSamples :: Proxy AddressAssociatedTotal -> [(Text, AddressAssociatedTotal)] # | |||||
HasStakeAddress AddressAssociatedTotal Address Source # | |||||
Defined in Blockfrost.Lens Methods stakeAddress :: Lens' AddressAssociatedTotal Address Source # | |||||
HasTxCount AddressAssociatedTotal Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
HasReceivedSum AddressAssociatedTotal [Amount] Source # | |||||
Defined in Blockfrost.Lens Methods receivedSum :: Lens' AddressAssociatedTotal [Amount] Source # | |||||
HasSentSum AddressAssociatedTotal [Amount] Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep AddressAssociatedTotal Source # | |||||
Defined in Blockfrost.Types.Cardano.Accounts type Rep AddressAssociatedTotal = D1 ('MetaData "AddressAssociatedTotal" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "AddressAssociatedTotal" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_addressAssociatedTotalStakeAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_addressAssociatedTotalReceivedSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Amount])) :*: (S1 ('MetaSel ('Just "_addressAssociatedTotalSentSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Amount]) :*: S1 ('MetaSel ('Just "_addressAssociatedTotalTxCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) |