Skip to content
Cross-chain Metaspace Interface

Public Chain Asset Transfer Result QueryTry API

POST chain_dexSwap (Public Chain Asset Transfer Result Query)
Parameters

Chain: public chainidentifier

hash: transactionhash

Example Code
Request
{
"jsonrpc": "3.0",
"method": "chain_dexSwap",
"params": [
  "opcode=ActiveRobot&subcode=TransResult&chain=&hash=",
  "encryp=none"
],
"id": "aa80aa0c6bb0c7d81ac7e5b3"
}
Response
{
"jsonrpc":  "3.0",
 "id":  "3e61bc23b83a8c354afac729",
 "result": {
  "ret":  "0",
   "err":  "",
   "content":  "status=2"
}
}Note: ret non-zero transferfail ret is 0 same when status=2 transfersuccess,
whetherotherwiseneedwait

On this page