Skip to main content

General

tokenviewAbout 8 min

General

General information about the chains Tokenview supports.

Supported Chain

GET https://services.tokenview.io/vipapi/block/latest/height?apikey={apikey}

Parameters

Support: All the blockchains Tokenview supports.

Request

curl --location 'https://services.tokenview.io/vipapi/block/latest/height?apikey={apikey}'

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "fic": "438502",
        "XMY": "3225990",
        "lux": "1614329",
        "via": "8768614",
        "bay": "3017319",
        "xmr": "2328231",
        "ipc": "6661934",
        "DGB": "12678149",
        "glc": "1388472",
        "BTCP": "680240",
        "BCA": "749939",
        "BCD": "662968",
        "EIF": "61832",
        "BCC": "743773",
        "IOST": "129639248",
        "xmy": "3225990",
        "BCH": "680973",
        "BCI": "95619",
        "btc2": "1409588",
        "BTC": "676982",
        "BTG": "679506",
        "iost": "129639248",
        "BTM": "628496",
        "BTC2": "1409588",
        "dgb": "12678149",
        "bca": "749939",
        "ZCL": "1114474",
        "PPC": "553186",
        "bcd": "662968",
        "bch": "680973",
        "BTX": "775061",
        "FLO": "4705918",
        "NLG": "1345297",
        "zcash": "1197537",
        "CLAM": "3531326",
        "pivx": "2783490",
        "SC": "305832",
        "btc": "676982",
        "sc": "305832",
        "RDD": "3744479",
        "ONT": "11703054",
        "btg": "679506",
        "btm": "628496",
        "PIVX": "2783490",
        "zcl": "1114474",
        "ppc": "553186",
        "UGAS": "6220166",
        "NMC": "552264",
        "NEBL": "2849998",
        "btx": "775061",
        "flo": "4705918",
        "nlg": "1345297",
        "ugas": "6220166",
        "nebl": "2849998",
        "rdd": "3744479",
        "ont": "11703054",
        "ugasbmtpr": "6078206",
        "clam": "3531326",
        "ADA": "5526875",
        "CANN": "5042920",
        "ZEN": "907014",
        "nmc": "552264",
        "doge": "3667316",
        "XRC": "113639",
        "DOGE": "3667316",
        "RVN": "1688757",
        "MLM": "993004",
        "EMC": "470827",
        "UT": "289895",
        "ada": "5526875",
        "zen": "907014",
        "EM": "2133833",
        "em": "2133833",
        "xrc": "113639",
        "rvn": "1688757",
        "SYS": "959059",
        "mlm": "993004",
        "cann": "5042920",
        "VITES": "246913",
        "XSN": "1599658",
        "vitae": "2121291",
        "GAS": "7070654",
        "emc": "470827",
        "STRAT": "2026978",
        "BHD": "474021",
        "WAN": "13888852",
        "ugasbmupc": "6215431",
        "ugasbmnrl": "6217581",
        "GRS": "3525181",
        "sys": "959059",
        "xsn": "1599658",
        "MNX": "562227",
        "colx": "1819101",
        "EMC2": "3740596",
        "UNO": "1622200",
        "DMD": "812013",
        "CKB": "4037494",
        "bhd": "474021",
        "BITG": "230431",
        "wan": "13888852",
        "mona": "2287433",
        "COLX": "1819101",
        "grs": "3525181",
        "TMC": "670405",
        "AXE": "629494",
        "MONA": "2287433",
        "uno": "1622200",
        "emc2": "3740596",
        "dmd": "812013",
        "HC": "552481",
        "ckb": "4037494",
        "hc": "552481",
        "NRG": "1368704",
        "NAV": "5026591",
        "XVG": "4803770",
        "BCHSV": "680675",
        "axe": "629494",
        "UGASBMNRL": "6217581",
        "UGASBMUPC": "6215431",
        "block": "1909673",
        "SLS": "343753",
        "SMART": "2105237",
        "nrg": "1368704",
        "nav": "5026591",
        "KMD": "2327403",
        "MOON": "2134070",
        "XWC": "1454695",
        "FTC": "3604935",
        "VITAE": "2121291",
        "sls": "343753",
        "BLK": "3461833",
        "kmd": "2327403",
        "VTC": "1534569",
        "MAX": "1876646",
        "CNX": "1829476",
        "smart": "2105237",
        "ATOM": "5679836",
        "MBC": "768846",
        "ftc": "3604935",
        "PHR": "1838871",
        "grin": "1153395",
        "blk": "3461833",
        "vtc": "1534569",
        "cnx": "1829476",
        "UGASBMTPR": "6078206",
        "mbc": "768846",
        "GRIN": "1153395",
        "ETC": "12456433",
        "ETH": "12140005",
        "NEO": "7129762",
        "bchsv": "680675",
        "NVC": "652587",
        "phr": "1838871",
        "atom": "5679836",
        "XZC": "336890",
        "beam": "1172033",
        "WGR": "1616054",
        "USDT": "676983",
        "DASH": "1446046",
        "etc": "12456433",
        "eth": "12140005",
        "usdt": "676983",
        "neo": "7129762",
        "nvc": "652587",
        "TRX": "28902222",
        "ZCASH": "1197537",
        "wgr": "1616054",
        "BLOCK": "1909673",
        "LCC": "2334793",
        "GIN": "743248",
        "BEAM": "1172033",
        "DCR": "541277",
        "LTC": "2025830",
        "trx": "28902222",
        "dash": "1446046",
        "game": "3040396",
        "UNCLE_ETH": "12062508",
        "UNCLE_ETC": "12381671",
        "part": "906416",
        "CRW": "3312168",
        "lcc": "2334793",
        "dcr": "541277",
        "GAME": "3040396",
        "ONION": "2435728",
        "PART": "906416",
        "ltc": "2025830",
        "FIC": "438502",
        "crw": "3312168",
        "LUX": "1614329",
        "VIA": "8768614",
        "SCC": "298091",
        "PI": "15910986",
        "BAY": "3017319",
        "XMR": "2328231",
        "NIX": "655110",
        "IPC": "6661934",
        "GLC": "1388472"
    }
}

Chains Info

GET https://services.tokenview.io/vipapi/coin/abstract/{lowercase-coin-abbr}?apikey={apikey}

Parameters

Request

curl --location 'https://services.tokenview.io/vipapi/coin/abstract/btc?apikey={apikey}'

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "id": "",
        "wpTitle": "Bitcoin/BTC white paper",
        "type": "",
        "circulationAmount": "18106021.04497001",
        "issueDate": "1225497600000",
        "isToken": "No",
        "summaryEn": "The concept of Bitcoin (Bitcoin) was first proposed by Nakamoto in 2009, according to Satoshi Nakamoto's idea of ​​designing open source software and building a P2P network. Bitcoin is a P2P digital currency. Point-to-point transmission means a decentralized payment system. Unlike most currencies, Bitcoin does not rely on specific currency institutions to issue. It is based on specific algorithms and generated by a large number of calculations. The Bitcoin economy uses a distributed database of multiple nodes in the entire P2P network to confirm and record all transactions. And the use of cryptography design to ensure the security of the various aspects of currency circulation. P2P decentralization features and algorithms itself can ensure that can not be manipulated through the large number of bitcoin to manipulate the currency value. The cryptographic design allows bitcoin to be transferred or paid only by the real owner. This also ensures the anonymity of currency ownership and liquidity transactions. The biggest difference between Bitcoin and other virtual currencies is that their total number is very limited and they are extremely scarce. The currency system had no more than 10.5 million in 4 years, and the total amount will be permanently limited to 21 million.",
        "summaryCn": "比特币(BitCoin)的概念最初由中本聪在2009年提出,根据中本聪的思路设计发布的开源软件以及建构其上的P2P网络。比特币是一种P2P形式的数字货币。点对点的传输意味着一个去中心化的支付系统。与大多数货币不同,比特币不依靠特定货币机构发行,它依据特定算法,通过大量的计算产生,比特币经济使用整个P2P网络中众多节点构成的分布式数据库来确认并记录所有的交易行为,并使用密码学的设计来确保货币流通各个环节安全性。P2P的去中心化特性与算法本身可以确保无法通过大量制造比特币来人为操控币值。基于密码学的设计可以使比特币只能被真实的拥有者转移或支付。这同样确保了货币所有权与流通交易的匿名性。比特币与其他虚拟货币最大的不同,是其总数量非常有限,具有极强的稀缺性。该货币系统曾在4年内只有不超过1050万个,之后的总数量将被永久限制在2100万个。",
        "supply": "21,000,000 BTC",
        "homePageUrl": "https://bitcoin.org/",
        "wpUrl": "http://www.bitcoin.org/bitcoin.pdf",
        "srcUrl": "https://github.com/bitcoin/",
        "coinShortName": "BTC",
        "tokenPlatform": "",
        "wpEn": "Bitcoin: A Peer-to-Peer Electronic Cash System\nSatoshi Nakamoto\nsatoshin@gmx.com\nwww.bitcoin.org\nAbstract. A purely peer-to-peer version of electronic cash would allow online\npayments to be sent directly from one party to another without going through a\nfinancial institution. Digital signatures provide part of the solution, but the main\nbenefits are lost if a trusted third party is still required to prevent double-spending.\nWe propose a solution to the double-spending problem using a peer-to-peer network.\nThe network timestamps transactions by hashing them into an ongoing chain of\nhash-based proof-of-work, forming a record that cannot be changed without redoing\nthe proof-of-work. The longest chain not only serves as proof of the sequence of\nevents witnessed, but proof that it came from the largest pool of CPU power. As\nlong as a majority of CPU power is controlled by nodes that are not cooperating to\nattack the network, they'll generate the longest chain and outpace attackers. The\nnetw",
        "wpCn": "比特币:一种点对点的电子现金系统\n中本聪(Satoshi Nakamoto)\nsatoshin@gmx.com\nwww.bitcoin.org\n摘要:本文提出了一种完全通过点对点技术实现的电子现金系统,它使得在线支付能够直接由一方发起并支付给另外一方,中间不需要通过任何的金融机构。虽然数字签名部分解决了这个问题,但是如果仍然需要第三方的支持才能防止双重支付的话,那么这种系统也就失去了存在的价值。我们在此提出一种解决方案,使现金系统在点对点的环境下运行,并防止双重支付问题。该网络通过随机散列对全部交易加上时间戳,将它们合并入一个不断延伸的基于随机散列的工作量证明的链条作为交易记录,除非重新完成全部的工作量证明,形成的交易记录将不可更改。最长的链条不仅将作为被观察到的事件序列的证明,而且被看做是来自 CPU 计算能力最大的池。只要大多数的 CPU 计算能力都没有打算合作起来对全网进行攻击,那么诚实的节点将会生成最长的、超过攻击者的链条。这个系统本身需要的基础设施非常少。信息尽最大努力在全网传播即可,节点可以随时离开和重新加入网络,并将最长的工作量证明链条作为在该节点离线期间发生的交易的证明。\n1. 简介\n互联网上的贸易,几乎都需要借助金融机构作为可资信赖的第三方来处理电子支付信息。虽然这类系统在绝大多数情况下都运作良好,但是这类系统仍然内生性地受制于“基于信用的模式”的弱点。我们无法实现完全不可逆的交易,因为金融机构总是不可避免地会出面协调争端。而金融中介的存在,也会增加交易的成本,并且限制了实际可行的最小交易规模,也限制了日常的小额支付交易。并且潜在的损失还在于,很多商品和服务本身是无法退货的,如果缺乏不可逆的支付手段,互联网的贸易就大大受限。因为有潜在的退款的可能,就需要交易双方拥有信任。而商家也必须提防自己的客户,因此会向客户索取完全不必要的个人信息。而实际的商业行为中,一定比例的欺诈性客户也被认为是不可避免的,相关损失视作销售费用处理。而在使用物理现金的情况下,这些销售费用和支付问题上的不确定性却是可以避免的,因为此时没有第三方信用中介的存在。所以,我们非常需要这样一种电子支付系统,它基于密码学原理而不基于信用,使得任何达成一致的双方,能够直接进行支付,从而不需要第三方中介的参与。杜绝回滚支付交易的可能,这就可以保护特定的卖家免于欺诈;而对于想要保护买家的人来说",
        "icon": "bitcoin",
        "ico_end_date": "",
        "ico_start_date": "",
        "uniqueId": "btc",
        "erc20Addr": "",
        "youtubeLink": "https://www.youtube.com/channel/UCetxkZolEBHX47BqtZktbkg",
        "facebookLink": "https://www.facebook.com/bitcoins/",
        "telegramLink": "",
        "twitterLink": "https://twitter.com/bitcoin",
        "bitcointalkLink": "https://bitcointalk.org",
        "codeLang": "C/C++",
        "consensusMethod": "PoW",
        "algorithm": "SHA256",
        "mineable": "Yes",
        "coinFullName": "Bitcoin",
        "coinFullNameCn": "比特币",
        "blockchain": "",
        "blockUrl": "",
        "perSecond": "",
        "githubLink": "https://github.com/bitcoin/",
        "githubContributors": "",
        "githubCommits": "",
        "githubAttention": "",
        "githubCopy": "",
        "github_update": "",
        "homeEmail": "",
        "timeForBlock": "600s",
        "rank": ""
    }
}

Hash Type Check

GET https://services.tokenview.io/vipapi/hashtype/{any-hash-string}?apikey={apikey}

Parameters

If this HASH has not appeared on the chain supported by Tokenview, return [empty].

The meaning of the returned value is as follows:

  • bh: block hash
  • tx: transaction hash
  • addr: address hash
  • pk: public key hash
  • pid: pid hash

Request

curl --location 'https://services.tokenview.io/vipapi/hashtype/qzu9xxpgkkwnu3y00exnn3n5hpr355hrf55fyq3nw5?apikey={apikey}' 

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "BTC": "addr",
        "BCH": "addr"
    }
}

Latest Block Height

GET https://services.tokenview.io/vipapi/coin/latest/{lowercase-coin-abbr}?apikey={apikey}

Parameters

Request

curl --location https://services.tokenview.io/vipapi/coin/latest/btc?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": 660730
}
Last update: