跳至主要內容

Layer2

tokenview大约 2 分钟

Layer2

Layer2 是一个为提升以太坊网络(layer1)性能的整体解决方案。Layer1来保证安全和去中心化,做到全球共识,通过智能合约设计的规则进行仲裁,以经济激励的形式将信任传递到Layer2。

Tokenview 支持 Layer2 系列包括:GNOSIS

Tokenview Layer2 API 本部分接口仅展示Layer2 公链特有的数据接口,其它信息数据接口与 ETH 系列的接口相同,如需请求相关数据,请参考 ETH 系列

备注:
  • Gnosis {公链简称小写}: xdai

GNOSIS 桥接ETH代币

GET https://services.tokenview.io/vipapi/xdai/bridgedtokens/{页码}/{每页条数}?bridgedFromNetwork=eth&searchKey=&orderColumn={排序字段}&orderDirection={排序方式}&apikey={apikey}

参数

  • {页码}:1,2,3,... 50,最多50页;
  • {每页交易条数}:1,2,3...50,每页交易条数,最多50条;
  • {排序字段}:持币地址数(holder_cnt)或者转账笔数(tx_cnt);
  • {排序方式}:asc(升序),desc(降序);
  • {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.ioopen in new window

Request

curl --location https://services.tokenview.io/vipapi/xdai/bridgedtokens/1/10?bridgedFromNetwork=eth&searchKey=&orderColumn=holder_cnt&orderDirection=desc&apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "page": 1,
        "size": 10,
        "total": 604,
        "data": [
            {
                "symbol": "BZZ",
                "address": "0xdbf3ea6f5bee45c02255b2c26a16f300502f68da",
                "holderCnt": 209761,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "327699",
                "bridgeType": "OMNI",
                "name": "BZZ on xDai",
                "bridgedFromAddress": "0x19062190b1925b5b6689d7073fdfc8c2976ef8cb",
                "txCnt": 1372529
            },
            {
                "symbol": "USDC",
                "address": "0xddafbb505ad214d7b80b1f830fccc89b60fb7a83",
                "holderCnt": 35284,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "14777172",
                "bridgeType": "OMNI",
                "name": "USD//C on xDai",
                "bridgedFromAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                "txCnt": 23560230
            },
            {
                "symbol": "SANA",
                "address": "0x20cfc7c76c446f889e3969bedef46a950a2111f5",
                "holderCnt": 31015,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "6049176320",
                "bridgeType": "OMNI",
                "name": "SANA on xDai",
                "bridgedFromAddress": "0x87cdc02f0812f08cd50f946793706fad9c265e2d",
                "txCnt": 2326520
            },
            {
                "symbol": "GNO",
                "address": "0x9c58bacc331c9aa871afd802db6379a98e80cedb",
                "holderCnt": 19103,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "381547",
                "bridgeType": "OMNI",
                "name": "Gnosis Token on xDai",
                "bridgedFromAddress": "0x6810e776880c02933d47db1b9fc05908e5386b96",
                "txCnt": 1087910
            },
            {
                "symbol": "NBZZ",
                "address": "0x6cccc6c3ece1ceb7671c5c5de08ce1715936b66d",
                "holderCnt": 16465,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "62070225",
                "bridgeType": "OMNI",
                "name": "NBZZ on xDai",
                "bridgedFromAddress": "0x69177b07c346d32d8e6d5fa16eee5bdc85a3ae25",
                "txCnt": 2224585
            },
            {
                "symbol": "MATIC",
                "address": "0x7122d7661c4564b7c6cd4878b06766489a6028a2",
                "holderCnt": 14429,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "60626",
                "bridgeType": "OMNI",
                "name": "Matic Token on xDai",
                "bridgedFromAddress": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0",
                "txCnt": 220748
            },
            {
                "symbol": "WETH",
                "address": "0x6a023ccd1ff6f2045c3309768ead9e68f978f6e1",
                "holderCnt": 12469,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "8782",
                "bridgeType": "OMNI",
                "name": "Wrapped Ether on xDai",
                "bridgedFromAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                "txCnt": 1957187
            },
            {
                "symbol": "USDT",
                "address": "0x4ecaba5870353805a9f068101a40e0f32ed605c6",
                "holderCnt": 8814,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "8641606",
                "bridgeType": "OMNI",
                "name": "Tether USD on xDai",
                "bridgedFromAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                "txCnt": 645688
            },
            {
                "symbol": "STAKE",
                "address": "0xb7d311e2eb55f2f68a9440da38e7989210b9a05e",
                "holderCnt": 8120,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "280305",
                "bridgeType": "OMNI",
                "name": "STAKE on xDai",
                "bridgedFromAddress": "0x0ae055097c6d159879521c384f1d2123d1f195e6",
                "txCnt": 1222482
            },
            {
                "symbol": "COW",
                "address": "0x177127622c4a00f3d409b75571e12cb3c8973d3c",
                "holderCnt": 7941,
                "bridgedFromNetwork": "ETH",
                "totalSupply": "28989239",
                "bridgeType": "OMNI",
                "name": "CoW Protocol Token from Mainnet",
                "bridgedFromAddress": "0xdef1ca1fb7fbcdc777520aa7f396b4e015f497ab",
                "txCnt": 156914
            }
        ]
    }
}

应答字段说明

"data": {
        "page": 1,    // 页码
        "size": 10,   // 每页条数
        "total": 604, // 总数
        "data": [
            {
                "symbol": "BZZ",  // 代币简称
                "address": "0xdbf3ea6f5bee45c02255b2c26a16f300502f68da", // 地址
                "holderCnt": 209761, // 持币地址数
                "bridgedFromNetwork": "ETH", 
                "totalSupply": "327699", // 总供应量
                "bridgeType": "OMNI",  // 桥
                "name": "BZZ on xDai", // 代币名字 name
                "bridgedFromAddress": "0x19062190b1925b5b6689d7073fdfc8c2976ef8cb", // Ethereum的源代币
                "txCnt": 1372529  // 转账笔数
            }
        ]
    }

上次编辑于: