contract_getCreator

查询合约部署者。

Parameters

  1. <string> - 20字节的十六进制字符串,合约地址。

Returns

  1. <string> - 20字节的十六进制字符串,合约部署者地址。

Example

  1. # Request
  2. curl localhost:8081 --data '{"jsonrpc":"2.0", "namespace":"global", "method": "contract_getCreator","params": ["0xbbe2b6412ccf633222374de8958f2acc76cda9c9"],"id": 1}'
  3.  
  4. # Response
  5. {
  6. "jsonrpc":"2.0",
  7. "namespace":"global",
  8. "id":1,
  9. "code":0,
  10. "message":"SUCCESS",
  11. "result":" 0x000f1a7a08ccc48e5d30f80850cf1cf283aa3abd "
  12. }