blockfrost-api-0.3.1.0: API definitions for blockfrost.io
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Lens

Contents

Description

Lenses for Blockfrost types

Synopsis

Documentation

class HasUrl s a | s -> a where Source #

Methods

url :: Lens' s a Source #

Instances

Instances details
HasUrl URLVersion Text Source # 
Instance details

Defined in Blockfrost.Lens

HasUrl PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasUrl PoolUpdateMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasUrl AssetMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasVersion s a | s -> a where Source #

Methods

version :: Lens' s a Source #

Instances

Instances details
HasVersion URLVersion Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasActive s a | s -> a where Source #

Methods

active :: Lens' s a Source #

Instances

Instances details
HasActive AccountInfo Bool Source # 
Instance details

Defined in Blockfrost.Lens

class HasControlledAmount s a | s -> a where Source #

Instances

Instances details
a ~ Lovelaces => HasControlledAmount AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasPoolId s a | s -> a where Source #

Methods

poolId :: Lens' s a Source #

Instances

Instances details
HasPoolId PoolMetadata PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId PoolInfo PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId PoolEpoch PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId TransactionPoolRetiring PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId TransactionPoolUpdate PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId TransactionDelegation PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId StakeDistribution PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountDelegation PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountHistory PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountReward PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId AccountInfo (Maybe PoolId) Source # 
Instance details

Defined in Blockfrost.Lens

class HasReservesSum s a | s -> a where Source #

Methods

reservesSum :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasReservesSum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasRewardsSum s a | s -> a where Source #

Methods

rewardsSum :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasRewardsSum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasTreasurySum s a | s -> a where Source #

Methods

treasurySum :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasTreasurySum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasWithdrawableAmount s a | s -> a where Source #

Instances

Instances details
a ~ Lovelaces => HasWithdrawableAmount AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasWithdrawalsSum s a | s -> a where Source #

Instances

Instances details
a ~ Lovelaces => HasWithdrawalsSum AccountInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasAmount s a | s -> a where Source #

Methods

amount :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasAmount TransactionMir a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount TransactionWithdrawal a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount PoolStakeDistribution a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount StakeDistribution a Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AssetHistory Quantity Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountMir a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountWithdrawal a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountDelegation a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountHistory a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasAmount AccountReward a Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount UtxoOutput [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount UtxoInput [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AddressUtxo [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

HasAmount AddressInfo [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

class HasEpoch s a | s -> a where Source #

Methods

epoch :: Lens' s a Source #

Instances

Instances details
HasEpoch PoolHistory Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch PoolEpoch Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch ProtocolParams Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch EpochInfo Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch AccountReward Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch Block (Maybe Epoch) Source # 
Instance details

Defined in Blockfrost.Lens

class HasTxHash s a | s -> a where Source #

Methods

txHash :: Lens' s a Source #

Instances

Instances details
HasTxHash NutlinkTicker TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash PoolUpdate TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash UtxoInput Text Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash TxMetaCBOR Text Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash TxMetaJSON Text Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AssetTransaction TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AssetHistory TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AddressTransaction TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AddressUtxo TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountMir TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountWithdrawal TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountRegistration TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasTxHash AccountDelegation TxHash Source # 
Instance details

Defined in Blockfrost.Lens

class HasAddress s a | s -> a where Source #

Methods

address :: Lens' s a Source #

Instances

Instances details
HasAddress NutlinkAddress Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress PoolDelegator Text Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress TransactionMir Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress TransactionWithdrawal Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress TransactionDelegation Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress TransactionStake Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress UtxoOutput Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress UtxoInput Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress AssetAddress Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress AddressDetails Address Source # 
Instance details

Defined in Blockfrost.Lens

HasAddress AddressInfo Address Source # 
Instance details

Defined in Blockfrost.Lens

class HasScript s a | s -> a where Source #

Methods

script :: Lens' s a Source #

Instances

Instances details
HasScript AddressInfo Bool Source # 
Instance details

Defined in Blockfrost.Lens

class HasType s a | s -> a where Source #

Methods

type_ :: Lens' s a Source #

Instances

Instances details
HasType AddressInfo AddressType Source # 
Instance details

Defined in Blockfrost.Lens

class HasReceivedSum s a | s -> a where Source #

Methods

receivedSum :: Lens' s a Source #

Instances

Instances details
HasReceivedSum AddressDetails [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

class HasSentSum s a | s -> a where Source #

Methods

sentSum :: Lens' s a Source #

Instances

Instances details
HasSentSum AddressDetails [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

class HasTxCount s a | s -> a where Source #

Methods

txCount :: Lens' s a Source #

Instances

Instances details
HasTxCount EpochInfo Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasTxCount Block Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasTxCount AddressDetails Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasBlock s a | s -> a where Source #

Methods

block :: Lens' s a Source #

Instances

Instances details
HasBlock Transaction BlockHash Source # 
Instance details

Defined in Blockfrost.Lens

HasBlock AddressUtxo BlockHash Source # 
Instance details

Defined in Blockfrost.Lens

class HasDataHash s a | s -> a where Source #

Methods

dataHash :: Lens' s a Source #

class HasOutputIndex s a | s -> a where Source #

Methods

outputIndex :: Lens' s a Source #

class HasBlockTime s a | s -> a where Source #

Methods

blockTime :: Lens' s a Source #

Instances

Instances details
HasBlockTime AddressTransaction POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasAsset s a | s -> a where Source #

Methods

asset :: Lens' s a Source #

Instances

Instances details
HasAsset AssetDetails Text Source # 
Instance details

Defined in Blockfrost.Lens

HasAsset AssetInfo Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasQuantity s a | s -> a where Source #

Methods

quantity :: Lens' s a Source #

class HasAssetName s a | s -> a where Source #

Methods

assetName :: Lens' s a Source #

Instances

Instances details
HasAssetName AssetDetails (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasFingerprint s a | s -> a where Source #

Methods

fingerprint :: Lens' s a Source #

Instances

Instances details
HasFingerprint AssetDetails Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasInitialMintTxHash s a | s -> a where Source #

Instances

Instances details
HasInitialMintTxHash AssetDetails TxHash Source # 
Instance details

Defined in Blockfrost.Lens

class HasMintOrBurnCount s a | s -> a where Source #

Instances

Instances details
HasMintOrBurnCount AssetDetails Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasPolicyId s a | s -> a where Source #

Methods

policyId :: Lens' s a Source #

Instances

Instances details
HasPolicyId AssetDetails PolicyId Source # 
Instance details

Defined in Blockfrost.Lens

class HasImage s a | s -> a where Source #

Methods

image :: Lens' s a Source #

Instances

Instances details
HasImage AssetOnChainMetadata Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasName s a | s -> a where Source #

Methods

name :: Lens' s a Source #

class HasDecimals s a | s -> a where Source #

Methods

decimals :: Lens' s a Source #

Instances

Instances details
HasDecimals AssetMetadata (Maybe Int) Source # 
Instance details

Defined in Blockfrost.Lens

class s a | s -> a where Source #

Methods

:: Lens' s a Source #

Instances

class HasTicker s a | s -> a where Source #

Methods

ticker :: Lens' s a Source #

Instances

Instances details
HasTicker PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasTicker PoolUpdateMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasTicker AssetMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasBlockVrf s a | s -> a where Source #

Methods

blockVrf :: Lens' s a Source #

Instances

Instances details
HasBlockVrf Block (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasConfirmations s a | s -> a where Source #

Methods

confirmations :: Lens' s a Source #

Instances

Instances details
HasConfirmations Block Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasEpochSlot s a | s -> a where Source #

Methods

epochSlot :: Lens' s a Source #

Instances

Instances details
HasEpochSlot Block (Maybe Integer) Source # 
Instance details

Defined in Blockfrost.Lens

class HasFees s a | s -> a where Source #

Methods

fees :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasFees PoolHistory a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasFees Transaction a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasFees EpochInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Maybe Lovelaces => HasFees Block a Source # 
Instance details

Defined in Blockfrost.Lens

Methods

fees :: Lens' Block a Source #

class HasHash s a | s -> a where Source #

Methods

hash :: Lens' s a Source #

Instances

Instances details
HasHash TransactionUtxos TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasHash Transaction Text Source # 
Instance details

Defined in Blockfrost.Lens

HasHash Block BlockHash Source # 
Instance details

Defined in Blockfrost.Lens

HasHash PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasHash PoolUpdateMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasHeight s a | s -> a where Source #

Methods

height :: Lens' s a Source #

Instances

Instances details
HasHeight BlockIndex Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasHeight Block (Maybe Integer) Source # 
Instance details

Defined in Blockfrost.Lens

class HasNextBlock s a | s -> a where Source #

Methods

nextBlock :: Lens' s a Source #

Instances

Instances details
HasNextBlock Block (Maybe BlockHash) Source # 
Instance details

Defined in Blockfrost.Lens

class HasOutput s a | s -> a where Source #

Methods

output :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasOutput EpochInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Maybe Lovelaces => HasOutput Block a Source # 
Instance details

Defined in Blockfrost.Lens

Methods

output :: Lens' Block a Source #

class HasPreviousBlock s a | s -> a where Source #

Methods

previousBlock :: Lens' s a Source #

Instances

Instances details
HasPreviousBlock Block (Maybe BlockHash) Source # 
Instance details

Defined in Blockfrost.Lens

class HasSize s a | s -> a where Source #

Methods

size :: Lens' s a Source #

Instances

Instances details
HasSize IPFSPin Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasSize IPFSAdd Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasSize Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasSize Block Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasSlot s a | s -> a where Source #

Methods

slot :: Lens' s a Source #

Instances

Instances details
HasSlot Transaction Slot Source # 
Instance details

Defined in Blockfrost.Lens

HasSlot Block (Maybe Slot) Source # 
Instance details

Defined in Blockfrost.Lens

class HasSlotLeader s a | s -> a where Source #

Methods

slotLeader :: Lens' s a Source #

Instances

Instances details
HasSlotLeader Block Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasTime s a | s -> a where Source #

Methods

time :: Lens' s a Source #

Instances

Instances details
HasTime Block POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasActiveStake s a | s -> a where Source #

Methods

activeStake :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasActiveStake PoolHistory a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasActiveStake PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Maybe Lovelaces => HasActiveStake EpochInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasBlockCount s a | s -> a where Source #

Methods

blockCount :: Lens' s a Source #

Instances

Instances details
HasBlockCount EpochInfo Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasEndTime s a | s -> a where Source #

Methods

endTime :: Lens' s a Source #

Instances

Instances details
HasEndTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasFirstBlockTime s a | s -> a where Source #

Instances

Instances details
HasFirstBlockTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasLastBlockTime s a | s -> a where Source #

Methods

lastBlockTime :: Lens' s a Source #

Instances

Instances details
HasLastBlockTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasStartTime s a | s -> a where Source #

Methods

startTime :: Lens' s a Source #

Instances

Instances details
HasStartTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasA0 s a | s -> a where Source #

Methods

a0 :: Lens' s a Source #

Instances

Instances details
HasA0 ProtocolParams Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasCoinsPerUtxoWord s a | s -> a where Source #

Instances

Instances details
a ~ Lovelaces => HasCoinsPerUtxoWord ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

class HasCollateralPercent s a | s -> a where Source #

Instances

Instances details
HasCollateralPercent ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasEMax s a | s -> a where Source #

Methods

eMax :: Lens' s a Source #

Instances

Instances details
HasEMax ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasExtraEntropy s a | s -> a where Source #

Methods

extraEntropy :: Lens' s a Source #

Instances

Instances details
HasExtraEntropy ProtocolParams (Maybe Value) Source # 
Instance details

Defined in Blockfrost.Lens

class HasKeyDeposit s a | s -> a where Source #

Methods

keyDeposit :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasKeyDeposit ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxBlockExMem s a | s -> a where Source #

Methods

maxBlockExMem :: Lens' s a Source #

Instances

Instances details
HasMaxBlockExMem ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxBlockExSteps s a | s -> a where Source #

Instances

Instances details
HasMaxBlockExSteps ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxBlockHeaderSize s a | s -> a where Source #

class HasMaxBlockSize s a | s -> a where Source #

Methods

maxBlockSize :: Lens' s a Source #

Instances

Instances details
HasMaxBlockSize ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxCollateralInputs s a | s -> a where Source #

class HasMaxTxExMem s a | s -> a where Source #

Methods

maxTxExMem :: Lens' s a Source #

Instances

Instances details
HasMaxTxExMem ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxTxExSteps s a | s -> a where Source #

Methods

maxTxExSteps :: Lens' s a Source #

Instances

Instances details
HasMaxTxExSteps ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxTxSize s a | s -> a where Source #

Methods

maxTxSize :: Lens' s a Source #

Instances

Instances details
HasMaxTxSize ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxValSize s a | s -> a where Source #

Methods

maxValSize :: Lens' s a Source #

Instances

Instances details
HasMaxValSize ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasMinFeeA s a | s -> a where Source #

Methods

minFeeA :: Lens' s a Source #

Instances

Instances details
HasMinFeeA ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasMinFeeB s a | s -> a where Source #

Methods

minFeeB :: Lens' s a Source #

Instances

Instances details
HasMinFeeB ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasMinPoolCost s a | s -> a where Source #

Methods

minPoolCost :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasMinPoolCost ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

class HasMinUtxo s a | s -> a where Source #

Methods

minUtxo :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasMinUtxo ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

class HasNOpt s a | s -> a where Source #

Methods

nOpt :: Lens' s a Source #

Instances

Instances details
HasNOpt ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasNonce s a | s -> a where Source #

Methods

nonce :: Lens' s a Source #

Instances

Instances details
HasNonce ProtocolParams Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasPoolDeposit s a | s -> a where Source #

Methods

poolDeposit :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasPoolDeposit ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

class HasPriceMem s a | s -> a where Source #

Methods

priceMem :: Lens' s a Source #

Instances

Instances details
HasPriceMem ProtocolParams Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasPriceStep s a | s -> a where Source #

Methods

priceStep :: Lens' s a Source #

Instances

Instances details
HasPriceStep ProtocolParams Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasProtocolMajorVer s a | s -> a where Source #

Instances

Instances details
HasProtocolMajorVer ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasProtocolMinorVer s a | s -> a where Source #

Instances

Instances details
HasProtocolMinorVer ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasRho s a | s -> a where Source #

Methods

rho :: Lens' s a Source #

Instances

Instances details
HasRho ProtocolParams Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasTau s a | s -> a where Source #

Methods

tau :: Lens' s a Source #

Instances

Instances details
HasTau ProtocolParams Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasActiveSlotsCoefficient s a | s -> a where Source #

Instances

Instances details
HasActiveSlotsCoefficient Genesis Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasEpochLength s a | s -> a where Source #

Methods

epochLength :: Lens' s a Source #

Instances

Instances details
HasEpochLength Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxKesEvolutions s a | s -> a where Source #

Instances

Instances details
HasMaxKesEvolutions Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasMaxLovelaceSupply s a | s -> a where Source #

Instances

Instances details
a ~ Lovelaces => HasMaxLovelaceSupply Genesis a Source # 
Instance details

Defined in Blockfrost.Lens

class HasNetworkMagic s a | s -> a where Source #

Methods

networkMagic :: Lens' s a Source #

Instances

Instances details
HasNetworkMagic Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasSecurityParam s a | s -> a where Source #

Methods

securityParam :: Lens' s a Source #

Instances

Instances details
HasSecurityParam Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasSlotLength s a | s -> a where Source #

Methods

slotLength :: Lens' s a Source #

Instances

Instances details
HasSlotLength Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasSlotsPerKesPeriod s a | s -> a where Source #

Instances

Instances details
HasSlotsPerKesPeriod Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasSystemStart s a | s -> a where Source #

Methods

systemStart :: Lens' s a Source #

Instances

Instances details
HasSystemStart Genesis POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasUpdateQuorum s a | s -> a where Source #

Methods

updateQuorum :: Lens' s a Source #

Instances

Instances details
HasUpdateQuorum Genesis Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasCip10 s a | s -> a where Source #

Methods

cip10 :: Lens' s a Source #

Instances

Instances details
HasCip10 TxMeta (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasCount s a | s -> a where Source #

Methods

count :: Lens' s a Source #

Instances

Instances details
HasCount NutlinkAddressTicker Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasCount TxMeta Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasLabel s a | s -> a where Source #

Methods

label :: Lens' s a Source #

Instances

Instances details
HasLabel TransactionMetaCBOR Text Source # 
Instance details

Defined in Blockfrost.Lens

HasLabel TransactionMetaJSON Text Source # 
Instance details

Defined in Blockfrost.Lens

HasLabel TxMeta Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasJSONMetadata s a | s -> a where Source #

Methods

jSONMetadata :: Lens' s a Source #

class HasStake s a | s -> a where Source #

Methods

stake :: Lens' s a Source #

Instances

Instances details
HasStake Network NetworkStake Source # 
Instance details

Defined in Blockfrost.Lens

class HasSupply s a | s -> a where Source #

Methods

supply :: Lens' s a Source #

Instances

Instances details
HasSupply Network NetworkSupply Source # 
Instance details

Defined in Blockfrost.Lens

class HasActiveSize s a | s -> a where Source #

Methods

activeSize :: Lens' s a Source #

Instances

Instances details
HasActiveSize PoolHistory Double Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveSize PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasBlocksMinted s a | s -> a where Source #

Methods

blocksMinted :: Lens' s a Source #

Instances

Instances details
HasBlocksMinted PoolInfo Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasDeclaredPledge s a | s -> a where Source #

Instances

Instances details
a ~ Lovelaces => HasDeclaredPledge PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasFixedCost s a | s -> a where Source #

Methods

fixedCost :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasFixedCost PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasFixedCost TransactionPoolUpdate a Source # 
Instance details

Defined in Blockfrost.Lens

class HasHex s a | s -> a where Source #

Methods

hex :: Lens' s a Source #

Instances

Instances details
HasHex PoolMetadata Text Source # 
Instance details

Defined in Blockfrost.Lens

HasHex PoolInfo Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasLiveDelegators s a | s -> a where Source #

Instances

Instances details
HasLiveDelegators PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasLivePledge s a | s -> a where Source #

Methods

livePledge :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasLivePledge PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasLiveSaturation s a | s -> a where Source #

Instances

Instances details
HasLiveSaturation PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasLiveSize s a | s -> a where Source #

Methods

liveSize :: Lens' s a Source #

Instances

Instances details
HasLiveSize PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

class HasLiveStake s a | s -> a where Source #

Methods

liveStake :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasLiveStake PoolDelegator a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasLiveStake PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

class HasMarginCost s a | s -> a where Source #

Methods

marginCost :: Lens' s a Source #

class HasOwners s a | s -> a where Source #

Methods

owners :: Lens' s a Source #

Instances

Instances details
HasOwners PoolInfo [Address] Source # 
Instance details

Defined in Blockfrost.Lens

HasOwners TransactionPoolUpdate [Address] Source # 
Instance details

Defined in Blockfrost.Lens

class HasRegistration s a | s -> a where Source #

Methods

registration :: Lens' s a Source #

Instances

Instances details
HasRegistration TransactionStake Bool Source # 
Instance details

Defined in Blockfrost.Lens

HasRegistration PoolInfo [Text] Source # 
Instance details

Defined in Blockfrost.Lens

class HasRetirement s a | s -> a where Source #

Methods

retirement :: Lens' s a Source #

Instances

Instances details
HasRetirement PoolInfo [Text] Source # 
Instance details

Defined in Blockfrost.Lens

class HasVrfKey s a | s -> a where Source #

Methods

vrfKey :: Lens' s a Source #

Instances

Instances details
HasVrfKey PoolInfo Text Source # 
Instance details

Defined in Blockfrost.Lens

HasVrfKey TransactionPoolUpdate Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasBlocks s a | s -> a where Source #

Methods

blocks :: Lens' s a Source #

Instances

Instances details
HasBlocks PoolHistory Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasDelegatorsCount s a | s -> a where Source #

Instances

Instances details
HasDelegatorsCount PoolHistory Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasRewards s a | s -> a where Source #

Methods

rewards :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasRewards PoolHistory a Source # 
Instance details

Defined in Blockfrost.Lens

class HasHomepage s a | s -> a where Source #

Methods

homepage :: Lens' s a Source #

Instances

Instances details
HasHomepage PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasHomepage PoolUpdateMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasDns s a | s -> a where Source #

Methods

dns :: Lens' s a Source #

Instances

Instances details
HasDns PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasDnsSrv s a | s -> a where Source #

Methods

dnsSrv :: Lens' s a Source #

Instances

Instances details
HasDnsSrv PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasIpv4 s a | s -> a where Source #

Methods

ipv4 :: Lens' s a Source #

Instances

Instances details
HasIpv4 PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasIpv6 s a | s -> a where Source #

Methods

ipv6 :: Lens' s a Source #

Instances

Instances details
HasIpv6 PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasPort s a | s -> a where Source #

Methods

port :: Lens' s a Source #

Instances

Instances details
HasPort PoolRelay Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasAssetMintOrBurnCount s a | s -> a where Source #

Instances

Instances details
HasAssetMintOrBurnCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasDelegationCount s a | s -> a where Source #

Instances

Instances details
HasDelegationCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasDeposit s a | s -> a where Source #

Methods

deposit :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasDeposit Transaction a Source # 
Instance details

Defined in Blockfrost.Lens

class HasIndex s a | s -> a where Source #

Methods

index :: Lens' s a Source #

Instances

Instances details
HasIndex Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasIndex BlockIndex (Maybe Integer) Source # 
Instance details

Defined in Blockfrost.Lens

class HasInvalidBefore s a | s -> a where Source #

Methods

invalidBefore :: Lens' s a Source #

Instances

Instances details
HasInvalidBefore Transaction (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasInvalidHereafter s a | s -> a where Source #

Instances

Instances details
HasInvalidHereafter Transaction (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

class HasMirCertCount s a | s -> a where Source #

Methods

mirCertCount :: Lens' s a Source #

Instances

Instances details
HasMirCertCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasOutputAmount s a | s -> a where Source #

Methods

outputAmount :: Lens' s a Source #

Instances

Instances details
HasOutputAmount Transaction [Amount] Source # 
Instance details

Defined in Blockfrost.Lens

class HasPoolRetireCount s a | s -> a where Source #

Instances

Instances details
HasPoolRetireCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasPoolUpdateCount s a | s -> a where Source #

Instances

Instances details
HasPoolUpdateCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasRedeemerCount s a | s -> a where Source #

Methods

redeemerCount :: Lens' s a Source #

Instances

Instances details
HasRedeemerCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasStakeCertCount s a | s -> a where Source #

Instances

Instances details
HasStakeCertCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasUtxoCount s a | s -> a where Source #

Methods

utxoCount :: Lens' s a Source #

Instances

Instances details
HasUtxoCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasValidContract s a | s -> a where Source #

Methods

validContract :: Lens' s a Source #

Instances

Instances details
HasValidContract Transaction Bool Source # 
Instance details

Defined in Blockfrost.Lens

class HasWithdrawalCount s a | s -> a where Source #

Instances

Instances details
HasWithdrawalCount Transaction Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasInputs s a | s -> a where Source #

Methods

inputs :: Lens' s a Source #

Instances

Instances details
HasInputs TransactionUtxos [UtxoInput] Source # 
Instance details

Defined in Blockfrost.Lens

class HasOutputs s a | s -> a where Source #

Methods

outputs :: Lens' s a Source #

Instances

Instances details
HasOutputs TransactionUtxos [UtxoOutput] Source # 
Instance details

Defined in Blockfrost.Lens

class HasCollateral s a | s -> a where Source #

Methods

collateral :: Lens' s a Source #

Instances

Instances details
HasCollateral UtxoInput Bool Source # 
Instance details

Defined in Blockfrost.Lens

class HasPot s a | s -> a where Source #

Methods

pot :: Lens' s a Source #

Instances

Instances details
HasPot TransactionMir Pot Source # 
Instance details

Defined in Blockfrost.Lens

class HasPledge s a | s -> a where Source #

Methods

pledge :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasPledge TransactionPoolUpdate a Source # 
Instance details

Defined in Blockfrost.Lens

class HasRelays s a | s -> a where Source #

Methods

relays :: Lens' s a Source #

Instances

Instances details
HasRelays TransactionPoolUpdate [PoolRelay] Source # 
Instance details

Defined in Blockfrost.Lens

class HasRetiringEpoch s a | s -> a where Source #

Methods

retiringEpoch :: Lens' s a Source #

class HasDatumHash s a | s -> a where Source #

Methods

datumHash :: Lens' s a Source #

Instances

Instances details
HasDatumHash TransactionRedeemer DatumHash Source # 
Instance details

Defined in Blockfrost.Lens

class HasFee s a | s -> a where Source #

Methods

fee :: Lens' s a Source #

Instances

Instances details
a ~ Lovelaces => HasFee TransactionRedeemer a Source # 
Instance details

Defined in Blockfrost.Lens

class HasPurpose s a | s -> a where Source #

Methods

purpose :: Lens' s a Source #

class HasScriptHash s a | s -> a where Source #

Methods

scriptHash :: Lens' s a Source #

class HasUnitMem s a | s -> a where Source #

Methods

unitMem :: Lens' s a Source #

Instances

Instances details
HasUnitMem TransactionRedeemer Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasUnitSteps s a | s -> a where Source #

Methods

unitSteps :: Lens' s a Source #

Instances

Instances details
HasUnitSteps TransactionRedeemer Quantity Source # 
Instance details

Defined in Blockfrost.Lens

class HasIpfsHash s a | s -> a where Source #

Methods

ipfsHash :: Lens' s a Source #

Instances

Instances details
HasIpfsHash IPFSPin Text Source # 
Instance details

Defined in Blockfrost.Lens

HasIpfsHash IPFSPinChange Text Source # 
Instance details

Defined in Blockfrost.Lens

HasIpfsHash IPFSAdd Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasState s a | s -> a where Source #

Methods

state :: Lens' s a Source #

Instances

Instances details
HasState IPFSPin PinState Source # 
Instance details

Defined in Blockfrost.Lens

HasState IPFSPinChange PinState Source # 
Instance details

Defined in Blockfrost.Lens

class HasTimeCreated s a | s -> a where Source #

Methods

timeCreated :: Lens' s a Source #

Instances

Instances details
HasTimeCreated IPFSPin POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasTimePinned s a | s -> a where Source #

Methods

timePinned :: Lens' s a Source #

Instances

Instances details
HasTimePinned IPFSPin POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

class HasMetadataHash s a | s -> a where Source #

Methods

metadataHash :: Lens' s a Source #

Instances

Instances details
HasMetadataHash NutlinkAddress Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasMetadataUrl s a | s -> a where Source #

Methods

metadataUrl :: Lens' s a Source #

Instances

Instances details
HasMetadataUrl NutlinkAddress Text Source # 
Instance details

Defined in Blockfrost.Lens

class HasLatestBlock s a | s -> a where Source #

Methods

latestBlock :: Lens' s a Source #

Instances

Instances details
HasLatestBlock NutlinkAddressTicker Integer Source # 
Instance details

Defined in Blockfrost.Lens

class HasPayload s a | s -> a where Source #

Methods

payload :: Lens' s a Source #

Instances

Instances details
HasPayload NutlinkTicker Value Source # 
Instance details

Defined in Blockfrost.Lens

Shared