Last updated 2 months ago
本接口用於接收用戶提交的隱私交易,方法名為eth_sendPrivateTransaction
不限
{ "jsonrpc": "2.0", "id": "1", "method": "eth_sendPrivateTransaction", "params": ["0x…9c"], // 經過簽名的raw transaction }
{ "jsonrpc":"2.0", "id":"1", "result":"0xa06b……f7e8ec" // 交易哈希 }
{ "jsonrpc":"2.0", "id":"1", "error":{ "code":-32000, "message":"nonce too low: next nonce 57, tx nonce 56" } }
transaction
是
String
"0x…4b"
經過簽名的raw transaction