So my code is:
envelope = Te(tx=tx, opts={"network_id": "TESTNET"})
envelope.sign(receiving_account)
xdr = envelope.xdr()
response = horizon.submit(xdr) # TO DO: Have to check if done well
print('CHANGE TRUST RESPONSE')
print(response['result_xdr'])
print('==========================================')
Unlike Asset
and Transaction
I find no way to decode the XDR of TransactionResult
. On submitting the transaction I want to know whether it is successful or not.
Thanks