Releases: blockfrost/blockfrost-js
Releases · blockfrost/blockfrost-js
v4.2.0
Added
addressesUtxosAsset
,addressesUtxosAssetAll
methods returning list of the address's utxos containing a given assetverifyWebhookSignature
to verify signature sent as part of Blockfrost webhook requesturl
property inBlockfrostServerError
andBlockfrostClientError
objects set to an URL where the failed request was sent to
Fixed
deriveAddress
memory leak by freeing WASM objects
Changed
- updated @blockfrost/openapi & regenerated types to reflect changes in Blockfrost API
v4.1.0
Added
deriveAddress
derive Byron addresses- Rate limiter to match the limits of Blockfrost API. For additional customization, see options documentation.
Changed
- Updated
cardano-serialization-lib
to v10 - Lowered number of retries for failed requests to 3
v4.0.1
Removed
- order pagination option from
epochsNext
,epochsPrevious
,blocksNext
, andblocksPrevious
v4.0.0
⚠️ Breaking changes
script
→scriptsByHash
scriptDatum
→scriptsDatum
scriptRedeemers
→scriptsRedeemers
scriptJson
→scriptsJson
scriptCbor
→scriptsCbor
Added
- added exports for util functions
getFingerprint
deriveAddress
poolsExtended
,poolsExtendedAll
endpointsblockAddress
,blockAddresses
for retrieving all addresses that were affected in a block
Changed
deriveAddress
is no longer a method on BlockfrostAPI, but rather a standalone function exported from@blockfrost/blockfrost-js
Fixed
- params in
deriveAddress
and stake address derivation - incorrect user-agent header
Removed
getAccount
method
v3.0.2
Added
- testnet option for
getAccount
v3.0.1
3.0.0 was accidentally tagged as beta in npm
v3.0.0
Added
http2
option (default false)debug
option (default false) - logs to stdout/stderr all fired request and errors thrown by Got- derive network from project id
- new helper methods
epochsBlocksAll
,epochsBlocksByPoolIdAll
,epochsStakesAll
,epochsStakesByPoolIdAll
andpoolsAll
- new methods
addressesExtended
andaccountsAddressesTotal
⚠️ Breaking changes
- Axios → Got
- removed
retryCount
,retryDelay
,retry429
- added
retryOptions
see: https://github.com/sindresorhus/got/blob/main/documentation/7-retry.md#retry
Changed
- thrown errors (
BlockfrostServerError
,BlockfrostClientError
) are now subclasses ofError
- updated @blockfrost/openapi & regenerated types to match reflect changes in Blockfrost API
Fixed
- return type of epochsStakesByPoolId and epochsBlocksByPoolId
v2.0.2
Fixed
assetsPolicyById
response schema- ipfs add maxContentLength and maxBodyLength
v2.0.1
Fixed
metadataTxsLabels
andmetadataTxsLabel
endpoints types
v2.0.0
⚠️ Breaking change - Fix
- sort response in
getAccount