github baking-bad/tzkt v1.7.0

latest releases: v1.12.3, v1.12.2, v1.12.1...
2 years ago

General notes

  • generic token indexing;
  • bugfixes and UX improvements.

To update from v1.6.* to v1.7.0 you should drop the indexer database and restore it from the latest snapshot, or reindex from scratch.

Changes in the API

  • account model: field type now may have another possible value "ghost";
  • account model: fields activeTokensCount, tokenBalancesCount, and tokenTransfersCount were added;
  • periodInfo model: fields id,startLevel, and endLevel were removed;
  • proposal model: field period was removed;
  • software model: fields commitDate, commitHash, version, and tags were removed;
  • transaction model: field parameters was removed;
  • /v1/accounts/{address}/operations endpoint: query parameters parameters, from, and to were removed;
  • /v1/operations/transactions endpoint: query parameter parameters was removed;
  • /v1/operations/originations endpoint: query parameter id was added;
  • /v1/operations/migrations endpoint: query parameter id was added;
  • /v1/tokens endpoint was added;
  • /v1/tokens/count endpoint was added;
  • /v1/tokens/balances endpoint was added;
  • /v1/tokens/balances/count endpoint was added;
  • /v1/tokens/transfers endpoint was added;
  • /v1/tokens/transfers/count endpoint was added;
  • /v1/tokens/historical_balances endpoint was added;
  • all API responses now contain information about indexer state (at the beginning of the request execution) in HTTP headers: Tzkt-Level, Tzkt-Known-Level, and Tzkt-Synced-At;
  • websocket subscription SubscribeToTokenTransfers was added.

Changes in the DB schema

  • Tokens table was added;
  • TokenBalances table was added;
  • TokenTransfers table was added;
  • BigMaps.Tags column now may have more possible values;
  • Blocks.Events column now may have more possible values;
  • TransactionOps.TokenTransfers column was added;
  • OriginationOps.TokenTransfers column was added;
  • MigrationOps.TokenTransfers column was added;
  • AppState.TokenCounter column was added;
  • AppState.TokenBalanceCounter column was added;
  • AppState.TokensCount column was added;
  • AppState.TokenBalancesCount column was added;
  • AppState.TokenTransfersCount column was added;
  • Accounts.TokensCount column was added;
  • Accounts.ActiveTokensCount column was added;
  • Accounts.TokenBalancesCount column was added;
  • Accounts.TokenTransfersCount column was added;
  • Accounts.Tags column now may have more possible values;
  • Accounts.Type column now may have more possible values.

Changes in the configuration

Commits

  • 8e2b5cb: Print version on start (257Byte)
  • fde915e: Added Docker Hub description update action (dmir) #77
  • c3168cb: Expose 5000 in Dockerfile and secure postgresql database (jpic ∞) #79
  • 66e3e73: Using env vars for pg creds (Michael Zaikin) #80
  • 81520a3: Add tokens indexing (257Byte) #82
  • 5ebc2b7: Add API model for ghost contract (257Byte) #82
  • 25a538e: Add /tokens* API endpoints, extend indexer's cache, minor fixes (257Byte) #82
  • 27c992b: Add WS subscription for token transfers (257Byte) #82
  • 65755c8: Add filter by id for origination and migration operations (257Byte) #82
  • fe78d8f: Add DipDup metadata syncer (257Byte) #82
  • 88e8877: Add token metadata API endpoints (257Byte) #82
  • 0c2765a: Remove all deprecated fields and parameters (257Byte) #82
  • cbb8062: Update default configs and env vars (257Byte) #82
  • 689ae69: Add historical token balances endpoint, close #62 (257Byte) #82
  • fcdaf89: Add some token stats to account API models (257Byte) #82
  • 056d14e: More token handlers and some fixes (257Byte) #82
  • 68ccdaa: More legacy token metadata (257Byte) #82
  • a357f4a: Fix proposals cache (257Byte) #82
  • ffddaa3: Add custom token handler for Tezos Domains (257Byte) #82
  • 4b1d286: Generate token metadata for tezos domains (257Byte) #82
  • 1d1985f: Minor review (257Byte) #82
  • 48f6a62: Fix binding JsonParameter with root path (257Byte) #82
  • 84d198d: Add custom token metadata converter (257Byte) #82
  • e7b69db: Fix handling nats in sql builder (257Byte) #82
  • 5a71102: Move account metadata to dedicated section (257Byte) #82
  • 0c03232: Inject tzkt state to http headers (257Byte) #82
  • 1e3af2d: Reset migrations (257Byte) #82
  • 3029b4c: Prefetch cache entities by chunks (257Byte) #82
  • 75acbbf: Update docs and default configs (257Byte) #82

Don't miss a new tzkt release

NewReleases is sending notifications on new releases.