/token/account

获取一个 ERC20 或 TRC20 钱包地址的账户信息。

Parameters

  • address [必须] 钱包地址,可以是一个0x开头的ERC20地址,或者以T开头的TRC20地址。

Request

  • 请将 YOUR-API-KEY 替换您的 API-KEY

curl -X GET https://eth-mainnet.solarpath.io/v1/YOUR-API-KEY/token/account?address=0x645558371fF5d0b7F08069850864318c61f30066

Response

{
  "code": 200,
  "msg": "Successful",
  "status": "success",
  "result": {
    "id": "",
    "name": "",
    "balance": "1.82554",
    "unit": "ETH",
    "address": "0x645558371fF5d0b7F08069850864318c61f30066",
    "balance2usd": "5858.84"
  }
}

最后更新于