This forum is a read-only archive. Posting, replying and signing in are disabled.

Package transactions for signing

Obi

hello @fabrice please how do I convert a transaction object to a transferable format so I can sign it on another machine
e.g
convert this in python to a dict or hash:
PaymentTxn(sender_addr, self.params, receiver_addr, amount, note=note)

then build the transaction from the hash or JSON in javascript

edit:

I remember seeing PaymentTxn.dictify(), i wonder if this works

edited
Obi

thanks @fabrice

I’ve seen what I was looking for, I went to the base Transaction object and found the dictify method