Hot answers tagged

14 votes
Accepted

What are the differences between mainnet, alphanet, and zeronet?

The two test networks move at different speeds. Zeronet is much faster than alphanet. This makes a difference in how quickly you can test different scenarios like baking. In zeronet, each cycle is ...
user avatar
14 votes
Accepted

How to query rewards of a specific KT1 account?

Unfortunately there is no way to directly query just the delegator's reward from TzScan API. But you can easily use this API call with some extra calculations: //This is what the baker got var ...
user avatar
  • 2,327
12 votes

Total amount of XTZ in existence

TzScan has a service for that, but only for the current value: https://api1.tzscan.io/v1/supply returns { "dls":"76431859801260", "foundation":"76431859801260", "early_bakers":"3156502294100",...
user avatar
  • 3,278
7 votes
Accepted

TzScan API for alphanet?

After inspecting TzScan's alphanet frontend, i've been able to extract the following curl request: curl 'https://api.alphanet.tzscan.io/v1/operation/...
user avatar
6 votes
Accepted

Tezos alpha node cors

You are sending your query to the wrong address - it should be (note you are missing "chain/main/"): https://alphanet-node.tzscan.io/chains/main/blocks/head/context/contracts/<contract_id>/...
user avatar
6 votes
Accepted

Total amount of XTZ in existence

The current protocol does not keep track of a tally of all tez on the network. It would be a good idea to do so, as it permits computing proportional reward, it can serve as a canari against money ...
user avatar
  • 4,409
6 votes
Accepted

Why is my delegation showing as origination?

When you originate a KT1, you can set a delegate. That is why we split the delegation tab in two sections : a delegation operation a delegation through an origination
user avatar
  • 426
6 votes

What are the differences between mainnet, alphanet, and zeronet?

Alphanet is the test network for tezos users and developers on the chain. It runs the exact code of mainnet. It only differs by a few constants to run faster. Currently: time_between_block/2, ...
user avatar
5 votes
Accepted

Alternative to TzScan API

I think this will help you find what you're looking for. https://tzstats.com/docs/api/index.html#introduction. I've searched this resource and found numerous endpoints related to delegates, rewards, ...
user avatar
4 votes
Accepted

How do I get a list of the transactions of an address using TzScan API v3?

You can use the operations endpoint, filtering for transactions: https://api1.tzscan.io/v1/operations/$address?type=Transaction Obviously swap address for the address in question. You can retreive ...
user avatar
4 votes
Accepted

Why is the double-endorsement section on tzscan still empty?

Here is my attempt to explain why it is not surprising that we would see many more double bakes than endorsements: Under very nice conditions, with a deterministic signature scheme (like ed25519), ...
user avatar
  • 2,526
3 votes

Why is the double-endorsement section on tzscan still empty?

I would say (99.99% sure) that double endorsement didn't happen until now. But, I may be wrong !
user avatar
  • 759
3 votes
Accepted

tzscan.io Balance on web site differs from their API calls

This is how delegator rewards work - when you are looking at the delegator rewards for a given cycle (e.g. cycle 79), the balance displayed is that from the snapshot, which occurred 7 cycles prior. ...
user avatar
3 votes
Accepted

How to get balance from alphanet via tzscan api?

This request is using the balance updates that we have disabled on alphanet. I would recommend to use the node rpc: https://alphanet-node.tzscan.io/chains/main/blocks/head/context/contracts/...
user avatar
  • 194
3 votes
Accepted

Are there public testnet rpc nodes?

The Testnet formerly known as "Alphanet" is now called "Babylonnet". Public node address: https://rpcalpha.tzbeta.net/ Future Testnets will get the name of the actual protocol. More Infos here
user avatar
  • 2,638
3 votes
Accepted

How to Transfer Tezos via API or node rpc?

Maybe this tutorial can help? http://www.ocamlpro.com/2018/11/15/an-introduction-to-tezos-rpcs-a-basic-wallet/
user avatar
2 votes
Accepted

How to Generate Address in tezos via api?

For generating tz1 address you don't need node. Moreover, you don't need internet connection for generating address) You need only some library such as eztz, sotez or ConseilJS You can find address ...
user avatar
2 votes
Accepted

problem with running tzscan: Camlp4: Uncaught exception: DynLoader.Error

The original TzScan OS available at https://gitlab.com/tzscan/tzscan does not compile easily for the moment unfortunately. You could ask help there. Otherwise, you can also try an installer script ...
user avatar
2 votes

How do I get a list of all delegators of an address using TzScan API v3?

Thanks to our friend Klassare, who helped me in Riot channel, we've got an answer: https://api3.tzscan.io/v3/delegated_contracts/[account]?p=0&number=50
user avatar
2 votes
Accepted

How to group rewards from delegation services on multiple KT1 accounts per cycle?

That should help you (Example TzScan API): https://api6.tzscan.io/v3/delegator_rewards_with_details/KT1BNVf6f359fNbokCKMXuKNmpzUy3Nwugyj Just put in one of the KT1 adresses and it will show you the ...
user avatar
  • 2,638

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