以太坊web3

https://blog.csdn.net/fangdengfu123/article/details/82621537

https://www.jianshu.com/p/a5962ebf5df1

https://documenter.getpostman.com/view/788039/RWgwRbCr

基本路径 http://47.244.99.2:8533
HEADER Content-Type   application/x-www-form-urlencoded
Authorization   3e96be9cf0916938b66e6ebeea5bec54
接口路径 请求类型 参数 参数类型 参数示例 返回结果 返回示例
/ GET 返回系统版本号 {
    "code": 0,
    "data": {
        "version": "1.0.0-beta.36"
    },
    "msg": "客户端版本"
}
/newAccount POST password 字符串 123456 返回新地址 {
    "code": 0,
    "data": {
        "address": "0xabF0dEcaDC1131Dc7A9010eF32760cEc2afE41cF"
    },
    "msg": "新地址"
}
/getEthBalance POST address 字符串 0xabF0dEcaDC1131Dc7A9010eF32760cEc2afE41cF 返回以太坊余额 {
    "code": 0,
    "data": {
        "balance": "0.0011444"
    },
    "msg": "余额查询"
}
https://api.etherscan.io/api?module=account&action=balancemulti&address=0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a,0x63a9975ba31b0b9626b34300f7f627147df1f526,0x198ef1ec325a96cc354c7266a038be8b5c558f67&tag=latest&apikey=YourApiKeyToken
使用此接口 定时 判断用户是否有新的交易产生      
H4FM3UF7RH964DRFR9CVA4JR7XSYHM244T      
http://api.etherscan.io/api?module=account&action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&startblock=0&endblock=99999999&sort=asc&apikey=YourApiKeyToken
             
http://47.244.99.2:8533/sendEthTransfer        

猜你喜欢

转载自blog.csdn.net/php_lidong/article/details/85048761