Closed 1c7 closed 5 years ago
curl 的效果也一样
curl -i -H 'Content-Type: application/json' -X POST https://testnet.nebulas.io/v1/user/call -d '{"from":"n1XL3BsqPiGMFkL9tAxnKziRyQ1L57kDWRz","to":"n1y3jGZUfRKB6cYE6fC4Utg6qGKYHa4WeKK","value":"0","nonce":3,"gasPrice":"1000000","gasLimit":"2000000","contract":{"function":"get","args":""}}'
你好,log信息只能在本地节点的log里看到。
1. 代码如下
一字未改,来自官方文档:https://github.com/nebulasio/wiki/blob/master/tutorials/%5B%E4%B8%AD%E6%96%87%5D%20Nebulas%20101%20-%2004%20%E6%99%BA%E8%83%BD%E5%90%88%E7%BA%A6%E5%AD%98%E5%82%A8%E5%8C%BA.md
2. 已部署到测试网
交易地址: 447bf18dd5fe0e228ba1abeae0058f32b0059d9923f855a4bb56019a24b8229d
合约地址:n1y3jGZUfRKB6cYE6fC4Utg6qGKYHa4WeKK
![adb22080-0129-4d2c-8e84-d871707d3262](https://user-images.githubusercontent.com/1804755/44305480-8e2ece00-a3aa-11e8-8880-e09aa769d46f.png)
3. “执行” tab 下,用“测试”或“提交”均无法看到 console.log 的结果
问题:在哪里看 console.log 的输出?
谢谢