Releases: blockfrost/blockfrost-haskell
Releases · blockfrost/blockfrost-haskell
v0.7.0.0
blockfrost-api
Breaking
- Added
ScriptHashList
newtype instead of overlapping instance for[ScriptHash]
which is used as a result of_listScripts
inScriptsAPI
#31
Additional
- Relax
lens
upper bound to allow 5.1, 5.2 #30
blockfrost-client
Breaking
listScript
andlistScripts'
now returnScriptHashList
newtype
instead of[ScriptHash]
due to overlapping instance conflicts #31
Full Changelog: v0.6.0.0...v0.7.0.0
v0.6.0.0
Vasil HF
blockfrost-api
-
Additions
AccountReward
now contains additionaltype
field refering toRewardType
AssetTransaction
growsblockTime
fieldPoolInfo
growsblocksEpoch
field with number of blocks minted in the current epoch- Vasil related
ScriptDatumCBOR
type and_getScriptDatumCBOR
route- Both
UtxoInput
andUtxoOutput
now hasinlineDatum
field withMaybe InlineDatum
typereferenceScriptHash
field withMaybe ScriptHash
type
UtxoInput
now hasreference
field indicating that input is a reference inputUtxoOutput
now hascollateral
field when UTXO is a collateral outputAddressUtxo
now also hasinlineDatum
andreferenceScriptHash
fields
CostModels
data type which is now returned as part ofProtocolParameters
Block
now hasopCert
andopCertCounter
fieldsPreprod
andPreview
environments
-
Changes
ValidationPurpose
type moved fromBlockfrost.Types.Cardano.Transactions
toBlockfrost.Types.Shared.ValidationPurpose
dataHash
field ofAddressUtxo
changes type fromMaybe Text
toMaybe DatumHash
datumHash
field ofTransactionRedeemer
is now deprecated in favor ofredeemerDataHash
fielddatumHash
field ofScriptRedeemer
is now deprecated in favor ofredeemerDataHash
field- and also changes type from
Text
toDataHash
- and also changes type from
ScriptType
Plutus
type is nowPlutusV1
- adds
PlutusV2
ProtocolParameters
coinsPerUtxoWord
is now deprecated, prefercoinsPerUtxoSize
coinsPerUtxoSize
is now- Cost per UTxO word for Alonzo.
- Cost per UTxO byte for Babbage and later.
extraEntropy
field changes type fromMaybe Value
toMaybe Text
ProtocolParams
- types of following fields changed from
Double
toRational
a0
rho
tau
decentralisationParam
priceMem
priceStep
- types of following fields changed from
PoolInfo
- type of
marginCost
field changes fromDouble
toRational
- type of
Genesis
- type of
activeSlotsCoefficient
field changes fromDouble
toRational
- type of
blockfrost-client
- Additions
getScriptDatumCBOR
query for/scripts/datum/{datum-hash}/cbor
endpoint
blockfrost-client-core
-
Additions
- HTTP Error
425
BlockfrostMempoolFullOrPinQueueFull
toBlockfrostError
- related to
/tx/submit
endpoint - or to
IPFS
pinning/ipfs/pin/add/{IPFS_path}
endpoint
- related to
Preprod
andPreview
environments
- HTTP Error
-
Changes
- Order of results returned by
allPages
is now the same as returned by the API. Was unintentionally reversed before.
- Order of results returned by
v0.5.0.0
v0.4.0.1
v0.4
blockfrost-api
changesAccountInfo
activeEpoch
field type changed fromInteger
toMaybe Integer
UtxoInput
txHash
field type changed fromText
toTxHash
newtype
TxMetaJSON
andTxMetaCBOR
txHash
field type changed fromText
toTxHash
newtype
blockfrost-client-core
now re-exportsnextPage
helperblockfrost-client
now requiresblockfrost-api 0.4.x
v0.3.1
-
blockfrost-api
additions/blocks/${hash_or_number}/addresses
endpoint (Affected addresses in a block)blockTime
field toAddressTransaction
Ord
instances forAddress
,AssetId
,BlockHash
,Epoch
,Slot
,TxHash
Enum
,Real
,Integral
forSlot
andEpoch
-
blockfrost-client
additionsgetBlockAffectedAddresses
for/blocks/${hash_or_number}/addresses
endpoint (Affected addresses in a block)
Tagless
v0.2.1
Alonzo
Initial release
Packages now available on Hackage.