检查via api blockchain.info上的以太坊钱包

时间:2018-01-01 19:34:25

标签: python api python-3.5 blockchain blockchain.info-api

我正在使用https://blockchain.info/ api为了检查我的余额,请使用以下链接:

https://blockchain.info/rawaddr/16**** 

以太坊钱包有类似的东西吗? 我想通过区块链信息了解发件人的地址和我的以太坊钱包的历史

2 个答案:

答案 0 :(得分:0)

如果我理解得很好,你是否正在寻找api来检查以太坊账户的余额?

请检查:https://etherscan.io/apis

答案 1 :(得分:0)

Amberdata.ioAPIa bunch of data on addresses。独特之处在于它们具有历史帐户余额以及list all transactions by address的功能。

这是来自addresses/:hash/statistics端点的示例响应:

curl \
    -X "GET" \
    -H "accept: application/json" \
    -H "x-api-key: <api_key>" \
    "https://web3api.io/api/v1/addresses/0x06012c8cf97bead5deae237070f9587f8e7a266d/statistics"

响应:

{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "balance": "43625340634292316919",
    "balanceIn": "2.714245071508029334975e+22",
    "balanceOut": "2.7098825374446001032831e+22",
    "addressType": "contract",
    "contractTypes": [
      "ERC721"
    ],
    "decimals": "0",
    "name": "CryptoKitties",
    "numHolders": "72506",
    "numTokens": "1421403",
    "numTransfers": "1356726",
    "symbol": "CK",
    "totalSupply": "1421403.0000000000000000",
    "totalValueUSD": null,
    "unitValueUSD": null
  }
}

让我知道其中是否有帮助!