All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for CIP129 DRep ID - you can query DReps using both legacy format and CIP129 format. The
drep_id
andhex
fields will reflect the format of the query param
- BREAKING CHANGE: Endpoints
/governance/dreps
and/governance/proposals/{tx_hash}/{cert_index}/votes
are now using CIP129 format - Looser validation for cost model size in
epochs/:num/parameters
- Custom network support
- Option to disable token registry lookups
- Issue with attempting to release an already-released PostgreSQL client during error handling
- Incorrectly retrieving DRep when registered under both keyHash and scriptHash
- Don't list unregistered stake addresses in
/governance/dreps/:drep/delegators
- SQL optimization in
/governance/dreps/:drep/delegators
/account/:stake_addr/utxos
for retrieving utxos associated with a stake account
- Added instant rewards, reserves, treasury and proposal_refund to the calculation of delegators' total amount in
/governance/dreps/:drep/delegators
- Handle
PlutusV3 Chang+1
cost model mapping
- CIP68v3: allow byte string fields to be encoded as an array of bytes
- CIP25v1: allow alternative metadata encoding where asset name not utf8 encoded
- Retrieving data for special dreps
drep_always_abstain
anddrep_always_no_confidence
- Querying Dreps with
drep_script
bech32 prefix
/txs/{hash}/utxos
consumed_by_tx
field
/epochs/{number}/parameters
and/epochs/latest/parameters
cost_models_raw
field, list variant of cost_models without name mapping
- Naming of
pvtpp_security_group
->pvt_p_p_security_group
, the old field is preserved but marked as deprecated.
- Asset in
output_amount
of/txs
is now sorted by the unit name
- Plutus V3 cost model mapping
/txs/{hash}/pool_updates
returning multiple rows
Conway
era support- initial
CIP-1694
support /txs/{hash}/cbor
endpoint- Proxy for Mithril Aggregator API
- config options
mithril.enabled
,mithril.aggregator
,mithril.snapshotCDN
(optional) andmithril.allowedEndpoints
(optional) - ENV var options
BLOCKFROST_MITHRIL_ENABLED
,BLOCKFROST_MITHRIL_AGGREGATOR
andBLOCKFROST_MITHRIL_SNAPSHOT_CDN
- config options
- Upgraded Fastify dependencies
- Upgraded Typescript
/addresses/{payment_cred}
and/addresses/{payment_cred}/extended
to always showstake_address: null
- ordering in
/scripts
- calculation of
live_stake
in/pools/{pool_id}/delegators
to reflect the split of MIRs into a separate table (instant_reward
) in new dbsync, which was omitted in 2.0.1 for this endpoint
- calculation of
live_saturation
in/pools/{pool_id}
as although ledger specifies the variable as circulating supply, total supply (45B-reserves) is used in this calculation instead
This version of blockfrost-backend-ryo requires cardano-db-sync 13.2.0.1 or newer. Use version 1.7.x for earlier releases. |
- calculation of endpoints affected by moving MIRs into
instant_reward
table required forcardano-db-sync 13.2.0.1
/accounts/{stake_address}
/pools/extended
/pools/{pool_id}
/network
- calculation of
live_size
for/pools/{pool_id}
only taking into account live pools (ommiting retired from the calculation)
This version of blockfrost-backend-ryo requires cardano-db-sync 13.2.0.1 or newer. Use version 1.7.x for earlier releases. |
/governance/dreps
/governance/dreps/{hash}
/governance/dreps/{hash}/distribution
- feature flag to turn on/off
CIP-1694
support - support for Cardano Sanchonet
- translation of cost models from numerical IDs to strings,
required for
cardano-db-sync 13.1.1.3
and newer #130 - indices improving
/assets/{asset}
when querying CIP68 assets and/txs/{hash}
with redeemers - IS_LOCAL env for testing
- Parsing version 2 of CIP68 metadata (
@blockfrost/openapi
0.1.62) /txs/{hash}/required_signers
endpoint
- node_modules
- yarn
- updated vitest
- removed token registry mock server, using function mocking instead
- bump blockfrost-tests to
dd9b2fe5ed7fa5cad60b34555b3c05d287382226
- ordering in
/assets/{asset}/txs
,/assets/{asset}/transactions
and/epochs/{number}/stakes
- port configuration via config option
dbSync.port
- live_stake for retired pools in
/pools/{pool_id}
was always 0, instead of displaying the delegated amount metadata/txs/labels/{number}
and/scripts/{hash}/json
json encoding for primitive types (eg. string) (@blockfrost/openapi
0.1.62)/txs/{hash}/utxos
rendering of wrong asset in collateral output #161- in
/epochs/{number}/parameters
setmin_utxo
tocoins_per_utxo_size
with a fallback tomin_utxo_value
ifcoins_per_utxo_size
is null
- Flake now exports NixOS module
- support defining a postgres password in config or env
- new custom index on
redeemer
table to README - bumped blockfrost-utils to 2.8.0
- !from&to breaking change [] -> 400
- bump blockfrost-tests to 1.9.4
- CI to run on Node 18
- nixpkgs updated to latest
nixos-23.05
- NodeJS updated to
18.16.1
- README config example
- shell.nix default to Node 18
- registered missing /prometheus endpoint
onchain_metadata_extra
field to/assets/{asset}
- CIP68 RFT 444 support
- bump @blockfrost/blockfrost-tests to 1.7.2
- Nix Flake
- Docker image build using Nix
dockerTools
- Registry published Docker image is now the Nix built one, publish to ghcr.io as well
- cardano-db-sync port to config
- Support for ScriptHash payment credential using
script
addresses.
- migrated to ESM project
- format of a config file changed from .ts to .yaml (due to ESM migration)
- regenerated yarn.lock
- nixpkgs updated to latest
nixos-22.11
and hence NodeJS to16.18.1
- do not leak framework in errors
- bumped blockfrost-tests to 1.7.1
- bumped blockfrost-utils to 2.4.0
- bumped blockfrost-openapi to 0.1.57
/scripts/datum/{datum-hash}/cbor
endpoint adjusted to returnCBOR
of redeemers as well (similar to JSON variant at/scripts/datum/{datum-hash}
endpoint)
unpaged
queries
- CIP68
getMetadataFromOutputDatum
parsing offiles
and custom fields
- CIP25v2 metadata validation
- support for CIP68 onchain metadata in
/assets/{asset}
and/addresses/{address}/extended
- support for configurable memory settings for pm2 in the nix service
- split routes into files
- fastify deps upgrade
- tests
/network/eras
endpoint returning incorrect latest epoch boundarypreview
: Correctedsystem_start
(/genesis
endpoint)
address
field to/addresses/{address}/utxos
and/addresses/{address}/utxos/{asset}
- increased token registry timeout to 5s -> 10s
/addresses/{address}/utxos/{asset}
asset validation for/lovelace
- 400 handling of invalid POST routes
- wrong item count returned on the first page of
/epochs/{number}/stakes/{pool_id}
/network/eras
endpoint
- CIP-25 standard for on-chain metadata
- refactor test environments
- production logger logs only with debug option
- replaced and improved (v2) CIP-25 validation logic for:
/assets/{asset}
/addresses/{address}/extended
- validation of
{asset}
and{policy}
(400) - ordering of various
/txs
to be consistent (useful when running ryo in cluster)- most notably,
/txs/{hash}/utxos
now consistently return collaterals (collateral: true
) at the end
- most notably,
preprod
andpreview
respins: Updatedslots_per_kes_period
andmax_kes_evolutions
- added entrypoint to Dockerfile
- Behaviour of
paymentCred
to improve performance with default indexes
- test coverage
- Initial release