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: fieldtype
now may have another possible value"ghost"
;account
model: fieldsactiveTokensCount
,tokenBalancesCount
, andtokenTransfersCount
were added;periodInfo
model: fieldsid
,startLevel
, andendLevel
were removed;proposal
model: fieldperiod
was removed;software
model: fieldscommitDate
,commitHash
,version
, andtags
were removed;transaction
model: fieldparameters
was removed;/v1/accounts/{address}/operations
endpoint: query parametersparameters
,from
, andto
were removed;/v1/operations/transactions
endpoint: query parameterparameters
was removed;/v1/operations/originations
endpoint: query parameterid
was added;/v1/operations/migrations
endpoint: query parameterid
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
, andTzkt-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
Websocket.MaxTokenTransfersSubscriptions
parameter was added to the API configuration;TokenMetadata
parameter was added to the indexer configuration (disabled by default);TZKT_
prefix is no longer used when passing indexer configs via env vars. Read more: https://baking-bad.org/blog/2022/01/11/tzkt-v17-with-generic-token-indexing-released/#breaking-changes;
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