Safe Haskell | None |
---|---|
Language | Haskell2010 |
Maestro.API.V1.Accounts
Documentation
data AccountsAPI route #
Constructors
AccountsAPI | |
Fields
|
Instances
Generic (AccountsAPI route) # | |
Defined in Maestro.API.V1.Accounts Associated Types type Rep (AccountsAPI route) ∷ Type → Type # Methods from ∷ AccountsAPI route → Rep (AccountsAPI route) x # to ∷ Rep (AccountsAPI route) x → AccountsAPI route # | |
type Rep (AccountsAPI route) # | |
Defined in Maestro.API.V1.Accounts type Rep (AccountsAPI route) = D1 ('MetaData "AccountsAPI" "Maestro.API.V1.Accounts" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "AccountsAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "stake_addr" (Bech32StringOf RewardAddress) :> Get '[JSON] TimestampedAccountInfo))) :*: (S1 ('MetaSel ('Just "accountAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "stake_addr" (Bech32StringOf RewardAddress) :> ("addresses" :> (Pagination :> Get '[JSON] PaginatedAddress))))) :*: S1 ('MetaSel ('Just "accountAssets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "stake_addr" (Bech32StringOf RewardAddress) :> ("assets" :> (QueryParam "policy" PolicyId :> (Pagination :> Get '[JSON] PaginatedAsset)))))))) :*: (S1 ('MetaSel ('Just "accountHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "stake_addr" (Bech32StringOf RewardAddress) :> ("history" :> (QueryParam "epoch_no" EpochNo :> (Pagination :> Get '[JSON] PaginatedAccountHistory)))))) :*: (S1 ('MetaSel ('Just "accountRewards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "stake_addr" (Bech32StringOf RewardAddress) :> ("rewards" :> (Pagination :> Get '[JSON] PaginatedAccountReward))))) :*: S1 ('MetaSel ('Just "accountUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "stake_addr" (Bech32StringOf RewardAddress) :> ("updates" :> (Pagination :> Get '[JSON] PaginatedAccountUpdate))))))))) |