如何在以太坊交易中使用 useState 设置交易哈希 [英]How to set the transaction hash with useState in an Ethereum transaction