eth_compileSerpent

半兽人 发表于: 2020-03-14   最后更新时间: 2020-03-14 16:29:54  
{{totalSubscript}} 订阅, 1,674 游览

eth_compileSerpent,返回编译后的serpent代码。

参数

  • String - 源码.
    params: [
     "/* some serpent */",
    ]
    

返回

  • DATA - 编译后的源码。

例子

// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_compileSerpent","params":["/* some serpent */"],"id":1}'

// Result
{
  "id":1,
  "jsonrpc": "2.0",
  "result": "0x603880600c6000396000f3006001600060e060020a600035048063c6888fa114601857005b6021600435602b565b8060005260206000f35b600081600702905091905056" // the compiled source code
}
更新于 2020-03-14
在线,1小时前登录

查看ethereumj更多相关的文章或提一个关于ethereumj的问题,也可以与我们一起分享文章