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