eth_sendTransaction

不提供 eth_sendTransaction 的 JSON-RPC 方法,因为 SolarPath 不存储用户的私钥,从而无法签署交易。 请改用 eth_sendRawTransaction

在开发中,我们使用 web3.eth.sendTransaction,此函数使用私钥在本地签署交易,并通过 web3.eth.sendSignedTransaction 发送交易,它是 eth_sendRawTransaction 的包装器。

最后更新于