Safe Haskell | Safe-Inferred |
---|---|

Language | Haskell2010 |

## Synopsis

- data Blockfrost m a
- data BlockfrostError
- data Project
- runBlockfrost :: Member (Embed IO) r => Member (Reader Project) r => Sem (Blockfrost ': r) a -> Sem r a
- getRoot :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r URLVersion
- getHealth :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Healthy
- getClock :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r ServerTime
- getMetrics :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [Metric]
- getMetricsEndpoints :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [(Text, Metric)]
- nutlinkListAddress :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r NutlinkAddress
- nutlinkListAddressTickers' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [NutlinkAddressTicker]
- nutlinkListAddressTickers :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [NutlinkAddressTicker]
- nutlinkAddressTickers' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Text -> Paged -> SortOrder -> Sem r [NutlinkTicker]
- nutlinkAddressTickers :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Text -> Sem r [NutlinkTicker]
- nutlinkTickers' :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Paged -> SortOrder -> Sem r [(Address, NutlinkTicker)]
- nutlinkTickers :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r [(Address, NutlinkTicker)]
- ipfsGateway :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSData
- ipfsPin :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSPinChange
- ipfsListPins' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [IPFSPin]
- ipfsListPins :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [IPFSPin]
- ipfsGetPin :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSPin
- ipfsRemovePin :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSPinChange
- getLatestBlock :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Block
- getLatestBlockTxs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [TxHash]
- getLatestBlockTxs :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [TxHash]
- getBlock :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r Block
- getBlockSlot :: Member Blockfrost r => Member (Error BlockfrostError) r => Slot -> Sem r Block
- getBlockEpochSlot :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Slot -> Sem r Block
- getNextBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> Sem r [Block]
- getNextBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [Block]
- getPreviousBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> Sem r [Block]
- getPreviousBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [Block]
- getBlockTxs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> SortOrder -> Sem r [TxHash]
- getBlockTxs :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [TxHash]
- getBlockAffectedAddresses' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> Sem r [(Address, [TxHash])]
- getBlockAffectedAddresses :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [(Address, [TxHash])]
- getNetworkInfo :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Network
- getNetworkEras :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [NetworkEraSummary]
- getAddressInfo :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressInfo
- getAddressInfoExtended :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressInfoExtended
- getAddressDetails :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressDetails
- getAddressUtxos' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AddressUtxo]
- getAddressUtxos :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AddressUtxo]
- getAddressUtxosAsset' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> AssetId -> Paged -> SortOrder -> Sem r [AddressUtxo]
- getAddressUtxosAsset :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> AssetId -> Sem r [AddressUtxo]
- getAddressTransactions' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> Sem r [AddressTransaction]
- getAddressTransactions :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AddressTransaction]
- getAssets' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [AssetInfo]
- getAssets :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [AssetInfo]
- getAssetDetails :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r AssetDetails
- getAssetHistory' :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Paged -> SortOrder -> Sem r [AssetHistory]
- getAssetHistory :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r [AssetHistory]
- getAssetTransactions' :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Paged -> SortOrder -> Sem r [AssetTransaction]
- getAssetTransactions :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r [AssetTransaction]
- getAssetAddresses' :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Paged -> SortOrder -> Sem r [AssetAddress]
- getAssetAddresses :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r [AssetAddress]
- getAssetsByPolicy' :: Member Blockfrost r => Member (Error BlockfrostError) r => PolicyId -> Paged -> SortOrder -> Sem r [AssetInfo]
- getAssetsByPolicy :: Member Blockfrost r => Member (Error BlockfrostError) r => PolicyId -> Sem r [AssetInfo]
- listScripts' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r ScriptHashList
- listScripts :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r ScriptHashList
- getScript :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r Script
- getScriptRedeemers' :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Paged -> SortOrder -> Sem r [ScriptRedeemer]
- getScriptRedeemers :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r [ScriptRedeemer]
- getScriptDatum :: Member Blockfrost r => Member (Error BlockfrostError) r => DatumHash -> Sem r ScriptDatum
- getScriptDatumCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => DatumHash -> Sem r ScriptDatumCBOR
- getScriptJSON :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r ScriptJSON
- getScriptCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r ScriptCBOR
- getLatestEpoch :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r EpochInfo
- getLatestEpochProtocolParams :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r ProtocolParams
- getEpoch :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r EpochInfo
- getNextEpochs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> Sem r [EpochInfo]
- getNextEpochs :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [EpochInfo]
- getPreviousEpochs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> Sem r [EpochInfo]
- getPreviousEpochs :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [EpochInfo]
- getEpochStake' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> Sem r [StakeDistribution]
- getEpochStake :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [StakeDistribution]
- getEpochStakeByPool' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Paged -> Sem r [PoolStakeDistribution]
- getEpochStakeByPool :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Sem r [PoolStakeDistribution]
- getEpochBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> SortOrder -> Sem r [BlockHash]
- getEpochBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [BlockHash]
- getEpochBlocksByPool' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Paged -> SortOrder -> Sem r [BlockHash]
- getEpochBlocksByPool :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Sem r [BlockHash]
- getEpochProtocolParams :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r ProtocolParams
- getTx :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r Transaction
- getTxUtxos :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r TransactionUtxos
- getTxRedeemers :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionRedeemer]
- getTxStakes :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionStake]
- getTxDelegations :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionDelegation]
- getTxWithdrawals :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionWithdrawal]
- getTxMirs :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionMir]
- getTxPoolUpdates :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionPoolUpdate]
- getTxPoolRetiring :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionPoolRetiring]
- getTxMetadataJSON :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionMetaJSON]
- getTxMetadataCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionMetaCBOR]
- submitTx :: Member Blockfrost r => Member (Error BlockfrostError) r => CBORString -> Sem r TxHash
- getLedgerGenesis :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Genesis
- getAccount :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AccountInfo
- getAccountRewards' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountReward]
- getAccountRewards :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountReward]
- getAccountHistory' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountHistory]
- getAccountHistory :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountHistory]
- getAccountDelegations' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountDelegation]
- getAccountDelegations :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountDelegation]
- getAccountRegistrations' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountRegistration]
- getAccountRegistrations :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountRegistration]
- getAccountWithdrawals' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountWithdrawal]
- getAccountWithdrawals :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountWithdrawal]
- getAccountMirs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountMir]
- getAccountMirs :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountMir]
- getAccountAssociatedAddresses' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AddressAssociated]
- getAccountAssociatedAddresses :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AddressAssociated]
- getAccountAssociatedAddressesTotal :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressAssociatedTotal
- getAccountAssociatedAssets' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [Amount]
- getAccountAssociatedAssets :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [Amount]
- listPools' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [PoolId]
- listPools :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [PoolId]
- listPoolsExtended' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [Pool]
- listPoolsExtended :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [Pool]
- listRetiredPools' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [PoolEpoch]
- listRetiredPools :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [PoolEpoch]
- listRetiringPools' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [PoolEpoch]
- listRetiringPools :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [PoolEpoch]
- getPool :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r PoolInfo
- getPoolHistory' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [PoolHistory]
- getPoolHistory :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolHistory]
- getPoolMetadata :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r (Maybe PoolMetadata)
- getPoolRelays :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolRelay]
- getPoolDelegators' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [PoolDelegator]
- getPoolDelegators :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolDelegator]
- getPoolBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [BlockHash]
- getPoolBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [BlockHash]
- getPoolUpdates' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [PoolUpdate]
- getPoolUpdates :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolUpdate]
- getTxMetadataLabels' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [TxMeta]
- getTxMetadataLabels :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [TxMeta]
- getTxMetadataByLabelJSON' :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Paged -> SortOrder -> Sem r [TxMetaJSON]
- getTxMetadataByLabelJSON :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r [TxMetaJSON]
- getTxMetadataByLabelCBOR' :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Paged -> SortOrder -> Sem r [TxMetaCBOR]
- getTxMetadataByLabelCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r [TxMetaCBOR]
- allPages :: Monad m => (Paged -> m [a]) -> m [a]

# Documentation

data Blockfrost m a Source #

data BlockfrostError #

#### Instances

Show BlockfrostError | |

Defined in Blockfrost.Client.Core showsPrec :: Int -> BlockfrostError -> ShowS # show :: BlockfrostError -> String # showList :: [BlockfrostError] -> ShowS # | |

Eq BlockfrostError | |

Defined in Blockfrost.Client.Core (==) :: BlockfrostError -> BlockfrostError -> Bool # (/=) :: BlockfrostError -> BlockfrostError -> Bool # | |

Monad m => MonadError BlockfrostError (BlockfrostClientT m) | |

Defined in Blockfrost.Client.Types throwError :: BlockfrostError -> BlockfrostClientT m a # catchError :: BlockfrostClientT m a -> (BlockfrostError -> BlockfrostClientT m a) -> BlockfrostClientT m a # |

#### Instances

IsString Project | |

Defined in Blockfrost.Auth fromString :: String -> Project # | |

Generic Project | |

Show Project | |

Eq Project | |

Monad m => MonadReader ClientConfig (BlockfrostClientT m) | |

Defined in Blockfrost.Client.Types ask :: BlockfrostClientT m ClientConfig # local :: (ClientConfig -> ClientConfig) -> BlockfrostClientT m a -> BlockfrostClientT m a # reader :: (ClientConfig -> a) -> BlockfrostClientT m a # | |

type Rep Project | |

Defined in Blockfrost.Auth type Rep Project = D1 ('MetaData "Project" "Blockfrost.Auth" "blockfrost-api-0.10.0.0-7CQfmHgBZ8wGvwXQbGhaPa" 'False) (C1 ('MetaCons "Project" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectEnv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Env) :*: S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |

runBlockfrost :: Member (Embed IO) r => Member (Reader Project) r => Sem (Blockfrost ': r) a -> Sem r a Source #

# Client

getRoot :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r URLVersion Source #

getHealth :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Healthy Source #

getClock :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r ServerTime Source #

getMetrics :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [Metric] Source #

getMetricsEndpoints :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [(Text, Metric)] Source #

# Client.NutLink

nutlinkListAddress :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r NutlinkAddress Source #

nutlinkListAddressTickers' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [NutlinkAddressTicker] Source #

nutlinkListAddressTickers :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [NutlinkAddressTicker] Source #

nutlinkAddressTickers' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Text -> Paged -> SortOrder -> Sem r [NutlinkTicker] Source #

nutlinkAddressTickers :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Text -> Sem r [NutlinkTicker] Source #

nutlinkTickers' :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Paged -> SortOrder -> Sem r [(Address, NutlinkTicker)] Source #

nutlinkTickers :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r [(Address, NutlinkTicker)] Source #

# Client.IPFS

ipfsGateway :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSData Source #

ipfsPin :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSPinChange Source #

ipfsListPins' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [IPFSPin] Source #

ipfsListPins :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [IPFSPin] Source #

ipfsGetPin :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSPin Source #

ipfsRemovePin :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r IPFSPinChange Source #

# Client.Cardano.Blocks

getLatestBlock :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Block Source #

getLatestBlockTxs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [TxHash] Source #

getLatestBlockTxs :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [TxHash] Source #

getBlock :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r Block Source #

getBlockSlot :: Member Blockfrost r => Member (Error BlockfrostError) r => Slot -> Sem r Block Source #

getBlockEpochSlot :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Slot -> Sem r Block Source #

getNextBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> Sem r [Block] Source #

getNextBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [Block] Source #

getPreviousBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> Sem r [Block] Source #

getPreviousBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [Block] Source #

getBlockTxs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> SortOrder -> Sem r [TxHash] Source #

getBlockTxs :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [TxHash] Source #

getBlockAffectedAddresses' :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Paged -> Sem r [(Address, [TxHash])] Source #

getBlockAffectedAddresses :: Member Blockfrost r => Member (Error BlockfrostError) r => Either Integer BlockHash -> Sem r [(Address, [TxHash])] Source #

# Client.Cardano.Network

getNetworkInfo :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Network Source #

getNetworkEras :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [NetworkEraSummary] Source #

# Client.Cardano.Addresses

getAddressInfo :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressInfo Source #

getAddressInfoExtended :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressInfoExtended Source #

getAddressDetails :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressDetails Source #

getAddressUtxos' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AddressUtxo] Source #

getAddressUtxos :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AddressUtxo] Source #

getAddressUtxosAsset' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> AssetId -> Paged -> SortOrder -> Sem r [AddressUtxo] Source #

getAddressUtxosAsset :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> AssetId -> Sem r [AddressUtxo] Source #

getAddressTransactions' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> Sem r [AddressTransaction] Source #

getAddressTransactions :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AddressTransaction] Source #

# Client.Cardano.Assets

getAssets' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [AssetInfo] Source #

getAssets :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [AssetInfo] Source #

getAssetDetails :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r AssetDetails Source #

getAssetHistory' :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Paged -> SortOrder -> Sem r [AssetHistory] Source #

getAssetHistory :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r [AssetHistory] Source #

getAssetTransactions' :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Paged -> SortOrder -> Sem r [AssetTransaction] Source #

getAssetTransactions :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r [AssetTransaction] Source #

getAssetAddresses' :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Paged -> SortOrder -> Sem r [AssetAddress] Source #

getAssetAddresses :: Member Blockfrost r => Member (Error BlockfrostError) r => AssetId -> Sem r [AssetAddress] Source #

getAssetsByPolicy' :: Member Blockfrost r => Member (Error BlockfrostError) r => PolicyId -> Paged -> SortOrder -> Sem r [AssetInfo] Source #

getAssetsByPolicy :: Member Blockfrost r => Member (Error BlockfrostError) r => PolicyId -> Sem r [AssetInfo] Source #

# Client.Cardano.Scripts

listScripts' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r ScriptHashList Source #

listScripts :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r ScriptHashList Source #

getScript :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r Script Source #

getScriptRedeemers' :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Paged -> SortOrder -> Sem r [ScriptRedeemer] Source #

getScriptRedeemers :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r [ScriptRedeemer] Source #

getScriptDatum :: Member Blockfrost r => Member (Error BlockfrostError) r => DatumHash -> Sem r ScriptDatum Source #

getScriptDatumCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => DatumHash -> Sem r ScriptDatumCBOR Source #

getScriptJSON :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r ScriptJSON Source #

getScriptCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => ScriptHash -> Sem r ScriptCBOR Source #

# Client.Cardano.Epochs

getLatestEpoch :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r EpochInfo Source #

getLatestEpochProtocolParams :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r ProtocolParams Source #

getEpoch :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r EpochInfo Source #

getNextEpochs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> Sem r [EpochInfo] Source #

getNextEpochs :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [EpochInfo] Source #

getPreviousEpochs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> Sem r [EpochInfo] Source #

getPreviousEpochs :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [EpochInfo] Source #

getEpochStake' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> Sem r [StakeDistribution] Source #

getEpochStake :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [StakeDistribution] Source #

getEpochStakeByPool' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Paged -> Sem r [PoolStakeDistribution] Source #

getEpochStakeByPool :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Sem r [PoolStakeDistribution] Source #

getEpochBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Paged -> SortOrder -> Sem r [BlockHash] Source #

getEpochBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r [BlockHash] Source #

getEpochBlocksByPool' :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Paged -> SortOrder -> Sem r [BlockHash] Source #

getEpochBlocksByPool :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> PoolId -> Sem r [BlockHash] Source #

getEpochProtocolParams :: Member Blockfrost r => Member (Error BlockfrostError) r => Epoch -> Sem r ProtocolParams Source #

# Client.Cardano.Transactions

getTx :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r Transaction Source #

getTxUtxos :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r TransactionUtxos Source #

getTxRedeemers :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionRedeemer] Source #

getTxStakes :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionStake] Source #

getTxDelegations :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionDelegation] Source #

getTxWithdrawals :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionWithdrawal] Source #

getTxMirs :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionMir] Source #

getTxPoolUpdates :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionPoolUpdate] Source #

getTxPoolRetiring :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionPoolRetiring] Source #

getTxMetadataJSON :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionMetaJSON] Source #

getTxMetadataCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => TxHash -> Sem r [TransactionMetaCBOR] Source #

submitTx :: Member Blockfrost r => Member (Error BlockfrostError) r => CBORString -> Sem r TxHash Source #

# Client.Cardano.Ledger

getLedgerGenesis :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r Genesis Source #

# Client.Cardano.Accounts

getAccount :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AccountInfo Source #

getAccountRewards' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountReward] Source #

getAccountRewards :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountReward] Source #

getAccountHistory' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountHistory] Source #

getAccountHistory :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountHistory] Source #

getAccountDelegations' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountDelegation] Source #

getAccountDelegations :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountDelegation] Source #

getAccountRegistrations' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountRegistration] Source #

getAccountRegistrations :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountRegistration] Source #

getAccountWithdrawals' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountWithdrawal] Source #

getAccountWithdrawals :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountWithdrawal] Source #

getAccountMirs' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AccountMir] Source #

getAccountMirs :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AccountMir] Source #

getAccountAssociatedAddresses' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [AddressAssociated] Source #

getAccountAssociatedAddresses :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [AddressAssociated] Source #

getAccountAssociatedAddressesTotal :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r AddressAssociatedTotal Source #

getAccountAssociatedAssets' :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Paged -> SortOrder -> Sem r [Amount] Source #

getAccountAssociatedAssets :: Member Blockfrost r => Member (Error BlockfrostError) r => Address -> Sem r [Amount] Source #

# Client.Cardano.Pools

listPools' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [PoolId] Source #

listPools :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [PoolId] Source #

listPoolsExtended' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [Pool] Source #

listPoolsExtended :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [Pool] Source #

listRetiredPools' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [PoolEpoch] Source #

listRetiredPools :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [PoolEpoch] Source #

listRetiringPools' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [PoolEpoch] Source #

listRetiringPools :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [PoolEpoch] Source #

getPool :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r PoolInfo Source #

getPoolHistory' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [PoolHistory] Source #

getPoolHistory :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolHistory] Source #

getPoolMetadata :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r (Maybe PoolMetadata) Source #

getPoolRelays :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolRelay] Source #

getPoolDelegators' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [PoolDelegator] Source #

getPoolDelegators :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolDelegator] Source #

getPoolBlocks' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [BlockHash] Source #

getPoolBlocks :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [BlockHash] Source #

getPoolUpdates' :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Paged -> SortOrder -> Sem r [PoolUpdate] Source #

getPoolUpdates :: Member Blockfrost r => Member (Error BlockfrostError) r => PoolId -> Sem r [PoolUpdate] Source #

# Client.Cardano.Metadata

getTxMetadataLabels' :: Member Blockfrost r => Member (Error BlockfrostError) r => Paged -> SortOrder -> Sem r [TxMeta] Source #

getTxMetadataLabels :: Member Blockfrost r => Member (Error BlockfrostError) r => Sem r [TxMeta] Source #

getTxMetadataByLabelJSON' :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Paged -> SortOrder -> Sem r [TxMetaJSON] Source #

getTxMetadataByLabelJSON :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r [TxMetaJSON] Source #

getTxMetadataByLabelCBOR' :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Paged -> SortOrder -> Sem r [TxMetaCBOR] Source #

getTxMetadataByLabelCBOR :: Member Blockfrost r => Member (Error BlockfrostError) r => Text -> Sem r [TxMetaCBOR] Source #