Open vikmeup opened 6 years ago
Method
: GET
Endpoint
: https://public.trustwalletapp.com/:networkid/:address?
Supported networkid
: ethereum
, ropsten
, rinkeby
, kovan
Example
: https://public.trustwalletapp.com/tokeninfo/ethereum/0xe386b139ed3715ca4b18fd52671bdcea1cdfe4b1
Response status 200
:
{
"status": true,
"response": {
"symbol": "ZST",
"address": "0xe386b139ed3715ca4b18fd52671bdcea1cdfe4b1",
"decimals": 8,
"name": "Zeus Exchange",
"ens_address": "",
"website": "http://zeus.exchange",
"logo": {
"src": "",
"width": "",
"height": "",
"ipfs_hash": ""
},
"support": {
"email": "info@zeus.exchange",
"url": ""
},
"social": {
"blog": "",
"chat": "",
"facebook": "https://facebook.com/Zeus-Exchange-158864051329242",
"forum": "",
"github": "",
"gitter": "",
"instagram": "",
"linkedin": "",
"reddit": "",
"slack": "",
"telegram": "https://t.me/joinchat/B8kRS0IMUdyEVi9CxH7Djw",
"twitter": "https://twitter.com/ExchangeZeus",
"youtube": ""
}
}
}
@OlegGordiichuk created TokenViewController
for that reason, disabled for released builds.
@kolya182 it think this will be /:coin/:contract?
. We can make this changes little later.
/60
- should return ethereum information
/60/0x12312
- should return 0x12312
contract details
@vikmeup should we consider https://github.com/TrustWallet/trust-wallet-ios/issues/860 as part of this issue ? So we would show not only token information but market aswell ?
Use Eureka to build a view
Sent with GitHawk