Questions tagged [external-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 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
1answer
44 views

Getting stock market data from API or other means?

I'm trying to make a contract that interacts with a market price or a market out come : e.g APPL drops below X or NFLX > Y ... Is it possible in Solidity to call an external API during this ...
2
votes
0answers
22 views

How does chainlink solve the oracle problem? [closed]

I've heard a lot about Chainlink recently -- how Synthetix, Aave and other top Defipulse projects are using them. How exactly does Chainlink solve the oracle problem from a technical perspective?
6
votes
1answer
113 views

Why do I need decentralized oracles?

I've been reading a lot about how smart contracts work, and I'm a little new to the area, but why do we need decentralized oracles? It feels like I can just make an API call from wherever and it's OK?
0
votes
0answers
30 views

Free API To Get Ethereum Price [duplicate]

I am looking for a free api to get ETHEREUM CRYPTO CURRENCY PRICE. Entire yesterday i was searching google & test many web sites. But result was zero for ethereum price. Here is what i tried : 1. ...
0
votes
1answer
131 views

What is the best free api for ETHEREUM price [closed]

I use the api below for bitcoin price : https://api.coindesk.com/v1/bpi/currentprice.json But coindesk hasn't ETHEREUM price in it's api. What api should i use to get ETHEREUM price? Also the api ...
0
votes
1answer
79 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
42 views

Which is the best way to interact between smart contracts for complex scenarios (solidity 0.6)?

I'm learning about Solidity. I would like to write a complex scenario of demo to test the power of Solidity and smart contracts. My doubts are about interaction between smart contracts. If there ...
0
votes
1answer
49 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 ...
2
votes
1answer
49 views

How can I query an API to get my erc20 token balance of an address in JSON format?

Is there an api where I can query if an address contains an erc20 token? I need it returned in JSON format.
1
vote
2answers
200 views

How to post to the blockchain without a third party API like infura

I have been using web3 nodejs and infura.io to build apps that interact w/ the Ethereum Blockchain and it is all great but I don't like the idea of a failure point my my apps because they rely on a ...
0
votes
1answer
47 views

DDEX Api Question for Python… Signing ETH Transactions?

Having an issue with signing a message for the DDEX api... I'm trying to do it in python, and for some reason my signature is off by two characters. Here's my code using the private key and UTC ...
0
votes
0answers
17 views

Feeding a contract address to echidna

Simple question: Can I use echidna on a contract address? Like in mythril the command I use is myth -v4 analyze -1 -a 0xec410f642db4a2bcc4d7a69bc13b1165ebad3cea. I don't see any supporting ...
0
votes
1answer
47 views

Any QuickBlocks tutorial?

From my understanding QuickBlocks is an api in C++ that provides similar services as etherscan API for the ethereum blockchain. Is there a link or tutorial to use quickkblocks because the example in ...
1
vote
2answers
53 views

Set the price by calling another contract and getting result from it

I want to set the price in Token every time the contract is deployed by calling ETHUSD in constructor and getting result from it. pragma solidity ^0.5.0; import "./ETHUSD.sol"; contract Token { ...
2
votes
1answer
37 views

Any other provider instead of Oraclize

Are there any other providers for calling external APIs in Solidity other than Oraclize?
1
vote
1answer
172 views

Etherscan API no decimals separator

I am using Etherscan API to retrieve certain erc20 token balance on given ETH address and get a number like 62910000000 without decimals separator. In fact the proper balance is 6291000.0000. How to ...
0
votes
1answer
117 views

How to get the timestamp from the latest event on the etherscan.io apis

How to get the timestamp from the latest event on a contract using the etherscan.io api ? I'm using the getLogs call this way: https://api.etherscan.io/api?module=logs&action=getLogs&...
1
vote
0answers
19 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
58 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
1answer
2k views

etherscan request API limit [closed]

i want to know the limit request on etherscan API with API key, and limit if we go on paid service. thanks in advance.
1
vote
1answer
2k views

How to use infura API with web3 js? [duplicate]

How to use infura API with web3 js? Where should I put secret key?
0
votes
2answers
264 views

How to access ethereum smart contract functions from server side api calls using ExpressJS?

I have the abi and bytecode of contract functions. Is there a way to access them using api calls only(using web3 module or any other) since i want to integrate them in an android native app and thus ...
1
vote
1answer
36 views

What is the difference between an Ethereum client and Ethereum API?

Pardon me if this is silly, but as per my limited observation, the number of APIs is higher than the number of clients that exist. How are APIs different from clients?
0
votes
1answer
84 views

Updated: How to interact “directly” with smart contract via a micro-controller?

Assume we have a micro-controller and it collects a meta-data (ex. a payload as a string). How this micro-controller can interact "directly" with smart contract to write this data to the blockchain? ...
0
votes
2answers
39 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 ...
2
votes
1answer
113 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 ...
1
vote
0answers
28 views

any ethereum web wallet without running local node [closed]

any php script for eth web wallet without ruining a local node on my server? So I can integrate the web wallet into my site without running local node on my server. By the way, how big the size of ...
2
votes
1answer
151 views

Transaction api question for using remote Node such as infura

I want to have a function to send eth to another address by php program, and I do not want to run a local node on my server. Can I use infura as the web3 provider and use the API to send eth to ...
0
votes
1answer
143 views

Is it possible to create batches of transactions without using smart contracts?

Scenario: Suppose that I have to make three transactions simultaneously to Alice, Bob and Claudia. Now the condition is if any one transaction fails the other two must also not go through. Query: Is ...
1
vote
0answers
96 views

Web3JS + React: Fetching API data to use in a call [closed]

I have the following solidity function: contract testCall { string private globalKey; function setKey(string key) public { globalKey = key; } } As this function is called from ...
0
votes
1answer
84 views

Which one is a better option - web3js or golang apis? [closed]

I want to build an application where I can call methods from smart contracts. I can do so by using either web3js or golang apis. Query: Which one is a better option when interacting with smart ...
1
vote
0answers
176 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 ...
0
votes
1answer
454 views

Loading External data (in Excel/CSV) to blockchain engine [closed]

I am new to solidity blockchain. I have transaction dataset in csv files. I want to load it automatically to blockchain using ethereum solidity. How can I do it? Is there any UI available? Any guide ...
3
votes
1answer
821 views

Is there a complete list of available values for the `--rpcapi` command line option of geth?

I known this page https://github.com/ethereum/wiki/wiki/JSON-RPC, but seems it doesn't contains all available apis, for example, it doesn't contain personal API.
4
votes
7answers
3k views

Is there any websocket ethereum provider?

Is there any websocket ethereum provider? Except etherscan one. Maybe there are paid wss subscriptions?
0
votes
1answer
53 views

Is there an API for the amount of Ethereum mined in a given time frame? [duplicate]

I'm looking for an api that will give me both historical information and realtime information about how many blocks were mined in a given time frame. I'm also looking for data regarding the total ...
4
votes
1answer
3k views

web3js sender account not recognized

Under Ganache, I created some APIs with nodejs to managing a Smart Contract. One API is for the creation of new accounts with newAccount = web3.eth.accounts.create(web3.utils.randomHex(32)); Then, ...
1
vote
1answer
711 views

How to make API calls from a .NET Application to an Ethereum Private Network

I'm starting on blockchain development and I have a question: I was wondering if it is possible to make RPC calls to a private ethereum network (handling user private keys is not a problem in our ...
0
votes
1answer
72 views

How to install/use Oraclize on Windows 10?

I wanna get data from external data(web or just text files) to my smart contract. I found how to install and use the external data! But all the data was for Linux. like, sudo apt-get install npm ...
1
vote
1answer
218 views

How to integrate Ethereum with MATLAB?

As the computation on Ethereum is expansive, I want do some matrix calculation off-chain. However, it is confused that how to transmit data between Ethereum and other software (like MATLAB)?. Is there ...
0
votes
1answer
154 views

Eth_call through oraclize

so I have a contract deployed on Ropsten and now I'm trying to access the public variable using a JSON RPC call through Infura and Oraclize. Here's my contract: contract test_contract { uint ...
3
votes
2answers
2k views

Can I get an ERC20 balance n blocks back in time?

By calling a running Ethereum node through the getBalance API, you can get the Ethereum balance N blocks back as explained here. This is useful if you would only like to trust a balance which has been ...
1
vote
2answers
116 views

Can I download all transactions into EOS ICO as a excel file?

I would like to download all transactions into EOS ICO as an excel file. I know etherscan provides this service but it only allows me to download 2000 transactions. But the transactions into EOS crowd ...
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 ...
4
votes
2answers
2k views

Get Balance History of address

In building an IONIC app, I am attempting to retrieve the historical balance of a single Ethereum address. I am currently not sure how far back I will need to go. I know that Etherscan.IO offers a web ...
1
vote
1answer
108 views

External Javascript isn't updating account balance

I have a simple smart contract that is supposed to record input strings on the blockchain using events: pragma solidity 0.4.19; contract Recorder{ event Record( address _from, string ...
0
votes
1answer
906 views

Read info from block chain from within a contract

Is it possible to read the block chain from within a contract? Specifically, I want to know if I can see how much ether user A has spent during the last 50 or so blocks. I didn't find anything in the ...
0
votes
1answer
288 views

Sending transactions without downloading the blockchain

I'm rather new to this world and it's a bit overwhelming. I would like to manage an eth address from a lightweight device (think of a raspberry). I want to handle incoming transactions i.e resend ...
0
votes
3answers
2k views

Get all TOKEN transactions by address

Given the address of a token, how I can get all the transactions related to that address using JSON RPC or an external api such a api.etherscan.io? The transactions that gives a Ethereum address are ...