Giter Club home page Giter Club logo

ethplorer's People

Contributors

alexesnsk avatar artemko7v avatar denniswebb avatar egorvas avatar evseevnn avatar evseevnn-zzz avatar ilyaeverex avatar lexa-m avatar maxshayne avatar noplanman avatar timophey01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ethplorer's Issues

Add ETH history

Now there's balance of ETH only. Would be good to have history for ETHER transactions with CSV export too.

Without DB - useless

Really disappointed to see that this is completely useless as the way to create the mongo database is not provided ...

It is advertising as public and open, but without DB it is not really the case....

Token info "false" without reason.

{  
   "operations":[  
      {  
         "timestamp":1507274168,
         "transactionHash":"0x0c61170947e4944e37b69c1017fda093ecfc6d61685238dded0917b46df990b2",
         **"tokenInfo":false,**
         "type":"transfer",
         "value":"11989760000000000000000",
         "from":"0x04ee715d5f89a5b91fac1c20e93d0670f72b21f4",
         "to":"0xc0309237bf8b49511d8a51e74c7bcfe6c8ad2bc0"
      },
      {  
         "timestamp":1504549461,
         "transactionHash":"0x22a413fe649ecb95d475c8ae2cef702dd623843df06df0fb569ed603dbbce162",
         "tokenInfo":{  
            "address":"0x108c05cac356d93b351375434101cfd3e14f7e44",
            "name":"Token of Szczepan Bentyn",
            "decimals":"4",
            "symbol":"BEN",
            "totalSupply":"210000000000",
            "owner":"0x",
            "txsCount":107,
            "transfersCount":498,
            "lastUpdated":1506603712,
            "totalIn":425831683466,
            "totalOut":425831683466,
            "issuancesCount":0,
            "holdersCount":206,
            "price":false
         },
         "type":"transfer",
         "value":"27195072",
         "from":"0xc0309237bf8b49511d8a51e74c7bcfe6c8ad2bc0",
         "to":"0xcf83184b69fc79d46de78a9a2221f8b11dd70698"
      },
      {  
         "timestamp":1504549371,
         "transactionHash":"0xaac0fe9d9c96455d83a99423aede50c081038285ed3a97a77168f5524b9be000",
         "tokenInfo":{  
            "address":"0x75d34b30a9a2405b7e2bbff94badcc0ce6c934ad",
            "name":"Maciej Wapi\u0144ski \u201cWapniak\u201d Token",
            "decimals":"18",
            "symbol":"WAP",
            "totalSupply":"21000000000000000000000000",
            "owner":"0x954878c70dbbd09dba501efca4c6b6e1f70067a3",
            "txsCount":1,
            "transfersCount":126,
            "lastUpdated":1506606992,
            "issuancesCount":0,
            "holdersCount":68,
            "price":false
         },
         "type":"transfer",
         "value":"1100000000000000000000",
         "from":"0xc0309237bf8b49511d8a51e74c7bcfe6c8ad2bc0",
         "to":"0xcf83184b69fc79d46de78a9a2221f8b11dd70698"
      },
      {  
         "timestamp":1504388003,
         "transactionHash":"0x02da69fe01a2bd9a4062357c3afb6e7b7e2979adf08b91b575a388f9615f30df",
         "tokenInfo":{  
            "address":"0x108c05cac356d93b351375434101cfd3e14f7e44",
            "name":"Token of Szczepan Bentyn",
            "decimals":"4",
            "symbol":"BEN",
            "totalSupply":"210000000000",
            "owner":"0x",
            "txsCount":107,
            "transfersCount":498,
            "lastUpdated":1506603712,
            "totalIn":425831683466,
            "totalOut":425831683466,
            "issuancesCount":0,
            "holdersCount":206,
            "price":false
         },
         "type":"transfer",
         "value":"27195072",
         "from":"0x04ee715d5f89a5b91fac1c20e93d0670f72b21f4",
         "to":"0xc0309237bf8b49511d8a51e74c7bcfe6c8ad2bc0"
      },
      {  
         "timestamp":1504387901,
         "transactionHash":"0x122a69190e3ec495c16495808697b549d11ba5c1ddfd9bc2c5868684cacf0ca9",
         "tokenInfo":{  
            "address":"0x75d34b30a9a2405b7e2bbff94badcc0ce6c934ad",
            "name":"Maciej Wapi\u0144ski \u201cWapniak\u201d Token",
            "decimals":"18",
            "symbol":"WAP",
            "totalSupply":"21000000000000000000000000",
            "owner":"0x954878c70dbbd09dba501efca4c6b6e1f70067a3",
            "txsCount":1,
            "transfersCount":126,
            "lastUpdated":1506606992,
            "issuancesCount":0,
            "holdersCount":68,
            "price":false
         },
         "type":"transfer",
         "value":"900000000000000000000",
         "from":"0x04ee715d5f89a5b91fac1c20e93d0670f72b21f4",
         "to":"0xc0309237bf8b49511d8a51e74c7bcfe6c8ad2bc0"
      },
      {  
         "timestamp":1504264737,
         "transactionHash":"0x8573f7c7adf5109dc2102fb7f5a00dc57513a8f91f2eb61be42bf95ad197fc6c",
         "tokenInfo":{  
            "address":"0x75d34b30a9a2405b7e2bbff94badcc0ce6c934ad",
            "name":"Maciej Wapi\u0144ski \u201cWapniak\u201d Token",
            "decimals":"18",
            "symbol":"WAP",
            "totalSupply":"21000000000000000000000000",
            "owner":"0x954878c70dbbd09dba501efca4c6b6e1f70067a3",
            "txsCount":1,
            "transfersCount":126,
            "lastUpdated":1506606992,
            "issuancesCount":0,
            "holdersCount":68,
            "price":false
         },
         "type":"transfer",
         "value":"200000000000000000000",
         "from":"0x04ee715d5f89a5b91fac1c20e93d0670f72b21f4",
         "to":"0xc0309237bf8b49511d8a51e74c7bcfe6c8ad2bc0"
      }
   ]
}

This token on Etherscan and on Ethplorer .

As you can see it cant show any information about transactions. Maybe its depend about characters lenght? This Token is special, because of . his ticker "BKCoin" its 6 characters.

Issue creating mongodb

I tried installing the software to see if I could get ethplorer running but I'm running into a problem. I originally tried with php7 but the MongoClient class kept erroring because of php7 and moving to MongoDB/Clients.

I'm trying to use as much of the defaults as possible but was not able to get past the dbName for the mongodb Construct. Error below.

index.php
Changed $esCfg['mongo'] = TRUE ; // Changed from FALSE

Setup:

PHP 5.5.9
MongoDB 2.4
Mongo-php 1.4.5
Mongodb 1.2.9
Unbuntu 14.04

The Error:
PHP Fatal error: Uncaught exception 'MongoException' with message 'MongoDB::__construct(): invalid name ' in /var/www/html/service/lib/ethplorer.php:94\nStack trace:\n#0 /var/www/html/service/lib/ethplorer.php(94): MongoClient->__get('')\n#1 /var/www/html/service/lib/ethplorer.php(118): Ethplorer->__construct(Array)\n#2 /var/www/html/index.php(23): Ethplorer::db(Array)\n#3 {main}\n thrown in /var/www/html/service/lib/ethplorer.php on line 94

Line from ethplorer.php
$oMongo = new MongoClient($this->aSettings['mongo']['server']);
$oDB = $oMongo->{$this->aSettings['mongo']['dbName']};

Any ideas what I might be missing?

Thank you..

Sent my ETH to ETC address, please step by step how to get it back

Hi, I am noob and I need Your help pls. Past 4 days trying to figure out how to do it and can't.

I bought ETH - wanted to send it for a payment at ICO of different platform, clicked ETC instead of ETH.

So i need someone to walk me through step by step how to reverse thepath of ETH leaving me. Its on ETH adress now, but I dont know coding well, so I havent been able to claim it, recall it, nor use the directory when it lies... I do have the keys to it of course.

Initial transfer is here:

https://www.etherchain.org/account/008edcaa9df8bfb0f080cbcf233d5fec9a389651

This is my wallet I paid from: https://etherscan.io/address/0x008eDCaa9df8bfb0f080cBCf233D5fec9a389651

This I want to pull back:

https://etherscan.io/address/0x18c6f258c2d781359b06ecdc49ef3f9790a62ef9

Also would like to get out of it without too much damage, as You can notice there are a few stupid moves from the same wallet to same wallet costing for gas... (bad coding)...

Please help

Not returning correct TOKEN balance (getAddressInfo)

Please take a look at this call: https://api.ethplorer.io/getAddressInfo/{address}?apiKey=freekey

Many of the token balance are not being returned correctly. For example, take a look at "name":CPChain, the balance returned is: "5.0413500456633e+22". When I decimal.Parse it, it translate to this number: 50413500456633000000000. No matter how much I hope this is true, the reality is that address is only holding 50,413 CPC token.

If this is not a bug, could you please explain to me how I can parse the returned balance to the correct value? I am using C# as my language.

Thank you.

Problems connecting to the database

I am new to mongodb and am having trouble setting up my config file. Right now what I have is:

array( "server" => "mongodb://127.0.0.1:27017", "dbName" => "everex-db", ), "ethereum" => "http://127.0.0.1:8545" ); This isn't working. Any idea what I can do to make calls to the api from my site and have it rendered correctly?

Charts for token activity

Now there is chart for 30 days only. It would be good to have chart for token history for lifetime.

TokenInfo: false instead of object

$ curl -sSL "https://api.ethplorer.io/getAddressHistory/0x5c3216a6D9fBd7Cf2AFBe9157FF7e7D1DB3d7bED/?token=0xe3b3651b2987f76a45753b5160504a2ab606716b&type=transfer&apiKey=freekey"
{
    "operations": [
        {
            "timestamp": 1519059931,
            "transactionHash": "0x126f82dcb2f4a283b4ebe20887deb8fdae8b136bf6c732ab444fd8910b442e3b",
            "tokenInfo": false,
            "type": "transfer",
            "value": "300",
            "from": "0xf5a3fa2065e82a7e53c4782f9f5961259d5629b8",
            "to": "0x5c3216a6d9fbd7cf2afbe9157ff7e7d1db3d7bed"
        },
        {
            "timestamp": 1519058397,
            "transactionHash": "0xcd89d478f596650f012905ea31e96dedf82e61ea67ce6e41c4a7127e5df53da8",
            "tokenInfo": false,
            "type": "transfer",
            "value": "300",
            "from": "0x5c3216a6d9fbd7cf2afbe9157ff7e7d1db3d7bed",
            "to": "0xf5a3fa2065e82a7e53c4782f9f5961259d5629b8"
        }
    ]
}

Any idea why this might be? The exact same query was returning token info yesterday evening.

Get address info & show balances for specified token address only

In python 2.6

Tried:

parameters = {'token': 'token_contract_address'}
re = requests.get('https://api.ethplorer.io/getAddressInfo/address?apiKey=freekey', params=parameters)

and

re = requests.get('https://api.ethplorer.io/getAddressInfo/address?apiKey=freekey&token=token_contract_address)

The second is basically the same. But tried in case of.

Both return:

{u'error': {u'code': 104, u'message': u'Invalid address format'}}

Export to CVS

Do you plan to have export feature to CVS and or other formats?

Invalid Action while running on localhost

I have clone code and run in to my local machine setup mongodb is fine , but how to run ethereum in local machine, i have ubuntu 16.04.

I saw Invalid action and also it has some validations issue ,

Support Ethplorer.config is null so it will break the code not show the issue

How to get the ETH history

I use the getAddressHistory or the getAddressTransactions, but it can't find the eth's history of one address to another, what should i do?

thanks for first

Hi. How can I take my Eth.

How can I take my Eth back. I buy Eth from bitit. Bitit use smart contracts send to my exchange wallet. How can I take back? Thanks...

Api tokenbalance converting issue

Hello,

i try to figure out how to convert the strange numbers i get from the api for the token balances. i know in the docs is written token balance (as is, not reduced to a floating point value) but dont know how to get real values here now. hope somebody can help

Change header to Json

curl -v https://api.ethplorer.io/getTokenInfo/0xaec98a708810414878c3bcdf46aad31ded4a4557?apiKey=freekey

returns

...
 HTTP/1.1 200 OK
< Server: nginx
< Date: Thu, 22 Feb 2018 00:11:54 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/7.0.26
< Access-Control-Allow-Origin: *

Since the result payload preserve the JSON structure, it would be good to have it as well in the header.

token transfers from 0x0 not showing

How can I see token transfers for an address from 0x0000000000000000000000000000000000000000 ?

All incoming transfers show except for this one.

Wrong account info when token smart contracts are updated. Augur (REP) example.

Ethplorer does not adapt to the smart contract updates.

For example, using the getAddressInfo API. Fetching the data of an address that has Augur (REP) token, will have this response:

See the "contract is frozen" line. symbol, name are missing, etc.

screen shot 2018-03-01 at 10 26 10

What is expected is the API to automatically use the new smart contract. Can we do something about it?

Balance history

Request for a feature in which one could pull account balance history (including tokens) by day. This would be super valuable for anyone looking to monitor financial performance on the blockchain

Paging

How do you page through getAddressHistory to get the next 10 records?
Tried page=N param, no luck.

tokenInfo is not consistent when only one token vs multiple tokens in one address

If one has only one token in their eth20 address, the json has one tokenInfo entry.
However when the address holds multiple tokens it now has an array tokens which holds multiple objects each having only a tokenInfo key. This is not consistent.

The normal and expected behavior should be:

  • Having zero tokens:
{
  // ... other info
 tokens: [] // empty array because no tokens
}
  • Having one token:
{
  // ... other info
 tokens: [ { information about the token } ] // one element in the array beeing a token object
}
  • Having multiple tokens:
{
  // ... other info
 tokens: [
    { information about the token } ,
    { information about the token } ,
    { information about the token } 
  ]
}

where { information about the token } is what is currently under tokenInfo.

This structure would benefit from more language features as well as beeing more consistent.

Would be cool, to have this in the next api version!

PS: Keep up the good work!

Import Ethereum Blockchain Data into MongoDB

As far as I have seen the source code, there is no importing blockchain data into MongoDB feature. How can I import the data? To use this explorer, imported mongo data is necessary, isn't it?

If the importing tool does not exists yet, I want to know how to save the data from ethereum node.

I guess the following issue is same.

#14

Ethplorer is a only open source explorer of Ethereum I could find. I want to use it.

Token widget

A customized widget that token owner could put on his token site.

Batch requests

Feature request:

It would be nice to have a batch request for this endpoint: /getAddressInfo/{address}

Suggested endpoint option: /getAddressInfo/{addresses[]}

getTokenHistory v2?

Use case:
I'm trying to get all token transactions from one kind of token (say the BAT, contract 0x0D8775F648430679A709E98d2b0Cb6250d2887EF ), but have currently no option to loop through the transactions and get an overview of:
a) which accounts participated in the crowd sale/ICO (to make the chart of number of owners at the start of the coin)
b) to get an overview which accounts "dumped" their coins right after the ICO
c) to get a chart of the current owners of the coin

All those variations could make for nice plug-ins.

What I can imagine:
-getTokenHistoryGrouped: add 2 fields, "fromBlock" and "toBlock" (or fromTs and toTs)
-get those same parameters to work with getTokenHistory
-move some information from getTokenHistory to a header block. E.g. lastUpdated, holderscount, description . In that way the resulting JSON will be much smaller.

Unfortunately I have a hard time getting the code working with my local database, so hope you can put it on your todo list.

No matching DirectoryIndex (page568524.html) found, and server-generated directory index forbidden by Options directive

Hello,

after cloning the repo and changing php config file i get above error. I see this is configured as DirectoryIndex in htaccess also there is no file called page568524.html in source code nor other files mentioned in htaccess
RewriteRule ^last$ page627123.html
RewriteRule ^top$ page627210.html
RewriteRule ^about$ page627364.html
RewriteRule ^privacy$ page627373.html

Please direct me if its something wrong i am doing from my end

Regards,
Srivishnu.K

Testnet

Hi,

Do you have any data on testnet (ropsten, rikeby or other)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.