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?

2 Answers 2

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.

2
  • 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
    Commented Aug 28, 2018 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
    Commented Aug 29, 2018 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

1
  • 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
    Commented Aug 28, 2018 at 5:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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