9

I recommend CryptoCompare: https://www.cryptocompare.com/api/ Example: GET https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=BTC,USD,EUR {"BTC":0.1048,"USD":858.99,"EUR":662.93}


4

I have recently created an unoffical python library and scriptable cli for etherchain.org called pyetherchain that gives you access to submitted solidity contract source-code including (experimental) abi-decoded constructor arguments/transactions. The abi-decoded inputs help you understand how contracts/people are interacting with the smart contract. ...


4

The web3 JS API has a getCode function that allows you to access the bytecode of the contract - that was deployed to the blockchain at the given address. It should be possible to analyse this to determine common patterns in the code. Since the source code, before it is compiled to bytecode, is not deployed to the blockchain it is not possible to retrieve ...


3

As you mentioned it seems they have a particular way of doing things, and I am not too familiar with Mdex, but I have worked with Uniswap's sub-graph implementation. This isn't necessarily a solution to your question but may help you get there. After looking into https://info.mdex.com I spotted that they use a similar approach to Uniswap's sub-graph. They ...


3

Infura is basically just running a bunch of nodes to which it provides access for you. So you just need to run your own node. There are a few different node clients available; the most popular are Geth and Parity. You can choose any client you wish. So just download the client program, read instructions and start synchronizing the node with the blockchain. ...


3

The number of requests per second is limited to 5 request per second. There is not paid service yet. The Etherscan Ethereum Developer APIs are provided as a community service and without warranty, so please just use what you need and no more. They support both GET/POST requests and a rate limit of 5 requests/sec. To use the API service please ...


2

Putting curl into silent mode first... $ curl -s 'https://etherchain.org/api/difficulty' | jq '.data[][]' 666201861413999


2

Just to clarify, Ether is a real cryptocurrency. On Coinbase.com, 1 Ether can be exchanged for about $67 today. However, on the top of the page at the URL in your question, you will see ROPSTEN (Revival) TESTNET. ropsten is a test network, for developers to experiment with Ethereum and test their applications. So, the 1 Ether did go to your account but it is ...


2

You can easily make new currencies on Ethereum by following the ERC 20 standard. If you follow this standard, other applications and people can easily interact with your token. This standard makes it very easy for people to read the total supply of the token. They simply call the totalSupply() function. Often the creator of these currencies starts out with ...


2

In addition to setting the request parameter in the payload, you'll need to make the POST request to the correct URI as well. So where you wrote: using(var r = new HttpRequestMessage(HttpMethod.Post, "https://api.sandbox.gemini.com")) { ... } you'll need something like: var request = "/v1/balances"; // or whatever endpoint you're trying to use var ...


2

There is no "specific algorithm". It's simply supply and demand. If more people want to buy the token, the demand goes up and price goes up. Some tokens (try to) define their value internally in respect to ETH but mostly not. Also some tokens try to define their value based on external assets, such as fiat - some succeed better than others. But mostly it'...


2

If your goal is to eliminate single points of failure in your system, you need to study how peer to peer applications like geth achieve resilience. Replacing infura by a node that you own and control is a good first step as infura is used by a lot of dapps and could be the target of an attack to take dapps down. However, by doing this, you're simply ...


2

Thanks for the question. We did change the name of the project from QuickBlocks to TrueBlocks. Link is here: http://github.com/Great-Hill-Corporation/trueblocks-core. I'll admit that the documentation is quite poor. There is currently no good tutorials. If you're interested in writing one, perhaps there's a bounty in it for you. There is a little bit of ...


2

You can easily get a response from Ethercluster for ETC with the following curl command: curl --data '{"method":"eth_getBlockByNumber","params":["0x7B98A0", false],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://www.ethercluster.com/etc You can also do the same for Kotti and check its parity node status: curl --data '{"method":...


2

Pancake Swap uses the same formula as Uniswap, but they have a 0.2% fee instead of 0.3% fee, which affects the calculation.


2

This has been a pain for me for a long time. You basically have to compare the liquidity of the different pairs and run the Uniswap formula for calculating the price. Y * I / (X + I) I is your input amount of source tokens X is the balance of the pool in the source token Y is the balance of the pool in the target token In the end, the process we came up to ...


1

Passing network='ETH' into the request payload worked for me. I tried with the python-binance library, so: from binance.client import Client client = Client(api_key, api_secret) print(client.get_deposit_address(asset='BNB',network='ETH'))


1

You can use web3.js as it is the same process for ethereum and ethereum classic to interact with the blockchain. There are also libraries for creating accounts and wallets from ethereumjs.


1

REST API, you would have to poll for data periodically and make changes for every poll you do. Websockets allow you to essentially listen for changes and make changes on your end accordingly based on whatever changed, almost instantly. They both have their advantages and disadvantages. REST polling allows you to cache data in a much easier fashion, which ...


1

If you only need an Ethereum wallet for the user, It is better to generate that in the browser and give the file to the user. This is the best practice as user will be responsible for their own keys. You can make the import/export options such as one used in MyEtherWallet make it more user friendly. Such method is preferred to usage of APIs to generate ...


1

Currently there is no good solution for this because it involves having a bitcoin wallet. And I would assume you want a multi signature bitcoin wallet, so that is a big no. But if you want to stick to ERC20 tokens then you can interact with exchange dapps like https://etherdelta.com/


Only top voted, non community-wiki answers of a minimum length are eligible