0

I'm trying to ChangeTrust operation using stellar api, that's my codes https://pastebin.com/TSN7Uu1A and i get this error

Traceback (most recent call last):
  File "C:\Users\i9\Desktop\tokend.py", line 82, in <module>
    __ChangeTrust(new_asset, DISTRIBUTOR_ADDRESS, DISTRIBUTOR_SEED, horizon)
  File "C:\Users\i9\Desktop\tokend.py", line 48, in __ChangeTrust
    tx = Transaction(
TypeError: __init__() got an unexpected keyword argument 'ope'

Can someone give me an example how should i build this ChangeTrust ?

1
  • Please paste the relevant code snippet here in your question. Your pastebin has expired. Jun 22 '21 at 23:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.