Skip to main content
17 votes

How to create a database out of the Tezos node?

You could modify Conseil in order to support the extraction of voting related info. Another approach is to use the tzscan codebase, which also fills a database with information from the Tezos node. ...
Arthur B's user avatar
  • 4,599
12 votes
Accepted

How do I query the Balance of a KT1 account Cycle by Cycle?

<block_id> - is a hash or a level of the block at which you ask for balance. If you want to get a simple balance at the specific point in the cycle: (this is pseudocode, I hope you figure it ...
Groxan's user avatar
  • 2,766
8 votes

How do I query the Balance of a KT1 account Cycle by Cycle?

You can use TzScan API for this: /v3/balance_history/KT1..., the documentation is here: balance history doc. For example https://api6.tzscan.io/v3/balance_history/KT1GgUJwMQoFayRYNwamRAYCvHBLzgorLoGo
ocpmax's user avatar
  • 204
2 votes
Accepted

Order of internal transactions in TzKT DB and API

To get the same order as in RPC you need to order operations by the "Id" column. Also, the condition SAddr."Address" < 't' AND TAddr."Address" < 't' won't give you ...
Groxan's user avatar
  • 2,766
1 vote
Accepted

Nomadic Labs indexer bootstrap fails with statement timeout

There's a default value for the DB timeout, as you may read from the README or from --help: --timeout=VAL (absent=60s) Specify DB query timeout. If no unit is given, the integer is ...
Philippe Wang's user avatar
1 vote

Best way to duplicate/sync private database with FA2 contract transactions & balances

tzkt.io offers a websocket based listener that can be used for the scenario mentioned by you. Alternatively, you can run a cron job that checks for changes in the contract storage (tzkt's API can be ...
Anshu Jalan's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible