标签: node.js rpc ethereum
这是我尝试过的:
var eth_call = api.proxy.eth_call("0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413","getBuyPrice",""); eth_call.then(function(data1){ console.log(data1); }).catch((err) => { console.log(JSON.stringify(err.message)); })