Changelog for blockfrost-api-0.7.0.0
Version 0.7.0.0 (2022-10-11)
- Changes
- Added
ScriptHashListnewtype instead of overlapping instance for[ScriptHash]which is used as a result of_listScriptsinScriptsAPI
- Added
Version 0.6.0.0 (2022-08-31)
-
Additions
AccountRewardnow contains additionaltypefield refering toRewardTypeAssetTransactiongrowsblockTimefieldPoolInfogrowsblocksEpochfield with number of blocks minted in the current epoch- Vasil related
ScriptDatumCBORtype and_getScriptDatumCBORroute- Both
UtxoInputandUtxoOutputnow hasinlineDatumfield withMaybe InlineDatumtypereferenceScriptHashfield withMaybe ScriptHashtype
UtxoInputnow hasreferencefield indicating that input is a reference inputUtxoOutputnow hascollateralfield when UTXO is a collateral outputAddressUtxonow also hasinlineDatumandreferenceScriptHashfields
CostModelsdata type which is now returned as part ofProtocolParametersBlocknow hasopCertandopCertCounterfieldsPreprodandPreviewenvironments
-
Changes
ValidationPurposetype moved fromBlockfrost.Types.Cardano.TransactionstoBlockfrost.Types.Shared.ValidationPurposedataHashfield ofAddressUtxochanges type fromMaybe TexttoMaybe DatumHashdatumHashfield ofTransactionRedeemeris now deprecated in favor ofredeemerDataHashfielddatumHashfield ofScriptRedeemeris now deprecated in favor ofredeemerDataHashfield- and also changes type from
TexttoDataHash
- and also changes type from
ScriptTypePlutustype is nowPlutusV1- adds
PlutusV2
ProtocolParameterscoinsPerUtxoWordis now deprecated, prefercoinsPerUtxoSizecoinsPerUtxoSizeis now- Cost per UTxO word for Alonzo.
- Cost per UTxO byte for Babbage and later.
extraEntropyfield changes type fromMaybe ValuetoMaybe Text
ProtocolParams- types of following fields changed from
DoubletoRationala0rhotaudecentralisationParampriceMempriceStep
- types of following fields changed from
PoolInfo- type of
marginCostfield changes fromDoubletoRational
- type of
Genesis- type of
activeSlotsCoefficientfield changes fromDoubletoRational
- type of
Version 0.5.0.0 (2022-06-06)
- Fix return type of
_getEpochStakeByPoolfromStakeDistributiontoPoolStakeDistribution
Version 0.4.0.1 (2022-04-05)
- Allow servant
0.19
Version 0.4.0.0 (2022-03-09)
- Changes
AccountInfoactiveEpochfield type changed fromIntegertoMaybe Integer
UtxoInputtxHashfield type changed fromTexttoTxHashnewtype
TxMetaJSONandTxMetaCBORtxHashfield type changed fromTexttoTxHashnewtype
Version 0.3.1.0 (2022-02-17)
- Additions
/blocks/${hash_or_number}/addressesendpoint (Affected addresses in a block)blockTimefield toAddressTransactionOrdinstances forAddress,AssetId,BlockHash,Epoch,Slot,TxHashEnum,Real,IntegralforSlotandEpoch
Version 0.3.0.0 (2022-02-07)
-
Changes
UtxoInputandUtxoOutputdataHashfields changed fromMaybe TexttoMaybe DataHashTransactionRedeemerscriptHashfield changed fromMaybe TexttoMaybe ScriptHashdatumHashfield changed fromMaybe TexttoMaybe DatumHash
-
Additions
TransactiongrowsBooleanvalidContractfield- Lenses for
TransactionRedeemer
Version 0.2.1.0 (2021-11-15)
- Additions
ToSampleinstances forScriptDatum,ScriptJSON,ScriptCBOR/accounts/{stake_address}/addressesendpoint/accounts/{stake_address}/addresses/assetsendpoint
Version 0.2.0.0 (2021-10-29)
-
Breaking changes
AddressUTXOrenamed toAddressUtxoalong with its fieldsProtocolParamscollateralPercentfield type changed fromDoubletoIntegerTransactionMetaCBORnow usesmetadatafield instead ofCBORMetadatawhich holds the same CBOR value as before but without\\xprefix
-
Alonzo additions
collateralfield toUtxoInputredeemerCountfield toTransactiondataHashfield toUtxoInputandUtxoOutputdataHashfield toAdressUTXOoutputIndexfield toUtxoOutputscriptfield toAddressInfodatumHashfield toScriptRedeemerscriptHashanddatumHashfield toTransactionRedeemerNetworkSupplylockedfield representing supply locked by all scriptstreasuryfield (current treasury supply)reservesfield (current reserves supply)
/txs/${hash}/redeemersendpoint withTransactionRedeemerandValidationPurposetypes- Epoch cost model parameters to
ProtocolParams /scriptsendpoint andScriptHashnewtype/scripts/${script_hash}endpoint withScriptdata type/scripts/${script_hash}/redeemersendpoint withScriptRedeemerdata type/scripts/datum/${datum_hash}endpoint withScriptDatumdata type/scripts/${script_hash}/jsonendpoint withScriptJSONdata type/scripts/${script_hash}/cborendpoint withScriptCBORdata type
-
Other
-
Added
liveDelegatorsfield toPoolInfo
Version 0.1.0.0 (2021-09-14)
- Initial release
blockfrost-api uses PVP Versioning.