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

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

Defined in Blockfrost.Lens

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

Defined in Blockfrost.Lens

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

Defined in Blockfrost.Lens

HasStakeAddress AccountInfo Address Source # 
Instance details

Defined in Blockfrost.Lens

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

Defined in Blockfrost.Lens

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

Defined in Blockfrost.Lens

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

Defined in Blockfrost.Lens

HasActiveEpoch AccountInfo Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasActive AccountInfo Bool 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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 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 AccountReward Source #

Reward received by an account

Constructors

AccountReward 

Fields

Instances

Instances details
Eq AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountReward Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasPoolId AccountReward PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch AccountReward Epoch Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountReward a 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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))))

data AccountHistory Source #

History of accounts stake delegation

Constructors

AccountHistory 

Fields

Instances

Instances details
Eq AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasPoolId AccountHistory PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveEpoch AccountHistory Integer Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountHistory a 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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
Eq AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountDelegation Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasPoolId AccountDelegation PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveEpoch AccountDelegation Epoch Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountDelegation a 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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
Eq AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToSample AccountRegistration Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

HasTxHash AccountRegistration TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasAction AccountRegistration AccountRegistrationAction 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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
Eq AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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
Eq AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountWithdrawal Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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
Eq AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AccountMir Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" '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
Eq AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

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

ToJSON AddressAssociated Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON 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.3.0.0-FCbWzoquwuxBjDUG0w82hr" 'True) (C1 ('MetaCons "AddressAssociated" 'PrefixI 'True) (S1 ('MetaSel ('Just "_addressAssociatedAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address)))