Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module to query for "accounts" category of endpoints defined at docs.gomaestro.org.
Synopsis
- accountInfo ∷ MaestroEnv 'V1 → Bech32StringOf RewardAddress → IO TimestampedAccountInfo
- accountAddresses ∷ MaestroEnv 'V1 → Bech32StringOf RewardAddress → Cursor → IO PaginatedAddress
- accountAssets ∷ MaestroEnv 'V1 → Bech32StringOf RewardAddress → Maybe PolicyId → Cursor → IO PaginatedAsset
- accountHistory ∷ MaestroEnv 'V1 → Bech32StringOf RewardAddress → Maybe EpochNo → Cursor → IO PaginatedAccountHistory
- accountRewards ∷ MaestroEnv 'V1 → Bech32StringOf RewardAddress → Cursor → IO PaginatedAccountReward
- accountUpdates ∷ MaestroEnv 'V1 → Bech32StringOf RewardAddress → Cursor → IO PaginatedAccountUpdate
Documentation
∷ MaestroEnv 'V1 | |
→ Bech32StringOf RewardAddress | Bech32 encoded reward/stake address ( |
→ IO TimestampedAccountInfo |
Returns various information regarding a stake account.
∷ MaestroEnv 'V1 | |
→ Bech32StringOf RewardAddress | Bech32 encoded reward/stake address ( |
→ Cursor | The pagination attributes. |
→ IO PaginatedAddress |
Returns a list of addresses seen on-chain which use the specified stake key.
∷ MaestroEnv 'V1 | |
→ Bech32StringOf RewardAddress | Bech32 encoded reward/stake address ( |
→ Maybe PolicyId | Filter results to only show assets of the specified policy. |
→ Cursor | The pagination attributes. |
→ IO PaginatedAsset |
Returns a list of native assets which are owned by addresses with the specified stake key.
∷ MaestroEnv 'V1 | |
→ Bech32StringOf RewardAddress | Bech32 encoded reward/stake address ( |
→ Maybe EpochNo | Fetch result for only a specific epoch. |
→ Cursor | The pagination attributes. |
→ IO PaginatedAccountHistory |
Returns per-epoch history for the specified stake key.
∷ MaestroEnv 'V1 | |
→ Bech32StringOf RewardAddress | Bech32 encoded reward/stake address ( |
→ Cursor | The pagination attributes. |
→ IO PaginatedAccountReward |
Returns a list of staking-related rewards for the specified stake key (pool member
or leader
rewards, deposit refund
).
∷ MaestroEnv 'V1 | |
→ Bech32StringOf RewardAddress | Bech32 encoded reward/stake address ( |
→ Cursor | The pagination attributes. |
→ IO PaginatedAccountUpdate |
Returns a list of updates relating to the specified stake key (registration
, deregistration
, delegation
, withdrawal
)