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 ?

New contributor
FLR is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

FLR is a new contributor. Be nice, and check out our Code of Conduct.

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.