Skip to content
Cross-chain Metaspace Interface

Public Chain Information QueryTry API

POST chain_queryInfo (Public Chain Information Query)

description:Shows the list of public-chain tokens mapped into the cross-chain metaspace.

Parameters

address public chainaddress

begin start number

len getlength

Sliceno 1 cross-chainmetaspacefixed toNo. 1space

Example Code
Request
{
"jsonrpc": "3.0",
"method": "chain_queryInfo",
"params": [
  "pubChainQuery",
  "op=queryDex&subcode=ContractQueryCoins&address=&begin=0&len=100&sliceno=1",
  "encryp=none"
],
"id": "1"
}
Response
{
 "jsonrpc":  "3.0",
 "id":  "cc498efa12ae68a9e58bf7b6",
 "result": {
   "ret":  "0",
   "err":  "",
   "content": {
     "info": {
       "remoteConAddrs": [
         "TC",
         "8da24d47e0c92daa62563f3422000a93f3f81e97",
         "8da24d47e0c92daa62563f3422000a93f3f81e97"
      ],
       "conAddrs": [
         "0xeac6287221a1776a07c61cd719b30fb72495d54d",
         "0x7ec49837d9fe0fdda3909a00a0292baa999f7829",
         "0x4dc56257426e412f9fe96e207629df37e95f77fa"
      ],
       "names": [
         "TC",
         "USDT2",
         "USDT3"
      ],
       "symbols": [
         "TC",
         "USDT2",
         "USDT3"
      ],
       "logos": [
         "https://ip/tc.pnp",
         "https://ip/tc1.pnp",
         "https://ip/tc2.pnp"
      ]
    }
  }
}

On this page