Questions tagged [external-api]

The tag has no usage guidance.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
163 views

Call a view function of an Ethereum Smart Contract using a program written in C

my attempt is to call a view function to reatrieve some data from a contract on the Blockchain using a C program. I do have the interface of the contract. I think i need to performe two things in ...
2
votes
2answers
1k views

Block.io ETH alternative

What's a good Ethereum alternative to block.io? By good I mean, trusted and production ready.
1
vote
0answers
56 views

Calculating annual percentage yield (apy) value for Uniswap pairs

I wants to calculate annual percentage yield for a token pair listed on uniswap like this. Is there any API which I can use to retrieve the value? How can it be directly calculated?
1
vote
0answers
29 views

Gettting ERC-20 token transfer count over an API

I am building a service to monitor token activity. Does any service have an API to get the transfer count of a ERC-20 token? I am not interested in individual Transfer events, only their count.
1
vote
0answers
20 views

curl ethereum -d question

How can I change the following to php format? what means the -d @...jaon, it means the parameter for this curl is json and post to the url? cat call.json { "private": "3ca40...", "gas_limit": ...
1
vote
0answers
59 views

How to handle Oraclize if it's failed?

I'm using the Oraclize to get the random number for bets. When the function bet() is called and if the oraclize is failed it should call the pingOracle() again. Below is example function bet() public ...
1
vote
0answers
189 views

Blockcypher - Can't call contract method

I'm trying to send erc20 token using the Blockcypher Ethereum API. specifically the "Call Contract Method" but I keep getting {"error": "Error calling contract: Missing contract or ABI for ...
1
vote
0answers
33 views

Are API tokens incompatible with Ethereum apps?

I want to build an Ethereum app that gets weather data from a trusted (government run) API via oracilize. This service requires an API token to be sent with each request to prevent abuse. Each API ...
1
vote
2answers
549 views

How to peg value to token outside ethereum

I have an online game system. I issue some tokens through ethereum. How can I peg value of the tokens issued on ethereum to my game system, which is outside the ethereum eco system. (ie) The users ...
1
vote
0answers
168 views

Problem with the code for fetching data from ether scan

I am trying to fetch ICO data via python from etherscan.io through the API but hitting a problem. I am using the code by Corey Petty for python bindings also using his code for ICO analysis Full ...
1
vote
1answer
424 views

How can I display amount ETH funded and ICO-token received on a webpage

How can I display amount ETH funded and ICO Tokens received on a webpage in a crowdsale ICO campaign? The webpage is the personalised customer page after login. I will display the ethereum adress. ...
0
votes
1answer
63 views

Perform an automated transaction using 1inch API

To perform an automated 1 inch transaction I use these two functions. It works well at first. Unfortunately, in the last few days I have always had the same errors: Fail with error 'Return amount is ...
0
votes
0answers
24 views

Is first call to oraclize query free in mainnet, as in testnet?

We were trying to include oraclize query to get price feed in one our contracts, as of now we have observed that the first oraclize is free in kovan. Does same applies for mainnet or else we has to ...
0
votes
1answer
246 views

Etherscan api: how to get transaction fee?

For example: open this https://etherscan.io/tx/0xcb1e3530950cf2c43a307bcb5645ae71a12c76a60831617badd04aea3efe68aa It's a random one I see these infos on webpage: Gas Limit: 136,500 Gas Used by ...
0
votes
1answer
85 views

Download Etherscan input data via API

I am unable to find the correct API call format to download the input data field from the event log of each transaction - is there a way to use API key to download this information? I am referring ...
0
votes
2answers
42 views

any good way to keep listenning the events of erc20 transfer and noticed by a url call

I think I can keep calling by etherscan to find new transactions and I the best way is that I can receive a url callback once an event created on erc20 token event log. Any API I can use for this? Or ...
0
votes
0answers
73 views

API for tokensvalue

I was wondering if there is any API service for getting info about tokens on an ethereum wallet, I found https://ethplorer.io/, but unfortunately with that service there is no possibility to get ...
0
votes
1answer
277 views

Are there any public APIs for ENS lookup?

I want to add ENS support to an app I am building, and I am looking for a lightweight API which supports ENS to Ethereum address conversion. All the documentation shows how you can do this on the ...