数字BTC,ETH,LTC地址

最后更新于:2022-04-02 08:19:10

## 数字BTC,ETH,LTC地址(维护中) >[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/33/9a/339a02d65bf1696bab42353456075252_250x250.png) > 生成数字地址BTC,ETH,LTC地址、助记词和私钥 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/xnb/index ``` ### 请求参数 无 ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | btc| string | 比特币| | eth| string | 以太坊 | | ltc| string | 莱特币 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->xnbIndex() ->request(); dump($result); ``` 返回数据示例: ~~~ { "code": 0, "message": "成功", "data": { "btc": { "mnemonic": "leopard old bullet possible april regret slush height sell theory card wage", "address": "1KdtwUMBMc3PmitER16HSEKV7UpPtCBnRd", "private_key": "L1rBK34JRUDMz7nbJgc8Aw8vhHXnbvFy3249pCnR9g39x6BfxY2y" }, "eth": { "mnemonic": "abstract bless apology middle wheat pattern once topple trumpet sail wine layer", "address": "0x364d1647620cb861d5a563682ea1656c56d0252a", "private_key": "810524be32fd24dafa5dfec84897942bb387411915d15cd3a518e481e5e309ae" }, "ltc": { "mnemonic": "cat illegal bonus curve element syrup parade snack test ring yellow fabric", "address": "LR5HKvPcSXgBtuMHCkKi8o7h9hvLmmt8Bu", "private_key": "T8EXXsVe4tk8BMWTm1CBhf8akafuia15CjALxwzzwa8Mtgy8M5nF" } }, } ~~~
';