v1.0.0-rc.13
Pre-release
Pre-release
This release will be followed closely by the production 1.0.0
release
Compatible with:
cardano-node 1.14.2
|cardano-node 1.13.0
cardano-db-sync-extended 2.1.0
cardano-db-sync@2.1.0
: "This release requires the database to be dropped and recreated." If using Docker, see the Wiki for info
Features
Establish relationships to easily access transaction and block information from inputs and outputs
TransactionInput.transaction
TransactionInput.sourceTransaction
(where it was an output)TransactionOutput.transaction
CardanoDbMeta
viaQuery.cardanoDbMeta
exposes information to understand if the dataset is complete including:
initialized
,syncPercentage
, andslotDiffFromNetworkTip
. Theepoch
data is incomplete untilinitialized = true
, which takes around 2 hours for the initial sync as of block number4388632
.syncPercentage
or
slotDiffFromNetworkTip
provides progress.- The codebase is now modularized to enable new API segments to be added alongside as an extension, composition of services
for more use-cases, ability to import the executable schema and host on a different server. The packages will be published to npm,
or can be built from source:- @cardano-graphql/server
- @cardano-graphql/api-cardano-db-hasura
- @cardano-graphql/client-ts
- @cardano-graphql/cli
- @cardano-graphql/util-dev
- @cardano-graphql/util
⚠️ Breaking Changes
- Entrypoint for the service previously found in
./dist/index.js
is now./packages/server/dist/index.js
after building. Cardano.blockHeight
removed in favour ofCardano.tip.number
, wheretip
= the most recentBlock
. This unlocks
more information such asslotNo
, and capability to traverse the chain etc.- Dates are now coerced to RFC 3339 UTC date-time strings