I’m sent the transaction using eth_sendRawTransaction. All done and success, but return this result:
{"success":1,"txID":null,"wallet_type":"binance_coin","wallet_from":"0xWALLET","wallet_to":"0xWALLET","amount":0.0030000000000000001,"network_fee":2.0999999999999999e-5,"time":1694116480}
How get correct txID after eth_sendRawTransaction? Or how I can generate correct txID from transaction data? Because I’m tried generate RLP string and txHash for sign and tried to double hash sha256 with sha3 and not. But always they does not match with real txID.
SOLVED! TxID calculate algorithm: keccak(hex2bin(final_serialized_data), 256, 256, 0x01, false);