Questions tagged [data-feeds]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
49 views

How to get chainlink price feed data for my national currency?

I am new to blockchain currently learning and exploring. I followed Patrick's tutorial and now in order to have hands-on I want to implement a FundMe smart contract but for my national currency ...
doc's user avatar
  • 111
0 votes
0 answers
22 views

Safely converting 1 WEI to the current ETH/USD Chainlink price

Let c be the current floating point price of ETH/USD precise to 8 decimal places. Since Solidity cannot store floating points, getting the current price of ETH/USD from Chainlink's data feed returns c ...
nostonksafrica's user avatar
0 votes
2 answers
131 views

Can I deploy custom data feed?

I have next situation: I want to deploy my token and for others SCs I need to use Chainlink data feed to get price of the token. But, as token is new, that's why Chainlink doens't have supported data ...
Arkenstone's user avatar
0 votes
0 answers
115 views

explain get chainlink VRF fee cost

Hi can somebody explain to me every variable and operator of this function
Dũng Đàm's user avatar
1 vote
2 answers
77 views

Fetch Buy/Sell price of commodities in smart contract

I want to use the real time Buy price and sell price of commodities e.g GOLD/USD (XAU/USD) in my smart contract. I know I can use API through chainLink, JSON parse the data and use it. But I do not ...
Haris's user avatar
  • 123
4 votes
2 answers
699 views

How future resilient is a chainlink price feed?

Obviously, someone is paying for updating the feed that we are retrieving for free, in fact I found this discussion where is explained that it’s not really economical or fair for those backers who are ...
Diego Calvetti's user avatar
0 votes
1 answer
19 views

How do I query custom data structure with Tellor? (e.g. my own API)

I have a program for an NFT market index that I host through an API, just wanted some way to put it on-chain in a way that made sense
Rayn's user avatar
  • 65
0 votes
1 answer
117 views

If Chainlinks price feeds are free to consume, what is the point of requesting data directly from node operators?

If Chainlinks price feeds are free to consume, what is the point of requesting data directly from node operators which would cost LINK? Do platforms such as DEXs or lending platforms like AAVE pay to ...
Druu's user avatar
  • 1
1 vote
1 answer
134 views

What's the best way to perform a cross-currency price lookup on chainlink?

I'm trying to do a lookup for an unsupported price feed on polygon network: eg. BTC/MATIC on chainlink's data feed (https://docs.chain.link/docs/matic-addresses/). What's the best way to do this? It ...
flaskr's user avatar
  • 11
0 votes
2 answers
2k views

Can I get price feed information directly from ChainLink oracles rather than from the aggregated contract?

I've been experimenting with ChainLink recently and am fascinated of what it can do. I already used the code provided here ChainLink Docs in Python and got it to work. However, I've been searching all ...
FairAndSquare's user avatar
1 vote
0 answers
75 views

Do Graph queries have a maximum response size?

I'm running a Graph node for a personal project and I'm wondering if there is a defined maximum response size for queries. I see that pagination is an option according to the documentation, but it's ...
fafrd's user avatar
  • 354
4 votes
1 answer
118 views

How is The Graph a decentralised solution?

I understand that querying for data on Ethereum is a pain in the neck and that The Graph indexes events so that developers can more easily get their most precious blockchain data. However, I'm not ...
Paul Razvan Berg's user avatar
0 votes
1 answer
533 views

Fetch data from blockchain public network

I have gone through the docs of ethereum and truffle as well. I had created a contract for more understanding related to contracts and its compilation and deployment on local network. But I have ...
Bhavik's user avatar
  • 1
6 votes
3 answers
3k views

Is there an API which allows to download source code of contracts?

I am doing research into the security of smart contracts and was hoping to gather a dataset containing smart contract source codes. I was wondering if there is an API which allows this. At etherscan ...
KBoog's user avatar
  • 61
2 votes
2 answers
6k views

How to take a snapshot of addresses and balances of all normal addresses?

How would one take an addresses and balances "snapshot" of all 6,086,374 normal addresses at block number 4293752?
Document's user avatar
1 vote
1 answer
312 views

Does an API standard for price feeds exist?

The ERC 20 defines a standard interface for designing a token contract. Does a similar standard exist for defining feeds that can be called by other contracts?
Thorkil Værge's user avatar
2 votes
1 answer
553 views

How does automatic selling and buying with the constantly flowing price work?

From the docs: AUTOMATIC SELLING AND BUYING So far, you've relied on utility and trust to value your token. But if you want you can make the token's value be backed by ether (or other ...
Poliakoff's user avatar
  • 281
1 vote
0 answers
79 views

Optional Data Feed on the EVM, what does it mean?

I am trying to understand the idea of optional data feed for EVM in the accounting field especially. I usually read that you can use two fields with the first field being a domain to register and the ...
Cassi le Moigne's user avatar
6 votes
3 answers
852 views

Is there a euro-ether data-feed to use in smart contracts

I'd like to implement a reliable data feed in a solidity based crowdfunding contract. the goal is to collect a certain amount of ether that equals an euro amount at the end of the funding. Is there a ...
Jerry's user avatar
  • 734
0 votes
1 answer
1k views

How to connect a database to a contract/dapp?

I'm working on making a contract that will issue a user a token. The user will perform an action and this will be stored in our database. Once it's stored in our database, there should be a link ...
EtherNewb's user avatar
2 votes
0 answers
239 views

what types of graph data are produced by the ethereum network? [closed]

I'm curious, what sort of node-link graph data is produced by the Ethereum network? I imagine there there is a graph of all transactions, and a higher level graph of miners and the blocks they mined. ...
Micah Stubbs's user avatar
8 votes
2 answers
2k views

Contracts as data feed?

The documentation example for a complex bet contract includes a "Weather feed" service. How would such a feed/service/contract work? For a weather feed, either there needs to be a temperature sensor ...
MidnightLightning's user avatar