Skip to content
Cross-chain Metaspace Interface

Robot Address QueryTry API

POST chain_queryInfo (Robot Address Query)

description:Each imported public chain automatically gets one unique robot account, independent of human control, to manage all assets on that public chain.

Example Code
Request
{
"jsonrpc": "3.0",
"method": "chain_queryInfo",
"params": [
  "pubChainQuery",
  "op=queryDex&subcode=Robotaddr&sliceno=1",
  "encryp=none"
],
"id": "1"
}
Response
{
 "jsonrpc":  "3.0",
 "id":  "8ea8f7248e93f4c3087ab78a",
 "result": {
   "ret":  "0",
   "err":  "",
   "content": {
     "info": [
      {
         "Name":  "TC",
         "Addr":  "0xe725e10cb00fdd08fe439f68b1c10b947ec8ab6e"
      },
      {
         "Name":  "ETH",
         "Addr":  "0x1cc37bda9dfc0b6915f2e6d1190e64e90310623e"
      }
    ]
  }
}
}

On this page