Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [external-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 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
10 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
27 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 ...
0
votes
0answers
13 views

Can we get the number of transaction of a wallet address inside a smart contract? [duplicate]

I am trying to allow only those wallets to interact with my smart contract who have at least some transaction history from past. I am thinking to somehow see the number of transactions the wallet has ...
1
vote
2answers
40 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 { ...
0
votes
0answers
28 views

Etherscan apikey error in laravel

Etherscan apikey returns an error This is my code: namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\AdminSettings; use App\Models\User; use Auth; define('APIURL', 'http:/...
2
votes
1answer
26 views

Any other provider instead of Oraclize

Are there any other providers for calling external APIs in Solidity other than Oraclize?
0
votes
0answers
19 views

Is there any API for contract deploy in ropstan testnet? [duplicate]

To deploy contract through API on ropsten is there any API?
1
vote
1answer
82 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
0answers
39 views

Error in establishing the connection between Geth and Api (Invalid JSON RPC response)

For my test project, I have my geth running in main server(rpc port-8117). The api(node.js), which is used to interact with the geth is present in the other system. In the api, I have given the http ...
0
votes
1answer
64 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
14 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
48 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
857 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
864 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
206 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
31 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
53 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
1answer
24 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
75 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
27 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
113 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
101 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
85 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
61 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
151 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
323 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 ...
2
votes
1answer
509 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.
2
votes
3answers
2k 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
44 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 ...
2
votes
1answer
2k 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, ...
0
votes
1answer
545 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
67 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
172 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
135 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 ...
2
votes
2answers
1k 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
77 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
32 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 ...
3
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
91 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
677 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
269 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
1k 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 ...
0
votes
2answers
817 views

Converting between Fiat (USD) to ether in solidity

I have a situation where I send 1$ worth of ether to my smart contract.. Now, how do I validate the same on solidity? How do I make sure that the user is sending 1$ worth of ether at any given time. ...
3
votes
1answer
207 views

API to enumerate the blocks from a specific day

I'm trying to find an API that lists all the blocks from a specific day, as we can do with bitcoin: https://blockchain.info/pt/blocks/1515628800000?format=json I've searched etherscan.io and ...
1
vote
0answers
931 views

How to get all the transactions made by a token address [duplicate]

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 ...
0
votes
0answers
71 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 ...
1
vote
2answers
279 views

Erc20 token minting based on api variable

Can I have a erc20 coin contract that watches an API and mints coins and distributes them evenly to the network based on a changing variable in said API?
0
votes
1answer
126 views

Are there any public services which allow broadcasting tx (like etherscan.io/pushTx)?

I'm looking for a way how to broadcast signed raw tx without Ethereum node. It's possible to do via https://etherscan.io/pushTx, but I'd like to find other options because of reliability.
2
votes
2answers
936 views

Block.io ETH alternative

What's a good Ethereum alternative to block.io? By good I mean, trusted and production ready.