Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost client
Synopsis
- module Blockfrost.API
- module Blockfrost.Env
- module Blockfrost.Types
- module Blockfrost.Lens
- module Blockfrost.Client.Core
- module Blockfrost.Client.Types
- getRoot :: MonadBlockfrost m => m URLVersion
- getHealth :: MonadBlockfrost m => m Healthy
- getClock :: MonadBlockfrost m => m ServerTime
- getMetrics :: MonadBlockfrost m => m [ Metric ]
- getMetricsEndpoints :: MonadBlockfrost m => m [( Text , Metric )]
- getAccount :: MonadBlockfrost m => Address -> m AccountInfo
- getAccountRewards :: MonadBlockfrost m => Address -> m [ AccountReward ]
- getAccountRewards' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountReward ]
- getAccountHistory :: MonadBlockfrost m => Address -> m [ AccountHistory ]
- getAccountHistory' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountHistory ]
- getAccountDelegations :: MonadBlockfrost m => Address -> m [ AccountDelegation ]
- getAccountDelegations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountDelegation ]
- getAccountRegistrations :: MonadBlockfrost m => Address -> m [ AccountRegistration ]
- getAccountRegistrations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountRegistration ]
- getAccountWithdrawals :: MonadBlockfrost m => Address -> m [ AccountWithdrawal ]
- getAccountWithdrawals' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountWithdrawal ]
- getAccountMirs :: MonadBlockfrost m => Address -> m [ AccountMir ]
- getAccountMirs' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountMir ]
- getAccountAssociatedAddresses :: MonadBlockfrost m => Address -> m [ AddressAssociated ]
- getAccountAssociatedAddresses' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AddressAssociated ]
- getAccountAssociatedAssets :: MonadBlockfrost m => Address -> m [ Amount ]
- getAccountAssociatedAssets' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ Amount ]
- getAddressInfo :: MonadBlockfrost m => Address -> m AddressInfo
- getAddressDetails :: MonadBlockfrost m => Address -> m AddressDetails
- getAddressUtxos :: MonadBlockfrost m => Address -> m [ AddressUtxo ]
- getAddressUtxos' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AddressUtxo ]
- getAddressUtxosAsset :: MonadBlockfrost m => Address -> AssetId -> m [ AddressUtxo ]
- getAddressUtxosAsset' :: MonadBlockfrost m => Address -> AssetId -> Paged -> SortOrder -> m [ AddressUtxo ]
- getAddressTransactions :: MonadBlockfrost m => Address -> m [ AddressTransaction ]
- getAddressTransactions' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> m [ AddressTransaction ]
- getAssets :: MonadBlockfrost m => m [ AssetInfo ]
- getAssets' :: MonadBlockfrost m => Paged -> SortOrder -> m [ AssetInfo ]
- getAssetDetails :: MonadBlockfrost m => AssetId -> m AssetDetails
- getAssetHistory :: MonadBlockfrost m => AssetId -> m [ AssetHistory ]
- getAssetHistory' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [ AssetHistory ]
- getAssetTransactions :: MonadBlockfrost m => AssetId -> m [ AssetTransaction ]
- getAssetTransactions' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [ AssetTransaction ]
- getAssetAddresses :: MonadBlockfrost m => AssetId -> m [ AssetAddress ]
- getAssetAddresses' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [ AssetAddress ]
- getAssetsByPolicy :: MonadBlockfrost m => PolicyId -> m [ AssetInfo ]
- getAssetsByPolicy' :: MonadBlockfrost m => PolicyId -> Paged -> SortOrder -> m [ AssetInfo ]
- getLatestBlock :: MonadBlockfrost m => m Block
- getLatestBlockTxs :: MonadBlockfrost m => m [ TxHash ]
- getLatestBlockTxs' :: MonadBlockfrost m => Paged -> SortOrder -> m [ TxHash ]
- getBlock :: MonadBlockfrost m => Either Integer BlockHash -> m Block
- getBlockSlot :: MonadBlockfrost m => Slot -> m Block
- getBlockEpochSlot :: MonadBlockfrost m => Epoch -> Slot -> m Block
- getNextBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [ Block ]
- getNextBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [ Block ]
- getPreviousBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [ Block ]
- getPreviousBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [ Block ]
- getBlockTxs :: MonadBlockfrost m => Either Integer BlockHash -> m [ TxHash ]
- getBlockTxs' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [ TxHash ]
- getBlockAffectedAddresses' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [( Address , [ TxHash ])]
- getBlockAffectedAddresses :: MonadBlockfrost m => Either Integer BlockHash -> m [( Address , [ TxHash ])]
- getLatestEpoch :: MonadBlockfrost m => m EpochInfo
- getLatestEpochProtocolParams :: MonadBlockfrost m => m ProtocolParams
- getEpoch :: MonadBlockfrost m => Epoch -> m EpochInfo
- getNextEpochs :: MonadBlockfrost m => Epoch -> m [ EpochInfo ]
- getNextEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [ EpochInfo ]
- getPreviousEpochs :: MonadBlockfrost m => Epoch -> m [ EpochInfo ]
- getPreviousEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [ EpochInfo ]
- getEpochStake :: MonadBlockfrost m => Epoch -> m [ StakeDistribution ]
- getEpochStake' :: MonadBlockfrost m => Epoch -> Paged -> m [ StakeDistribution ]
- getEpochStakeByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [ StakeDistribution ]
- getEpochStakeByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> m [ StakeDistribution ]
- getEpochBlocks :: MonadBlockfrost m => Epoch -> m [ BlockHash ]
- getEpochBlocks' :: MonadBlockfrost m => Epoch -> Paged -> SortOrder -> m [ BlockHash ]
- getEpochBlocksByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [ BlockHash ]
- getEpochBlocksByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> SortOrder -> m [ BlockHash ]
- getEpochProtocolParams :: MonadBlockfrost m => Epoch -> m ProtocolParams
- getLedgerGenesis :: MonadBlockfrost m => m Genesis
- getTxMetadataLabels :: MonadBlockfrost m => m [ TxMeta ]
- getTxMetadataLabels' :: MonadBlockfrost m => Paged -> SortOrder -> m [ TxMeta ]
- getTxMetadataByLabelJSON :: MonadBlockfrost m => Text -> m [ TxMetaJSON ]
- getTxMetadataByLabelJSON' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [ TxMetaJSON ]
- getTxMetadataByLabelCBOR :: MonadBlockfrost m => Text -> m [ TxMetaCBOR ]
- getTxMetadataByLabelCBOR' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [ TxMetaCBOR ]
- getNetworkInfo :: MonadBlockfrost m => m Network
- listPools :: MonadBlockfrost m => m [ PoolId ]
- listPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [ PoolId ]
- listRetiredPools :: MonadBlockfrost m => m [ PoolEpoch ]
- listRetiredPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [ PoolEpoch ]
- listRetiringPools :: MonadBlockfrost m => m [ PoolEpoch ]
- listRetiringPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [ PoolEpoch ]
- getPool :: MonadBlockfrost m => PoolId -> m PoolInfo
- getPoolHistory :: MonadBlockfrost m => PoolId -> m [ PoolHistory ]
- getPoolHistory' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ PoolHistory ]
- getPoolMetadata :: MonadBlockfrost m => PoolId -> m ( Maybe PoolMetadata )
- getPoolRelays :: MonadBlockfrost m => PoolId -> m [ PoolRelay ]
- getPoolDelegators :: MonadBlockfrost m => PoolId -> m [ PoolDelegator ]
- getPoolDelegators' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ PoolDelegator ]
- getPoolBlocks :: MonadBlockfrost m => PoolId -> m [ BlockHash ]
- getPoolBlocks' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ BlockHash ]
- getPoolUpdates :: MonadBlockfrost m => PoolId -> m [ PoolUpdate ]
- getPoolUpdates' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ PoolUpdate ]
- listScripts :: MonadBlockfrost m => m [ ScriptHash ]
- listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m [ ScriptHash ]
- getScript :: MonadBlockfrost m => ScriptHash -> m Script
- getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ ScriptRedeemer ]
- getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ ScriptRedeemer ]
- getScriptDatum :: MonadBlockfrost m => DatumHash -> m ScriptDatum
- getScriptJSON :: MonadBlockfrost m => ScriptHash -> m ScriptJSON
- getScriptCBOR :: MonadBlockfrost m => ScriptHash -> m ScriptCBOR
- getTx :: MonadBlockfrost m => TxHash -> m Transaction
- getTxUtxos :: MonadBlockfrost m => TxHash -> m TransactionUtxos
- getTxStakes :: MonadBlockfrost m => TxHash -> m [ TransactionStake ]
- getTxDelegations :: MonadBlockfrost m => TxHash -> m [ TransactionDelegation ]
- getTxWithdrawals :: MonadBlockfrost m => TxHash -> m [ TransactionWithdrawal ]
- getTxMirs :: MonadBlockfrost m => TxHash -> m [ TransactionMir ]
- getTxPoolUpdates :: MonadBlockfrost m => TxHash -> m [ TransactionPoolUpdate ]
- getTxPoolRetiring :: MonadBlockfrost m => TxHash -> m [ TransactionPoolRetiring ]
- getTxMetadataJSON :: MonadBlockfrost m => TxHash -> m [ TransactionMetaJSON ]
- getTxMetadataCBOR :: MonadBlockfrost m => TxHash -> m [ TransactionMetaCBOR ]
- getTxRedeemers :: MonadBlockfrost m => TxHash -> m [ TransactionRedeemer ]
- submitTx :: MonadBlockfrost m => CBORString -> m TxHash
- ipfsAdd :: ( MonadError BlockfrostError m, MonadBlockfrost m) => FilePath -> m IPFSAdd
- ipfsGateway :: MonadBlockfrost m => Text -> m IPFSData
- ipfsGetPin :: MonadBlockfrost m => Text -> m IPFSPin
- ipfsListPins :: MonadBlockfrost m => m [ IPFSPin ]
- ipfsListPins' :: MonadBlockfrost m => Paged -> SortOrder -> m [ IPFSPin ]
- ipfsPin :: MonadBlockfrost m => Text -> m IPFSPinChange
- ipfsRemovePin :: MonadBlockfrost m => Text -> m IPFSPinChange
- nutlinkListAddress :: MonadBlockfrost m => Address -> m NutlinkAddress
- nutlinkListAddressTickers :: MonadBlockfrost m => Address -> m [ NutlinkAddressTicker ]
- nutlinkListAddressTickers' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ NutlinkAddressTicker ]
- nutlinkAddressTickers :: MonadBlockfrost m => Address -> Text -> m [ NutlinkTicker ]
- nutlinkAddressTickers' :: MonadBlockfrost m => Address -> Text -> Paged -> SortOrder -> m [ NutlinkTicker ]
- nutlinkTickers :: MonadBlockfrost m => Text -> m [( Address , NutlinkTicker )]
- nutlinkTickers' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [( Address , NutlinkTicker )]
Documentation
module Blockfrost.API
module Blockfrost.Env
module Blockfrost.Types
module Blockfrost.Lens
module Blockfrost.Client.Core
module Blockfrost.Client.Types
getRoot :: MonadBlockfrost m => m URLVersion Source #
Root endpoint has no other function than to point end users to documentation
getHealth :: MonadBlockfrost m => m Healthy Source #
Return backend status. Your application should handle situations when backend for the given chain is unavailable.
getClock :: MonadBlockfrost m => m ServerTime Source #
Get current backend time
getMetrics :: MonadBlockfrost m => m [ Metric ] Source #
Get Blockfrost usage metrics over last 30 days
getMetricsEndpoints :: MonadBlockfrost m => m [( Text , Metric )] Source #
Get Blockfrost endpoint usage metrics over last 30 days
getAccount :: MonadBlockfrost m => Address -> m AccountInfo Source #
Obtain information about a specific stake account.
getAccountRewards :: MonadBlockfrost m => Address -> m [ AccountReward ] Source #
Obtain information about the history of a specific account.
getAccountRewards' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountReward ] Source #
Obtain information about the history of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAccountHistory :: MonadBlockfrost m => Address -> m [ AccountHistory ] Source #
Obtain information about the history of a specific account.
getAccountHistory' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountHistory ] Source #
Obtain information about the history of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAccountDelegations :: MonadBlockfrost m => Address -> m [ AccountDelegation ] Source #
Obtain information about the delegation of a specific account.
getAccountDelegations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountDelegation ] Source #
Obtain information about the delegation of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAccountRegistrations :: MonadBlockfrost m => Address -> m [ AccountRegistration ] Source #
Obtain information about the registrations and deregistrations of a specific account.
getAccountRegistrations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountRegistration ] Source #
Obtain information about the registrations and deregistrations of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAccountWithdrawals :: MonadBlockfrost m => Address -> m [ AccountWithdrawal ] Source #
Obtain information about the withdrawals of a specific account.
getAccountWithdrawals' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountWithdrawal ] Source #
Obtain information about the withdrawals of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAccountMirs :: MonadBlockfrost m => Address -> m [ AccountMir ] Source #
Obtain information about the MIRs of a specific account.
getAccountMirs' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AccountMir ] Source #
Obtain information about the MIRs of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAccountAssociatedAddresses :: MonadBlockfrost m => Address -> m [ AddressAssociated ] Source #
Obtain information about the addresses of a specific account.
getAccountAssociatedAddresses' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AddressAssociated ] Source #
Obtain information about the addresses of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAccountAssociatedAssets :: MonadBlockfrost m => Address -> m [ Amount ] Source #
Obtain information about assets associated with addresses of a specific account.
getAccountAssociatedAssets' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ Amount ] Source #
Obtain information about assets associated with addresses of a specific account.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAddressInfo :: MonadBlockfrost m => Address -> m AddressInfo Source #
Obtain information about a specific address.
getAddressDetails :: MonadBlockfrost m => Address -> m AddressDetails Source #
Obtain details about an address.
getAddressUtxos :: MonadBlockfrost m => Address -> m [ AddressUtxo ] Source #
UTXOs of the address.
getAddressUtxos' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ AddressUtxo ] Source #
UTXOs of the address.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAddressUtxosAsset :: MonadBlockfrost m => Address -> AssetId -> m [ AddressUtxo ] Source #
UTXOs of the address containing specific asset.
getAddressUtxosAsset' :: MonadBlockfrost m => Address -> AssetId -> Paged -> SortOrder -> m [ AddressUtxo ] Source #
UTXOs of the address containing specific asset.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAddressTransactions :: MonadBlockfrost m => Address -> m [ AddressTransaction ] Source #
Transactions on the address.
getAddressTransactions' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> m [ AddressTransaction ] Source #
Transactions on the address.
Allows custom paging and ordering using
Paged
and
SortOrder
.
Also allows support for limiting block ranges using
from
/
to
BlockIndex
es.
getAssets :: MonadBlockfrost m => m [ AssetInfo ] Source #
List all assets
getAssets' :: MonadBlockfrost m => Paged -> SortOrder -> m [ AssetInfo ] Source #
List all assets
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAssetDetails :: MonadBlockfrost m => AssetId -> m AssetDetails Source #
Information about a specific asset
getAssetHistory :: MonadBlockfrost m => AssetId -> m [ AssetHistory ] Source #
History of a specific asset
getAssetHistory' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [ AssetHistory ] Source #
History of a specific asset
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAssetTransactions :: MonadBlockfrost m => AssetId -> m [ AssetTransaction ] Source #
List of a specific asset transactions
getAssetTransactions' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [ AssetTransaction ] Source #
List of a specific asset transactions
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAssetAddresses :: MonadBlockfrost m => AssetId -> m [ AssetAddress ] Source #
List of a addresses containing a specific asset
getAssetAddresses' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [ AssetAddress ] Source #
List of a addresses containing a specific asset
Allows custom paging and ordering using
Paged
and
SortOrder
.
getAssetsByPolicy :: MonadBlockfrost m => PolicyId -> m [ AssetInfo ] Source #
List of asset minted under a specific policy
getAssetsByPolicy' :: MonadBlockfrost m => PolicyId -> Paged -> SortOrder -> m [ AssetInfo ] Source #
List of asset minted under a specific policy
Allows custom paging and ordering using
Paged
and
SortOrder
.
getLatestBlock :: MonadBlockfrost m => m Block Source #
Return the latest block available to the backends, also known as the tip of the blockchain.
getLatestBlockTxs :: MonadBlockfrost m => m [ TxHash ] Source #
getLatestBlockTxs' :: MonadBlockfrost m => Paged -> SortOrder -> m [ TxHash ] Source #
Return the transactions within the latest block.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getBlock :: MonadBlockfrost m => Either Integer BlockHash -> m Block Source #
Return the content of a requested block.
getBlockSlot :: MonadBlockfrost m => Slot -> m Block Source #
Return the content of a requested block for a specific slot.
getBlockEpochSlot :: MonadBlockfrost m => Epoch -> Slot -> m Block Source #
Return the content of a requested block for a specific slot in an epoch.
getNextBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [ Block ] Source #
Return the list of blocks following a specific block.
getNextBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [ Block ] Source #
Return the list of blocks following a specific block.
Allows custom paging using
Paged
.
getPreviousBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [ Block ] Source #
Return the list of blocks preceding a specific block.
getPreviousBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [ Block ] Source #
Return the list of blocks preceding a specific block.
Allows custom paging using
Paged
.
getBlockTxs :: MonadBlockfrost m => Either Integer BlockHash -> m [ TxHash ] Source #
Return the transactions within the block.
getBlockTxs' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [ TxHash ] Source #
Return the transactions within the block.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getBlockAffectedAddresses' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [( Address , [ TxHash ])] Source #
Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending.
Allows custom paging using
Paged
.
getBlockAffectedAddresses :: MonadBlockfrost m => Either Integer BlockHash -> m [( Address , [ TxHash ])] Source #
Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending.
getLatestEpoch :: MonadBlockfrost m => m EpochInfo Source #
Get the information about the latest, therefore current, epoch.
getLatestEpochProtocolParams :: MonadBlockfrost m => m ProtocolParams Source #
Get the protocol parameters for the latest epoch.
getEpoch :: MonadBlockfrost m => Epoch -> m EpochInfo Source #
Get the information about specific epoch.
getNextEpochs :: MonadBlockfrost m => Epoch -> m [ EpochInfo ] Source #
Return the list of epochs following a specific epoch.
getNextEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [ EpochInfo ] Source #
Return the list of epochs following a specific epoch.
Allows custom paging using
Paged
.
getPreviousEpochs :: MonadBlockfrost m => Epoch -> m [ EpochInfo ] Source #
Return the list of epochs preceding a specific epoch.
getPreviousEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [ EpochInfo ] Source #
Return the list of epochs preceding a specific epoch.
Allows custom paging using
Paged
.
getEpochStake :: MonadBlockfrost m => Epoch -> m [ StakeDistribution ] Source #
Return the active stake distribution for the specified epoch.
getEpochStake' :: MonadBlockfrost m => Epoch -> Paged -> m [ StakeDistribution ] Source #
Return the active stake distribution for the specified epoch.
Allows custom paging using
Paged
.
getEpochStakeByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [ StakeDistribution ] Source #
Return the active stake distribution for the epoch specified by stake pool.
getEpochStakeByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> m [ StakeDistribution ] Source #
Return the active stake distribution for the epoch specified by stake pool.
Allows custom paging using
Paged
.
getEpochBlocks :: MonadBlockfrost m => Epoch -> m [ BlockHash ] Source #
Return the blocks minted for the epoch specified.
getEpochBlocks' :: MonadBlockfrost m => Epoch -> Paged -> SortOrder -> m [ BlockHash ] Source #
Return the blocks minted for the epoch specified.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getEpochBlocksByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [ BlockHash ] Source #
Return the block minted for the epoch specified by stake pool.
getEpochBlocksByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> SortOrder -> m [ BlockHash ] Source #
Return the block minted for the epoch specified by stake pool.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getEpochProtocolParams :: MonadBlockfrost m => Epoch -> m ProtocolParams Source #
Return the protocol parameters for the specified epoch.
getLedgerGenesis :: MonadBlockfrost m => m Genesis Source #
Get the information about blockchain genesis.
getTxMetadataLabels :: MonadBlockfrost m => m [ TxMeta ] Source #
List of all used transaction metadata labels.
getTxMetadataLabels' :: MonadBlockfrost m => Paged -> SortOrder -> m [ TxMeta ] Source #
List of all used transaction metadata labels.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getTxMetadataByLabelJSON :: MonadBlockfrost m => Text -> m [ TxMetaJSON ] Source #
Transaction metadata per label (JSON
Value
)
getTxMetadataByLabelJSON' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [ TxMetaJSON ] Source #
Transaction metadata per label (JSON
Value
)
Allows custom paging and ordering using
Paged
and
SortOrder
.
getTxMetadataByLabelCBOR :: MonadBlockfrost m => Text -> m [ TxMetaCBOR ] Source #
Transaction metadata per label (CBOR
ByteString
)
getTxMetadataByLabelCBOR' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [ TxMetaCBOR ] Source #
Transaction metadata per label (CBOR
ByteString
)
Allows custom paging and ordering using
Paged
and
SortOrder
.
getNetworkInfo :: MonadBlockfrost m => m Network Source #
Get detailed network information.
listPools :: MonadBlockfrost m => m [ PoolId ] Source #
List registered stake pools.
listPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [ PoolId ] Source #
List registered stake pools.
Allows custom paging and ordering using
Paged
and
SortOrder
.
listRetiredPools :: MonadBlockfrost m => m [ PoolEpoch ] Source #
List retired stake pools.
listRetiredPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [ PoolEpoch ] Source #
List retired stake pools.
Allows custom paging and ordering using
Paged
and
SortOrder
.
listRetiringPools :: MonadBlockfrost m => m [ PoolEpoch ] Source #
List retiring stake pools.
listRetiringPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [ PoolEpoch ] Source #
List retiring stake pools.
Allows custom paging and ordering using
Paged
and
SortOrder
.
getPoolHistory :: MonadBlockfrost m => PoolId -> m [ PoolHistory ] Source #
Get stake pool history
getPoolHistory' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ PoolHistory ] Source #
Get stake pool history
Allows custom paging and ordering using
Paged
and
SortOrder
.
getPoolMetadata :: MonadBlockfrost m => PoolId -> m ( Maybe PoolMetadata ) Source #
Get stake pool metadata
getPoolRelays :: MonadBlockfrost m => PoolId -> m [ PoolRelay ] Source #
Get stake pool relays
getPoolDelegators :: MonadBlockfrost m => PoolId -> m [ PoolDelegator ] Source #
Get stake pool delegators
getPoolDelegators' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ PoolDelegator ] Source #
Get stake pool delegators
Allows custom paging and ordering using
Paged
and
SortOrder
.
getPoolBlocks :: MonadBlockfrost m => PoolId -> m [ BlockHash ] Source #
Get stake pool blocks
getPoolBlocks' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ BlockHash ] Source #
Get stake pool blocks
Allows custom paging and ordering using
Paged
and
SortOrder
.
getPoolUpdates :: MonadBlockfrost m => PoolId -> m [ PoolUpdate ] Source #
Get stake pool updates
getPoolUpdates' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [ PoolUpdate ] Source #
Get stake pool updates
Allows custom paging and ordering using
Paged
and
SortOrder
.
listScripts :: MonadBlockfrost m => m [ ScriptHash ] Source #
List scripts
listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m [ ScriptHash ] Source #
List scripts
Allows custom paging and ordering using
Paged
and
SortOrder
.
getScript :: MonadBlockfrost m => ScriptHash -> m Script Source #
Get specific script information
getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ ScriptRedeemer ] Source #
Get redeemers of a specific script
getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ ScriptRedeemer ] Source #
Get redeemers of a specific script
Allows custom paging and ordering using
Paged
and
SortOrder
.
getScriptDatum :: MonadBlockfrost m => DatumHash -> m ScriptDatum Source #
Get specific datum
getScriptJSON :: MonadBlockfrost m => ScriptHash -> m ScriptJSON Source #
Get a JSON representation of a
timelock
script
getScriptCBOR :: MonadBlockfrost m => ScriptHash -> m ScriptCBOR Source #
Get a CBOR representation of a
plutus
script
getTx :: MonadBlockfrost m => TxHash -> m Transaction Source #
Get specific transaction
getTxUtxos :: MonadBlockfrost m => TxHash -> m TransactionUtxos Source #
Get transaction UTXOs
getTxStakes :: MonadBlockfrost m => TxHash -> m [ TransactionStake ] Source #
Get transaction UTXOs
getTxDelegations :: MonadBlockfrost m => TxHash -> m [ TransactionDelegation ] Source #
Get transaction delegation certificates
getTxWithdrawals :: MonadBlockfrost m => TxHash -> m [ TransactionWithdrawal ] Source #
Get transaction withdrawals
getTxMirs :: MonadBlockfrost m => TxHash -> m [ TransactionMir ] Source #
Get transaction MIRs (Move Instantaneous Rewards)
getTxPoolUpdates :: MonadBlockfrost m => TxHash -> m [ TransactionPoolUpdate ] Source #
Get transaction stake pool registration and update certificates
getTxPoolRetiring :: MonadBlockfrost m => TxHash -> m [ TransactionPoolRetiring ] Source #
Get transaction stake pool retirement certificates
getTxMetadataJSON :: MonadBlockfrost m => TxHash -> m [ TransactionMetaJSON ] Source #
Get transaction metadata in JSON
getTxMetadataCBOR :: MonadBlockfrost m => TxHash -> m [ TransactionMetaCBOR ] Source #
Get transaction metadata in CBOR
getTxRedeemers :: MonadBlockfrost m => TxHash -> m [ TransactionRedeemer ] Source #
Get transaction redeemers
submitTx :: MonadBlockfrost m => CBORString -> m TxHash Source #
Submit an already serialized transaction to the network.
ipfsAdd :: ( MonadError BlockfrostError m, MonadBlockfrost m) => FilePath -> m IPFSAdd Source #
Add a file or directory to IPFS
ipfsGateway :: MonadBlockfrost m => Text -> m IPFSData Source #
Fetch file via API
ipfsGetPin :: MonadBlockfrost m => Text -> m IPFSPin Source #
Get pinned object details
ipfsListPins :: MonadBlockfrost m => m [ IPFSPin ] Source #
List objects pinned to local storage
ipfsListPins' :: MonadBlockfrost m => Paged -> SortOrder -> m [ IPFSPin ] Source #
List objects pinned to local storage
Allows custom paging and ordering using
Paged
and
SortOrder
.
ipfsPin :: MonadBlockfrost m => Text -> m IPFSPinChange Source #
Pin an object
ipfsRemovePin :: MonadBlockfrost m => Text -> m IPFSPinChange Source #
Remove pinned object from local storage
nutlinkListAddress :: MonadBlockfrost m => Address -> m NutlinkAddress Source #
List metadata about specific address
nutlinkListAddressTickers :: MonadBlockfrost m => Address -> m [ NutlinkAddressTicker ] Source #
List tickers for a specific metadata oracle
nutlinkListAddressTickers' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [ NutlinkAddressTicker ] Source #
List tickers for a specific metadata oracle
Allows custom paging and ordering using
Paged
and
SortOrder
.
nutlinkAddressTickers :: MonadBlockfrost m => Address -> Text -> m [ NutlinkTicker ] Source #
List of records of a specific ticker
nutlinkAddressTickers' :: MonadBlockfrost m => Address -> Text -> Paged -> SortOrder -> m [ NutlinkTicker ] Source #
List of records of a specific ticker
Allows custom paging and ordering using
Paged
and
SortOrder
.
nutlinkTickers :: MonadBlockfrost m => Text -> m [( Address , NutlinkTicker )] Source #
List of records of a specific ticker
nutlinkTickers' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [( Address , NutlinkTicker )] Source #
List of records of a specific ticker
Allows custom paging and ordering using
Paged
and
SortOrder
.