Hi I am running Python web3.py(Not web3.js) to run this:
txn = ctrtInstance.functions.setzString(zString).buildTransaction()
print('\ntxn: '+ str(txn))
txn['nonce'] = 3643
txn['chainId'] = 3
print('\ntxn: '+ str(txn))
#So the txn looks this: {'value': 0, 'gas': 33504, 'gasPrice': 1000000000, 'chainId': 3, 'to': '0x5227D720d8eFDcB259c6c79C74f3Cfe04DC4D4fa', 'data': '0xb32e420700000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000007476f204d616e2100000000000000000000000000000000000000000000000000', 'nonce': 3643}
signed = w3.eth.account.signTransaction(txn, privateKey)
txn_hash = w3.eth.sendRawTransaction(signed.rawTransaction)
Then txn_hash looks very strange: b"\x83\xd4\t'\x9e\xec\xb7\xc0\xf5\xdd\xf9\xb9\x0fD\xdc\x81\xfb\x8d\x0e\xf7\xb5\xbc2e~\x81R\x8c]Ek|"
What is it? How to decode this Transaction hash?
Why does it look different from other transaction hash I've seen online?
How can I decode it so I can enter it into EtherScan to check such transaction? Thank you
Reference: http://web3py.readthedocs.io/en/latest/web3.eth.html#web3.eth.Eth.sendRawTransaction