3

I was wondering how to add more fields on transactions like the memo field.Is it possible to do so.. How can I do that?

6

If you need to store some information attached to any account you can use ManageData operation to store key/value pairs, more here https://www.stellar.org/developers/guides/concepts/list-of-operations.html#manage-data

Please note that ManageData operation will store information for the account, which can be edited/deleted, and not attached to a particular transaction. Where as Memo field is attached unique to every transaction.

| improve this answer | |
  • I don't want this.. Actually I want to add field same as memo field which can used for attaching data at the time of transaction... – pri Aug 28 '18 at 5:14
  • Use the memo field to link to some entry in the manage data, or something like an IPFS hash (ipfs.io). – Paul Aug 29 '18 at 15:31
1

There is actually a memo field in stellar that you can add in a transaction, check out this link

https://www.stellar.org/developers/guides/concepts/transactions.html

| improve this answer | |
  • Yeah I know that there is a memo field in stellar which can be added during transaction... But I want to add more fields like memo field... – pri Aug 28 '18 at 5:11

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.