Cardano Rosetta Java v3.0.0-rc1
Cardano Rosetta Java v3.0.0-rc1 is the first release candidate of 3.0.0. It brings token metadata indexed by Rosetta itself, ledger-accurate transaction sizes and better handling of very large blocks.
Note
This is a release candidate, not a mandatory release. It is published for testing and feedback. Production deployments can stay on v2.4.2 until 3.0.0 is final. The final 3.0.0 will be based on the released Yaci Store 2.0.8; this candidate uses Yaci Store 2.0.8-rc1.
Key Improvements
- Token metadata is indexed by Rosetta itself from both CIP-26 (off-chain registry) and CIP-68 (on-chain, including 444 rich fungible tokens). No external token registry service is needed anymore, and metadata enrichment is on by default.
- Operators can run Rosetta with on-chain data only: no off-chain token registry download and no calls to external services. CIP-68 metadata is still served.
- Transaction sizes now match the size the ledger measures (verified against db-sync and Koios).
- Very large blocks are returned with their transaction hashes instead of all transactions inline, so clients fetch them one by one and big blocks no longer produce huge responses.
- Faster
/search/transactionswith a policy ID currency filter, which could previously time out on mainnet-sized data. - Database timeouts on block and search endpoints return the Rosetta timeout error again, instead of a generic error without a message.
- Enum values in requests are accepted in any case.
- Token logos with invalid base64 data are no longer served as
base64. - Docker Compose support for the preview network, next to mainnet and preprod.
- Logging settings now apply to both the API and the indexer containers.
- The images use the fixed Eclipse Temurin 25.0.5.1+2 for CVE-2026-114938, so the temporary JVM workaround from v2.4.2 is no longer needed.
- Updated components: PostgreSQL 18.7, Mithril 2642.0, Yaci Store 2.0.8-rc1, and Ubuntu 26.04 LTS as the base of all images.
Upgrade / Compatibility
- From v2.x: Requires a full yaci-indexer resync (Cardano Node data can be kept). The indexed data changes (transaction sizes, token metadata), so an existing 2.x indexer database cannot be reused. See the resync procedure.
- From v1.x: Requires a full yaci-indexer resync as well (Cardano Node data can be kept).
- PostgreSQL: 18.0 → 18.7 is a minor update; the data directory stays at
/var/lib/postgresql/data. A data directory from another PostgreSQL major version now stops with a clear message. - Docker images: the
apiandyaci-indexerimages of this release candidate are published as3.0.0-rc1-pre-release. SetRELEASE_VERSION=3.0.0-rc1-pre-release(Helmglobal.releaseVersion) to pull them. - External component images (
cardano-node,mithril,postgres) now carry a revision suffix, for examplecardano-node:11.1.3_1, so a rebuild of the same upstream version gets a new tag.
API / Configuration
-
Breaking: transaction
sizevalues changed,scriptSizeremoved./block,/block/transactionand/search/transactions:metadata.sizeof a transaction is now the ledger size from the original transaction CBOR, including the witness set, so most values differ from v2.x.metadata.scriptSizeis removed from the responses and fromapi.yaml.
-
/block: transactions of large blocks are listed inother_transactions.- A block with more transactions than
BLOCK_TRANSACTIONS_THRESHOLD(default 450) is returned withtransactions: [], and all its transaction hashes, in chain order, are inother_transactions. Fetch each one with/block/transaction. Smaller blocks are unchanged, and inlinetransactionsnow follow chain order.
- A block with more transactions than
-
/block,/block/transaction,/search/transactions: database timeouts return error5041.- A database timeout returns
5041("Downstream timeout") again instead of5000with anullmessage, as in v1.x.
- A database timeout returns
-
/account/balance,/account/coins,/block,/block/transaction,/search/transactions: token metadata incurrency.metadata.- Token metadata (name, ticker, description, decimals, ...) now comes from CIP-26 and CIP-68 data indexed by yaci-indexer. CIP-68 values take precedence over CIP-26. Logos are only served with
TOKEN_REGISTRY_LOGO_FETCH=true, and invalid base64 logos are left out.
- Token metadata (name, ticker, description, decimals, ...) now comes from CIP-26 and CIP-68 data indexed by yaci-indexer. CIP-68 values take precedence over CIP-26. Logos are only served with
-
Construction endpoints: enum values are case-insensitive.
- Enum values in requests (for example
coin_actionorcurve_type) are accepted in any case.
- Enum values in requests (for example
-
/network/options: reported middleware version updated.version.middleware_versionis now3.0.0-rc1.
Environment updates:
RELEASE_VERSION:2.4.2→3.0.0-rc1(images are published as3.0.0-rc1-pre-release, see above). Helmglobal.releaseVersion:"2.4.2"→"3.0.0-rc1".TOKEN_REGISTRY_ENABLED:false→true. It now turns token metadata enrichment on or off.OFFCHAIN_DATA_ENABLED:true(new). Set it tofalsefor on-chain data only. Helmglobal.offchainDataEnabled.TOKEN_REGISTRY_BASE_URL,TOKEN_REGISTRY_CACHE_TTL_HOURS,TOKEN_REGISTRY_REQUEST_TIMEOUT_SECONDS(removed).BLOCK_TRANSACTIONS_THRESHOLD:450(new;50in the preprod and preview env files).LOG_FILE_PATH(removed). Set the full log file path withLOG_FILE_NAME, default/var/log/rosetta-java/rosetta-java.log.PG_VERSION_TAG:REL_18_0→REL_18_7.MITHRIL_VERSION:2630.1-hotfix→2642.0.CARDANO_NODE_IMAGE_REVISION,MITHRIL_IMAGE_REVISION,PG_IMAGE_REVISION:1(new). Helm gets aglobal.postgresImageoverride.PRINT_EXCEPTION,MEMPOOL_ENABLED(removed; neither had any effect).
What's Changed
- chore: start 3.0.0 on yaci-store 2.0.8-b893a6a-SNAPSHOT by @matiwinnetou in #858
- chore(deps): upgrade Spring Boot to 3.5.16 (devel) by @matiwinnetou in #860
- ci: build PRs with Eclipse Temurin 25 (LTS) instead of Amazon Corretto by @matiwinnetou in #864
- ci(preprod): print container logs when the PR deployment fails by @matiwinnetou in #867
- fix(api): map StructuredTaskScope timeouts to the Rosetta TIMEOUT error again (regression vs 1.5.x) by @matiwinnetou in #873
- chore(deps): bump cardano-client-lib to 0.7.3 (devel) by @matiwinnetou in #866
- fix(api): drop invalid type sibling next to $ref in api.yaml by @Sotatek-HenryDo in #882
- chore(deps): bump PostgreSQL JDBC driver to 42.7.13 by @Sotatek-HenryDo in #884
- fix: wire LOG env vars through docker-compose and fix log path conflict by @Sotatek-HenryDo in #883
- [Automated PR] chore(docker): move images to Ubuntu 26.04 LTS by @matiwinnetou in #880
- [Automated PR] Upgrade PostgreSQL to 18.7 (data directory unchanged) by @matiwinnetou in #874
- chore(mithril): upgrade the Mithril client to 2642.0 by @matiwinnetou in #886
- chore(deps): bump low-risk libraries, build plugins and the yaci-indexer Maven wrapper by @matiwinnetou in #888
- chore(deps): remove the inactive springdoc-openapi dependency by @matiwinnetou in #897
- chore(deps): upgrade OpenAPI Generator to 6.6.0 and maven-compiler-plugin to 3.16.0 by @matiwinnetou in #889
- feat(block): return other_transactions for blocks above BLOCK_TRANSACTIONS_THRESHOLD by @Sotatek-HenryDo in #840
- test: align devkit genesis minPoolCost with the DevKit node (fixes flaky /construction/metadata golden tests) by @matiwinnetou in #904
- chore(docker): Temurin 25.0.5.1+2 fixes CVE-2026-114938, drop the JVM flag workaround (3.0.0) by @matiwinnetou in #902
- feat(indexer): calculate tx size from the original tx CBOR and remove scriptSize by @Sotatek-HenryDo in #885
- feat: token metadata from yaci-store assets-ext instead of an external token registry by @matiwinnetou in #877
- feat: support for the preview network (docker compose) by @matiwinnetou in #890
- fix: serve token logos as base64 only when they are valid base64 by @matiwinnetou in #905
- chore(build): build hygiene from #803 without Spotless (dependency review, commit-msg hook) by @matiwinnetou in #906
- perf(api): index-first currency search for policy-ID filters (port of #857 to devel) by @Kartiiyer12 in #907
- chore(deps): yaci-store 2.0.8-e0e798f-SNAPSHOT (CIP-68 lookup fix) by @matiwinnetou in #908
- test: update golden fixture tx sizes to the ledger size (#885 follow-up) by @Kartiiyer12 in #909
- chore: RELEASE_VERSION and Helm releaseVersion 3.0.0 on devel by @matiwinnetou in #910
- chore(deps): yaci-store 2.0.8-rc1 and its TxSizeUtil by @Sotatek-HenryDo in #914
- fix: drop config.guess/config.sub download from personal fork in node Dockerfile by @Kartiiyer12 in #915
- test: token metadata from yaci-store assets-ext (444, CIP-68 over CIP-26, OFFCHAIN_DATA_ENABLED) by @matiwinnetou in #911
- feat: add revision suffix to external component image tags by @Sotatek-HenryDo in #918
- ci: release testing for 2.x and later releases, including release candidates by @matiwinnetou in #919
- chore: version 3.0.0-rc1 by @matiwinnetou in #920
- chore: remove the 2.3.3 mainnet repair scripts and the H2 error table workaround by @matiwinnetou in #921
- chore: remove unused legacy files, settings and docs for 3.0.0 by @matiwinnetou in #924
Full Changelog: 2.4.2...3.0.0-rc1