Safe Haskell | Safe-Inferred |
---|---|
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]
- getAccountAssociatedAddressesTotal :: MonadBlockfrost m => Address -> m AddressAssociatedTotal
- getAccountAssociatedAssets :: MonadBlockfrost m => Address -> m [Amount]
- getAccountAssociatedAssets' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [Amount]
- getAddressInfo :: MonadBlockfrost m => Address -> m AddressInfo
- getAddressInfoExtended :: MonadBlockfrost m => Address -> m AddressInfoExtended
- 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 [PoolStakeDistribution]
- getEpochStakeByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> m [PoolStakeDistribution]
- 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]
- getMempoolTransactions :: MonadBlockfrost m => Project -> Paged -> SortOrder -> m [TxHashObject]
- getMempoolTransaction :: MonadBlockfrost m => Project -> TxHash -> m MempoolTransaction
- getMempoolTransactionsByAddress :: MonadBlockfrost m => Project -> Address -> Paged -> SortOrder -> m [TxHashObject]
- getNetworkInfo :: MonadBlockfrost m => m Network
- getNetworkEras :: MonadBlockfrost m => m [NetworkEraSummary]
- listPools :: MonadBlockfrost m => m [PoolId]
- listPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolId]
- listPoolsExtended :: MonadBlockfrost m => m [Pool]
- listPoolsExtended' :: MonadBlockfrost m => Paged -> SortOrder -> m [Pool]
- 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 ScriptHashList
- listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m ScriptHashList
- 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
- getScriptDatumCBOR :: MonadBlockfrost m => DatumHash -> m ScriptDatumCBOR
- 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]
- getTxCBOR :: MonadBlockfrost m => TxHash -> m [TransactionCBOR]
- getTxMetadataCBOR :: MonadBlockfrost m => TxHash -> m [TransactionMetaCBOR]
- getTxRedeemers :: MonadBlockfrost m => TxHash -> m [TransactionRedeemer]
- submitTx :: MonadBlockfrost m => CBORString -> m TxHash
- deriveShelleyAddress :: MonadBlockfrost m => Text -> Integer -> Integer -> m DerivedAddress
- txEvaluate :: MonadBlockfrost m => CBORString -> m TxEval
- txEvaluateUTXOs :: MonadBlockfrost m => TxEvalInput -> m TxEval
- 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 #
getAccountRewards' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountReward] Source #
getAccountHistory :: MonadBlockfrost m => Address -> m [AccountHistory] Source #
getAccountHistory' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountHistory] Source #
getAccountDelegations :: MonadBlockfrost m => Address -> m [AccountDelegation] Source #
getAccountDelegations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountDelegation] Source #
getAccountRegistrations :: MonadBlockfrost m => Address -> m [AccountRegistration] Source #
getAccountRegistrations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountRegistration] Source #
getAccountWithdrawals :: MonadBlockfrost m => Address -> m [AccountWithdrawal] Source #
getAccountWithdrawals' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountWithdrawal] Source #
getAccountMirs :: MonadBlockfrost m => Address -> m [AccountMir] Source #
getAccountMirs' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountMir] Source #
getAccountAssociatedAddresses :: MonadBlockfrost m => Address -> m [AddressAssociated] Source #
getAccountAssociatedAddresses' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressAssociated] Source #
getAccountAssociatedAddressesTotal :: MonadBlockfrost m => Address -> m AddressAssociatedTotal Source #
getAccountAssociatedAssets :: MonadBlockfrost m => Address -> m [Amount] Source #
getAccountAssociatedAssets' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [Amount] Source #
getAddressInfo :: MonadBlockfrost m => Address -> m AddressInfo Source #
Obtain information about a specific address.
getAddressInfoExtended :: MonadBlockfrost m => Address -> m AddressInfoExtended Source #
Obtain extended information about a specific address.
getAddressDetails :: MonadBlockfrost m => Address -> m AddressDetails Source #
Obtain details about an address.
getAddressUtxos :: MonadBlockfrost m => Address -> m [AddressUtxo] Source #
getAddressUtxos' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressUtxo] Source #
getAddressUtxosAsset :: MonadBlockfrost m => Address -> AssetId -> m [AddressUtxo] Source #
getAddressUtxosAsset' :: MonadBlockfrost m => Address -> AssetId -> Paged -> SortOrder -> m [AddressUtxo] Source #
getAddressTransactions :: MonadBlockfrost m => Address -> m [AddressTransaction] Source #
getAddressTransactions' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> m [AddressTransaction] Source #
getAssets :: MonadBlockfrost m => m [AssetInfo] Source #
getAssets' :: MonadBlockfrost m => Paged -> SortOrder -> m [AssetInfo] Source #
getAssetDetails :: MonadBlockfrost m => AssetId -> m AssetDetails Source #
Information about a specific asset
getAssetHistory :: MonadBlockfrost m => AssetId -> m [AssetHistory] Source #
getAssetHistory' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetHistory] Source #
getAssetTransactions :: MonadBlockfrost m => AssetId -> m [AssetTransaction] Source #
getAssetTransactions' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetTransaction] Source #
getAssetAddresses :: MonadBlockfrost m => AssetId -> m [AssetAddress] Source #
getAssetAddresses' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetAddress] Source #
getAssetsByPolicy :: MonadBlockfrost m => PolicyId -> m [AssetInfo] Source #
getAssetsByPolicy' :: MonadBlockfrost m => PolicyId -> Paged -> SortOrder -> m [AssetInfo] Source #
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 #
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 #
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 #
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 #
getBlockTxs' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [TxHash] Source #
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 #
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 #
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 #
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 #
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 [PoolStakeDistribution] Source #
getEpochStakeByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> m [PoolStakeDistribution] 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 #
getEpochBlocks' :: MonadBlockfrost m => Epoch -> Paged -> SortOrder -> m [BlockHash] Source #
getEpochBlocksByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [BlockHash] Source #
getEpochBlocksByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> SortOrder -> m [BlockHash] Source #
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 #
getTxMetadataLabels' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxMeta] Source #
getTxMetadataByLabelJSON :: MonadBlockfrost m => Text -> m [TxMetaJSON] Source #
getTxMetadataByLabelJSON' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaJSON] Source #
getTxMetadataByLabelCBOR :: MonadBlockfrost m => Text -> m [TxMetaCBOR] Source #
getTxMetadataByLabelCBOR' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaCBOR] Source #
getMempoolTransactions :: MonadBlockfrost m => Project -> Paged -> SortOrder -> m [TxHashObject] Source #
getMempoolTransaction :: MonadBlockfrost m => Project -> TxHash -> m MempoolTransaction Source #
getMempoolTransactionsByAddress :: MonadBlockfrost m => Project -> Address -> Paged -> SortOrder -> m [TxHashObject] Source #
getNetworkInfo :: MonadBlockfrost m => m Network Source #
Get detailed network information.
getNetworkEras :: MonadBlockfrost m => m [NetworkEraSummary] Source #
Get summarized information on each era in the network, including start, end, and variable era parameters.
listPools :: MonadBlockfrost m => m [PoolId] Source #
listPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolId] Source #
listPoolsExtended :: MonadBlockfrost m => m [Pool] Source #
listPoolsExtended' :: MonadBlockfrost m => Paged -> SortOrder -> m [Pool] Source #
listRetiredPools :: MonadBlockfrost m => m [PoolEpoch] Source #
listRetiredPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch] Source #
listRetiringPools :: MonadBlockfrost m => m [PoolEpoch] Source #
listRetiringPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch] Source #
getPoolHistory :: MonadBlockfrost m => PoolId -> m [PoolHistory] Source #
getPoolHistory' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolHistory] Source #
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 #
getPoolDelegators' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolDelegator] Source #
getPoolBlocks :: MonadBlockfrost m => PoolId -> m [BlockHash] Source #
getPoolBlocks' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [BlockHash] Source #
getPoolUpdates :: MonadBlockfrost m => PoolId -> m [PoolUpdate] Source #
getPoolUpdates' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolUpdate] Source #
listScripts :: MonadBlockfrost m => m ScriptHashList Source #
listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m ScriptHashList Source #
getScript :: MonadBlockfrost m => ScriptHash -> m Script Source #
Get specific script information
getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ScriptRedeemer] Source #
getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ScriptRedeemer] Source #
getScriptDatum :: MonadBlockfrost m => DatumHash -> m ScriptDatum Source #
Get specific datum
getScriptDatumCBOR :: MonadBlockfrost m => DatumHash -> m ScriptDatumCBOR 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 (de-)registrations of a stake address within a transaction
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
getTxCBOR :: MonadBlockfrost m => TxHash -> m [TransactionCBOR] Source #
Get transaction in CBOR
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.
:: MonadBlockfrost m | |
=> Text | Hexadecimal xpub |
-> Integer | Account role |
-> Integer | Address index |
-> m DerivedAddress |
Derive Shelley address from xpub key
txEvaluate :: MonadBlockfrost m => CBORString -> m TxEval Source #
Submit a transaction for execution units evaluation
txEvaluateUTXOs :: MonadBlockfrost m => TxEvalInput -> m TxEval Source #
Submit a transaction for execution units evaluation (additional UTXO set)
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
.