Changelog for blockfrost-api-0.7.0.0
Version 0.7.0.0 (2022-10-11)
- Changes
- Added
ScriptHashList
newtype instead of overlapping instance for[ScriptHash]
which is used as a result of_listScripts
inScriptsAPI
- Added
Version 0.6.0.0 (2022-08-31)
-
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
Version 0.5.0.0 (2022-06-06)
- Fix return type of
_getEpochStakeByPool
fromStakeDistribution
toPoolStakeDistribution
Version 0.4.0.1 (2022-04-05)
- Allow servant
0.19
Version 0.4.0.0 (2022-03-09)
- Changes
AccountInfo
activeEpoch
field type changed fromInteger
toMaybe Integer
UtxoInput
txHash
field type changed fromText
toTxHash
newtype
TxMetaJSON
andTxMetaCBOR
txHash
field type changed fromText
toTxHash
newtype
Version 0.3.1.0 (2022-02-17)
- 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
Version 0.3.0.0 (2022-02-07)
-
Changes
UtxoInput
andUtxoOutput
dataHash
fields changed fromMaybe Text
toMaybe DataHash
TransactionRedeemer
scriptHash
field changed fromMaybe Text
toMaybe ScriptHash
datumHash
field changed fromMaybe Text
toMaybe DatumHash
-
Additions
Transaction
growsBool
eanvalidContract
field- Lenses for
TransactionRedeemer
Version 0.2.1.0 (2021-11-15)
- Additions
ToSample
instances forScriptDatum
,ScriptJSON
,ScriptCBOR
/accounts/{stake_address}/addresses
endpoint/accounts/{stake_address}/addresses/assets
endpoint
Version 0.2.0.0 (2021-10-29)
-
Breaking changes
AddressUTXO
renamed toAddressUtxo
along with its fieldsProtocolParams
collateralPercent
field type changed fromDouble
toInteger
TransactionMetaCBOR
now usesmetadata
field instead ofCBORMetadata
which holds the same CBOR value as before but without\\x
prefix
-
Alonzo additions
collateral
field toUtxoInput
redeemerCount
field toTransaction
dataHash
field toUtxoInput
andUtxoOutput
dataHash
field toAdressUTXO
outputIndex
field toUtxoOutput
script
field toAddressInfo
datumHash
field toScriptRedeemer
scriptHash
anddatumHash
field toTransactionRedeemer
NetworkSupply
locked
field representing supply locked by all scriptstreasury
field (current treasury supply)reserves
field (current reserves supply)
/txs/${hash}/redeemers
endpoint withTransactionRedeemer
andValidationPurpose
types- Epoch cost model parameters to
ProtocolParams
/scripts
endpoint andScriptHash
newtype/scripts/${script_hash}
endpoint withScript
data type/scripts/${script_hash}/redeemers
endpoint withScriptRedeemer
data type/scripts/datum/${datum_hash}
endpoint withScriptDatum
data type/scripts/${script_hash}/json
endpoint withScriptJSON
data type/scripts/${script_hash}/cbor
endpoint withScriptCBOR
data type
-
Other
-
Added
liveDelegators
field toPoolInfo
Version 0.1.0.0 (2021-09-14)
- Initial release
blockfrost-api
uses PVP Versioning.