I'm trying to set up a managedata operation. I added the following to my transaction:
However, it doesn't go through. Apparently the correct syntax is data_value='Union[Keypair, str]'. So I tried this:
.append_manage_data_op(data_name="Hello", data_value='Union[keypair, "World"]')
But it still doesn't work. Note in the above code 'keypair' is a variable representing 'Keypair.from_secret(my_secret).
What is Union and do I need to replace it with something else to make the transaction go through?