Skip to content

Instantly share code, notes, and snippets.

@lk86
Created July 3, 2021 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lk86/baef67c814ef48f6848ad8f87543a3d4 to your computer and use it in GitHub Desktop.
Save lk86/baef67c814ef48f6848ad8f87543a3d4 to your computer and use it in GitHub Desktop.
CryptoCheck definitions file
{
"version":4,
"names_fiat":["AUD","BGN","BRL","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HRK","HUF","IDR","ILS","INR","JPY","KRW","MXN","MYR","NOK","NZD","PHP","PLN","RON","RUB","SEK","SGD","THB","TRY","USD","ZAR"],
"coins":{
"ALGO":{"name":"Algorand","id":"4030","color":"#ffffff","url":"https://algoexplorerapi.io/idx2/v2/accounts/{add}","timeout":5,"header":3,"ssl":1,"resp_type":"json","resp_struct":["account", "amount-without-pending-rewards"],"div":1e6},
"ZRX":{"name":"0x","id":"1896","color":"#ffffff","url":"https://api.etherscan.io/api?module=account&action=tokenbalance&contractaddress=0xe41d2489571d322189246dafa5ebde1f4699f498&address={add}&tag=latest&apikey=NA23E58FGS35PG5UV2IZI3DKGVWFSXW5GV","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["result"],"div":1e18},
"BTC":{"name":"Bitcoin","id":"1","color":"#f8a035","url":"https://api.blockcypher.com/v1/btc/main/addrs/{add}/balance","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["balance"],"div":1e8},
"BCH":{"name":"Bitcoin Cash","id":"1831","color":"#8dc351","url":"https://explorer.api.bitcoin.com/bch/v1/addr/{add}/balance","timeout":5,"resp_type":"plain","div":1e8},
"ADA":{"name":"Cardano","id":"2010","color":"#246dd3","url":"https://rosetta-api.mainnet.dandelion.link/account/balance","timeout":5,"ssl":1,"header":4,"resp_type":"json","div":1e6,"resp_struct":["balances",0,"value"],"data2":"{\"network_identifier\":{ \"blockchain\":\"cardano\",\"network\":\"mainnet\"},\"account_identifier\":{ \"address\":\"{add}\"}}"},
"LINK":{"name":"Chainlink","id":"1975","color":"#335dd2","url":"https://api.etherscan.io/api?module=account&action=tokenbalance&contractaddress=0x514910771af9ca656af840dff83e8264ecf986ca&address={add}&tag=latest&apikey=NA23E58FGS35PG5UV2IZI3DKGVWFSXW5GV","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["result"],"div":1e18},
"DOGE":{"name":"Dogecoin","id":"74","color":"#c3a634","url":"https://dogeblocks.com/api/address/{add}","timeout":5,"ssl":1,"header":3,"resp_type":"json","resp_struct":["balance"]},
"ETH":{"name":"Ethereum","id":"1027","color":"#828384","url":"https://api.etherscan.io/api?module=account&action=balance&address={add}&tag=latest&apikey=NA23E58FGS35PG5UV2IZI3DKGVWFSXW5GV","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["result"],"div":1e18},
"ETC":{"name":"Ethereum Classic","id":"1321","color":"#328332","url":"https://etcblockexplorer.com/api/address/{add}","timeout":5,"ssl":1,"header":3,"resp_type":"json","resp_struct":["balance"],"div":1e18},
"LTC":{"name":"Litecoin","id":"2","color":"#345d9d","url":"https://api.blockcypher.com/v1/ltc/main/addrs/{add}/balance","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["balance"],"div":1e8},
"MINA":{"name":"Mina","id":"8646","color":"#f7047c","url":" https://api.minaexplorer.com/accounts/{add}","timeout":5,"header":4,"ssl":1,"resp_type":"json","resp_struct":["account","balance", "total"]},
"MKR":{"name":"Maker","id":"1518","color":"#63c4b3","url":"https://api.etherscan.io/api?module=account&action=tokenbalance&contractaddress=0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2&address={add}&tag=latest&apikey=NA23E58FGS35PG5UV2IZI3DKGVWFSXW5GV","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["result"],"div":1e18},
"DOT":{"name":"Polkadot","id":"6636","color":"#e70b7c","url":"https://explorer-32.polkascan.io/api/v1/polkadot/account/{add}","timeout":5,"header":2,"ssl":1,"resp_type":"json","resp_struct":["data","attributes","balance_total"],"div":1e10},
"XRP":{"name":"Ripple","id":"52","color":"#a2a5a7","url":"https://data.ripple.com/v2/accounts/{add}/balances","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["balances",0,"value"]},
"SC":{"name":"Siacoin","id":"1042","color":"#328332","url":"https://siastats.info/navigator-api/hash/{add}","timeout":5,"header":3,"ssl":1,"resp_type":"json","resp_struct":[1, "balanceSc"],"div":1e24},
"TRX":{"name":"TRON","id":"1958","color":"#ff0013","url":"https://api.trongrid.io/v1/accounts/{add}","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["data",0,"balance"],"div":1e6},
"XTZ":{"name":"Tezos","id":"2011","color":"#437eef","url":"https://api.tzstats.com/explorer/account/{add}","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["total_balance"]},
"UNI":{"name":"Uniswap","id":"7083","color":"#f7047d","url":"https://api.etherscan.io/api?module=account&action=tokenbalance&contractaddress=0x1f9840a85d5af5bf1d1762f925bdaddc4201f984&address={add}&tag=latest&apikey=NA23E58FGS35PG5UV2IZI3DKGVWFSXW5GV","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["result"],"div":1e18},
"USDC":{"name":"USD Coin","id":"3408","color":"#2775c9","url":"https://api.etherscan.io/api?module=account&action=tokenbalance&contractaddress=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&address={add}&tag=latest&apikey=NA23E58FGS35PG5UV2IZI3DKGVWFSXW5GV","timeout":5,"ssl":1,"resp_type":"json","resp_struct":["result"],"div":1e6},
"ZEC":{"name":"Zcash","id":"1437","color":"#ecb244","url":"https://api.zcha.in/v2/mainnet/accounts/{add}","timeout":5,"ssl":1,"header":1,"resp_type":"json-float","resp_struct":"balance"},
"headers":[
{"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.3",
"Accept-Encoding": "none",
"Accept-Language": "en-US,en;q=0.8",
"Connection": "keep-alive"},
{"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
"Content-Type": "application/x-www-form-urlencoded"},
{"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
"Accept": "application/vnd.api+json",
"Content-Type": "application/vnd.api+json"},
{"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
"Accept": "application/json",
"Content-Type": "application/json",
"Connection": "keep-alive"}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment