以太坊JSON RPC手册

eth_compileLLL

返回编译后的LLL代码。

参数

String - LLL源代码

params: [
   "(returnlll (suicide (caller)))",
]

返回值

DATA - 编译后的LLL源代码

示例代码

请求:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_compileLLL","params":["(returnlll (suicide (caller)))"],"id":1}'

响应:

{
  "id":1,
  "jsonrpc": "2.0",
  "result": "0x603880600c6000396000f3006001600060e060020a600035048063c6888fa114601857005b6021600435602b565b8060005260206000f35b600081600702905091905056" // the compiled source code
}