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

Blockfrost.Types.Cardano.Accounts

Description

Responses for Cardano accounts queries

Synopsis

Documentation

data AccountInfo Source #

Information about an account, identified by its stake address

Constructors

AccountInfo 

Fields

Instances

Instances details
FromJSON AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountInfo :: Type -> Type #

Show AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasActive AccountInfo Bool Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasControlledAmount AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasReservesSum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasRewardsSum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasStakeAddress AccountInfo Address Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasTreasurySum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasWithdrawableAmount AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasWithdrawalsSum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveEpoch AccountInfo (Maybe Integer) Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountInfo (Maybe PoolId) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountInfo = D1 ('MetaData "AccountInfo" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" 'False) (C1 ('MetaCons "AccountInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_accountInfoStakeAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_accountInfoActive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "_accountInfoActiveEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "_accountInfoControlledAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_accountInfoRewardsSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)))) :*: ((S1 ('MetaSel ('Just "_accountInfoWithdrawalsSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_accountInfoReservesSum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)) :*: (S1 ('MetaSel ('Just "_accountInfoTreasurySum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: (S1 ('MetaSel ('Just "_accountInfoWithdrawableAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_accountInfoPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PoolId)))))))

data RewardType Source #

Reward type

Instances

Instances details
FromJSON RewardType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON RewardType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic RewardType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep RewardType :: Type -> Type #

Show RewardType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq RewardType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample RewardType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasType AccountReward RewardType Source # 
Instance details

Defined in Blockfrost.Lens

type Rep RewardType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep RewardType = D1 ('MetaData "RewardType" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances details
FromJSON AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountReward :: Type -> Type #

Show AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

a ~ Lovelaces => HasAmount AccountReward a Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch AccountReward Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountReward PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasType AccountReward RewardType Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountReward = D1 ('MetaData "AccountReward" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances details
FromJSON AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountHistory :: Type -> Type #

Show AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasActiveEpoch AccountHistory Integer Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountHistory a Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountHistory PoolId Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountHistory = D1 ('MetaData "AccountHistory" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances details
FromJSON AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountDelegation :: Type -> Type #

Show AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasActiveEpoch AccountDelegation Epoch Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountDelegation a Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountDelegation PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountDelegation TxHash Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountDelegation = D1 ('MetaData "AccountDelegation" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances details
FromJSON AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountRegistration :: Type -> Type #

Show AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasAction AccountRegistration AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountRegistration TxHash Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountRegistration = D1 ('MetaData "AccountRegistration" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances details
FromJSON AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountRegistrationAction :: Type -> Type #

Show AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasAction AccountRegistration AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountRegistrationAction = D1 ('MetaData "AccountRegistrationAction" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances details
FromJSON AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountWithdrawal :: Type -> Type #

Show AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

a ~ Lovelaces => HasAmount AccountWithdrawal a Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountWithdrawal TxHash Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountWithdrawal = D1 ('MetaData "AccountWithdrawal" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances details
FromJSON AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountMir :: Type -> Type #

Show AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

a ~ Lovelaces => HasAmount AccountMir a Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountMir TxHash Source # 
Instance details

Defined in Blockfrost.Lens

type Rep AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AccountMir = D1 ('MetaData "AccountMir" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" '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

Instances

Instances details
FromJSON AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Generic AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AddressAssociated :: Type -> Type #

Show AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Eq AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

type Rep AddressAssociated = D1 ('MetaData "AddressAssociated" "Blockfrost.Types.Cardano.Accounts" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" 'True) (C1 ('MetaCons "AddressAssociated" 'PrefixI 'True) (S1 ('MetaSel ('Just "_addressAssociatedAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address)))