Questions tagged [api]

The tag has no usage guidance.

2
votes
0answers
13 views

API codes from my Tezos node

I want to understand how I can extract the API codes from my working node to create a dashboard on my site. I am interested in such parameters as: [bakingAll] [bakingMiss] [bakingSteal] [...
4
votes
1answer
25 views

How do I get a list of all delegators a baker has, using only node local endpoints?

I'm currently using TzScan as a source of data about Tezos blockchain. Unfortunately, I am receiving many http errors from their API, making my products seem unreliable. So I decided to get the data ...
3
votes
1answer
58 views

Where is the reward operation for athens?

Athens amendment proposal was succesfully integrated as proto004 into the mainnet at level 458753. The first mined block can be seen here https://api6.tzscan.io//v3/block/...
1
vote
1answer
22 views

API documentation for tezos.org.sg?

I saw that one can use API from tezos.org.sg, for example https://node1.lax.tezos.org.sg:8080/v0/block/. However I'm having hard time finding documentation for that API. tzscan's API is not a problem ...
3
votes
0answers
10 views

API Ballots not working

The API : https://api6.tzscan.io/v3/ballots/11 is not working, I don't understand why. Tzscan API instructions : https://tzscan.io/api#operation/405
2
votes
1answer
19 views

Is there a TzScan API to find the number of Tezos Node?

I'm looking for an API to get the number of Tezos Node or the number of Bakers.
3
votes
0answers
29 views

getting off chain data on chain to smart contracts

Currently 80+% of smart contracts need off chain data, is there a solution to bring off chain data on chain to trigger for smart contracts? (oracles related)
3
votes
0answers
23 views

Is there a TzScan API to find the total number of delegated Tezos?

I'm looking for an API to get the total number of delegated Tezos. I already found an API to get the number of rolls delegated: https://api6.tzscan.io/v3/rolls_history/...
1
vote
0answers
42 views

Tzscan API not responsive

I have an issue with API requests from tzscan. When calling delegator_rewards in my PHP script, for instance: https://api6.tzscan.io/v3/delegator_rewards/KT1ALgpzePTQPsmbtybBhC3Kg6RNK8gTXUQi then ...
4
votes
2answers
72 views

Issue with API Request Cycle

I have an issue to request the Cycle Number from this API. I don't understand how to use the map to get the data from the last cycle only. const ul2 = document.getElementById('Cycle'); const url2 =...
4
votes
1answer
155 views

API Access HTML/Javascript problem

I have an issue trying to use javascript to get the circulating supply by requesting data from Tzscan API: HTML code to request the circulating supply: <!DOCTYPE html> <html> <head>...
3
votes
1answer
34 views

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

In TzScan.io API v3, I currently use https://api6.tzscan.io/v3/rewards_split/ endpoint to get a list of known delegators of an address. Occurs that using this method, the information is linked to a ...
2
votes
1answer
73 views

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

I've read the TzScan.io API documentation, but could not find an endpoint that allowed me to get a list of the transactions of an specific address. Considering that TzScan.io has already a transaction ...
4
votes
1answer
49 views

Is it possible to have a transaction operation in any operation's “contents”?

This questions is about the contents of an operation in the API responses from the node. I'm trying to identify all transactions in a given operation. Should I always scan for transactions in every ...
12
votes
2answers
91 views

Total amount of XTZ in existence

Is there an RPC to get the total amount of tezos in existence at some particular block (or cycle begin/end)?
10
votes
2answers
102 views

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

Is there a RPC in Tezos-client, that allows to query the Balance of a KT1 account cycle by cycle? I've tried it with this (TzScan Public-Node RPC): https://mainnet-node.tzscan.io/<block_id>/...
15
votes
1answer
95 views

How to query rewards of a specific KT1 account?

I want to know, how much rewards a specific KT1 Account earned since cycle 7. A good Example is the "Rewards Share" Tab of TzScan. https://tzscan.io/tz1Tnjaxk6tbAeC2TmMApPh8UsrEVQvhHvx5?default=...