Skip to content
Transaction Interface

Contract Function Code QueryTry API

POST chain_queryFuntionCode (Contract Function Code Query)
Parameters

params: functionname

Return Values

info: functioncode

Example Code
Request
{
"jsonrpc": "3.0",
"method": "chain_queryFuntionCode",
"params": [
  "getTYpe()"
],
"id": "1"
}
Response
{
 "jsonrpc":  "3.0",
 "id":  "1",
 "result": {
   "ret":  "0",
   "err":  "",
   "content": {
     "info":  "0xae591f49"
  }
}
}

On this page