maestro-sdk-1.7.3: Maestro Blockchain Indexer SDK
Safe HaskellNone
LanguageHaskell2010

Maestro.Types.V1.Accounts

Description

Module to define types for "Accounts" category of endpoints defined at docs.gomaestro.org.

Synopsis

Documentation

data PaginatedAddress #

Paginated list of addresses.

Instances

Instances details
Eq PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAddressTypeType #

ToJSON PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

parseJSON ∷ Value → Parser PaginatedAddress

parseJSONList ∷ Value → Parser [PaginatedAddress]

omittedFieldMaybe PaginatedAddress

IsTimestamped PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type TimestampedData PaginatedAddress #

HasCursor PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAddress = D1 ('MetaData "PaginatedAddress" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PaginatedAddress" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginatedAddressData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Bech32StringOf Address]) :*: (S1 ('MetaSel ('Just "paginatedAddressLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated) :*: S1 ('MetaSel ('Just "paginatedAddressNextCursor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NextCursor)))))
type TimestampedData PaginatedAddress # 
Instance details

Defined in Maestro.Types.V1.Accounts

data PaginatedAsset #

Paginated list of assets.

Instances

Instances details
Eq PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAssetTypeType #

ToJSON PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

toJSONPaginatedAsset → Value

toEncodingPaginatedAsset → Encoding

toJSONList ∷ [PaginatedAsset] → Value

toEncodingList ∷ [PaginatedAsset] → Encoding

omitFieldPaginatedAssetBool

FromJSON PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

parseJSON ∷ Value → Parser PaginatedAsset

parseJSONList ∷ Value → Parser [PaginatedAsset]

omittedFieldMaybe PaginatedAsset

IsTimestamped PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type TimestampedData PaginatedAsset #

HasCursor PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAsset = D1 ('MetaData "PaginatedAsset" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PaginatedAsset" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginatedAssetData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Asset]) :*: (S1 ('MetaSel ('Just "paginatedAssetLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated) :*: S1 ('MetaSel ('Just "paginatedAssetNextCursor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NextCursor)))))
type TimestampedData PaginatedAsset # 
Instance details

Defined in Maestro.Types.V1.Accounts

data AccountInfo #

Summary of information regarding a stake account.

Constructors

AccountInfo 

Fields

Instances

Instances details
Eq AccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show AccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic AccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountInfoTypeType #

ToJSON AccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

toJSONAccountInfo → Value

toEncodingAccountInfo → Encoding

toJSONList ∷ [AccountInfo] → Value

toEncodingList ∷ [AccountInfo] → Encoding

omitFieldAccountInfoBool

FromJSON AccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

parseJSON ∷ Value → Parser AccountInfo

parseJSONList ∷ Value → Parser [AccountInfo]

omittedFieldMaybe AccountInfo

type Rep AccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep AccountInfo = D1 ('MetaData "AccountInfo" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "AccountInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountInfoDelegatedPool") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (Bech32StringOf PoolId))) :*: S1 ('MetaSel ('Just "accountInfoRegistered") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "accountInfoRewardsAvailable") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "accountInfoStakeAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Bech32StringOf RewardAddress)))) :*: ((S1 ('MetaSel ('Just "accountInfoTotalBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "accountInfoTotalRewarded") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "accountInfoTotalWithdrawn") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "accountInfoUtxoBalance") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))))

data TimestampedAccountInfo #

Timestamped AccountInfo response.

Instances

Instances details
Eq TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep TimestampedAccountInfoTypeType #

ToJSON TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

IsTimestamped TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep TimestampedAccountInfo = D1 ('MetaData "TimestampedAccountInfo" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "TimestampedAccountInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampedAccountInfoData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AccountInfo) :*: S1 ('MetaSel ('Just "timestampedAccountInfoLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated)))
type TimestampedData TimestampedAccountInfo # 
Instance details

Defined in Maestro.Types.V1.Accounts

data AccountHistory #

Per-epoch information about a stake account.

Instances

Instances details
Eq AccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord AccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show AccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic AccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountHistoryTypeType #

ToJSON AccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

toJSONAccountHistory → Value

toEncodingAccountHistory → Encoding

toJSONList ∷ [AccountHistory] → Value

toEncodingList ∷ [AccountHistory] → Encoding

omitFieldAccountHistoryBool

FromJSON AccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

parseJSON ∷ Value → Parser AccountHistory

parseJSONList ∷ Value → Parser [AccountHistory]

omittedFieldMaybe AccountHistory

type Rep AccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep AccountHistory = D1 ('MetaData "AccountHistory" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "AccountHistory" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountHistoryActiveStake") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "accountHistoryEpochNo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just "accountHistoryPoolId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (Bech32StringOf PoolId))))))

data PaginatedAccountHistory #

Paginated AccountHistory.

Instances

Instances details
Eq PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAccountHistoryTypeType #

ToJSON PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

IsTimestamped PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

HasCursor PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAccountHistory = D1 ('MetaData "PaginatedAccountHistory" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PaginatedAccountHistory" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginatedAccountHistoryData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [AccountHistory]) :*: (S1 ('MetaSel ('Just "paginatedAccountHistoryLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated) :*: S1 ('MetaSel ('Just "paginatedAccountHistoryNextCursor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NextCursor)))))
type TimestampedData PaginatedAccountHistory # 
Instance details

Defined in Maestro.Types.V1.Accounts

data AccountStakingRewardType #

Staking-related reward type.

Constructors

Member 
Leader 
Refund 

Instances

Instances details
Eq AccountStakingRewardType # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord AccountStakingRewardType # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show AccountStakingRewardType # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic AccountStakingRewardType # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountStakingRewardTypeTypeType #

ToJSON AccountStakingRewardType # 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON AccountStakingRewardType # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep AccountStakingRewardType # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep AccountStakingRewardType = D1 ('MetaData "AccountStakingRewardType" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "Member" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "Leader" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "Refund" 'PrefixI 'False) (U1TypeType)))

data AccountReward #

Staking rewards for the specified stake key (pool-member and pool-leader rewards, deposit refunds).

Constructors

AccountReward 

Fields

Instances

Instances details
Eq AccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord AccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show AccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic AccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountRewardTypeType #

ToJSON AccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

toJSONAccountReward → Value

toEncodingAccountReward → Encoding

toJSONList ∷ [AccountReward] → Value

toEncodingList ∷ [AccountReward] → Encoding

omitFieldAccountRewardBool

FromJSON AccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

parseJSON ∷ Value → Parser AccountReward

parseJSONList ∷ Value → Parser [AccountReward]

omittedFieldMaybe AccountReward

type Rep AccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep AccountReward = D1 ('MetaData "AccountReward" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "AccountReward" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountRewardAmount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "accountRewardEarnedEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo)) :*: (S1 ('MetaSel ('Just "accountRewardPoolId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Bech32StringOf PoolId)) :*: (S1 ('MetaSel ('Just "accountRewardSpendableEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just "accountRewardType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AccountStakingRewardType)))))

data PaginatedAccountReward #

Paginated AccountReward.

Instances

Instances details
Eq PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAccountRewardTypeType #

ToJSON PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

IsTimestamped PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

HasCursor PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAccountReward = D1 ('MetaData "PaginatedAccountReward" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PaginatedAccountReward" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginatedAccountRewardData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [AccountReward]) :*: (S1 ('MetaSel ('Just "paginatedAccountRewardLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated) :*: S1 ('MetaSel ('Just "paginatedAccountRewardNextCursor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NextCursor)))))
type TimestampedData PaginatedAccountReward # 
Instance details

Defined in Maestro.Types.V1.Accounts

data AccountUpdate #

Stake account related update.

Constructors

AccountUpdate 

Fields

Instances

Instances details
Eq AccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord AccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show AccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic AccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountUpdateTypeType #

ToJSON AccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

toJSONAccountUpdate → Value

toEncodingAccountUpdate → Encoding

toJSONList ∷ [AccountUpdate] → Value

toEncodingList ∷ [AccountUpdate] → Encoding

omitFieldAccountUpdateBool

FromJSON AccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

parseJSON ∷ Value → Parser AccountUpdate

parseJSONList ∷ Value → Parser [AccountUpdate]

omittedFieldMaybe AccountUpdate

type Rep AccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

data PaginatedAccountUpdate #

Paginated AccountUpdate.

Instances

Instances details
Eq PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Ord PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Show PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Generic PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAccountUpdateTypeType #

ToJSON PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

IsTimestamped PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

HasCursor PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts

type Rep PaginatedAccountUpdate = D1 ('MetaData "PaginatedAccountUpdate" "Maestro.Types.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PaginatedAccountUpdate" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginatedAccountUpdateData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [AccountUpdate]) :*: (S1 ('MetaSel ('Just "paginatedAccountUpdateLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated) :*: S1 ('MetaSel ('Just "paginatedAccountUpdateNextCursor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NextCursor)))))
type TimestampedData PaginatedAccountUpdate # 
Instance details

Defined in Maestro.Types.V1.Accounts