Skip to content
Cross-chain Metaspace Interface

Public Chain Token Details QueryTry API

POST chain_queryInfo (Public Chain Token Details Query)

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

Parameters

address public chainaddress

conaddr tokenaddress

findaddr needquerysomeaccountaddress,ifempty, otherwisequerycurrentaccountaddress

Example Code
Request
{
"jsonrpc": "3.0",
"method": "chain_queryInfo",
"params": [
  "pubChainQuery",
  "op=queryDex&subcode=ContractGetCoin&address=&conaddr=&findaddr=&sliceno=1",
  "encryp=none"
],
"id": "1"
}
Response
{
 "jsonrpc":  "3.0",
 "id":  "1bd17d7ec7f2fdca6d738531",
 "result": {
   "ret":  "0",
   "err":  "",
   "content": {
     "info": {
       "RemoteAddr":  "0x0000000000000000000000000000000000000000",
       "Conaddr":  "0x8a8dae6216f5fddbcb8f8a44e1fca2f35ce0728a",
       "Tokenname":  "USDT",
       "TokenSymbol":  "USDT",
       "Amount":  0,
       "Total":  0,
       "Decimals":  9
    }
  }
}
}

On this page