8

The manage data operation allows binary values to be associated with an account. The documentation doesn't mention any upper limit to this data, but there surely must be. What is the limit? Or does the extra reserve needed to store data scale with the size of the data?

1 Answer 1

13

It can contain up to 64 bytes.

When it comes to data structures in Stellar you can always check XDR definition files in stellar-core repository. For example DataValue definition looks like this:

typedef opaque DataValue<64>; 

You can add as many data entries to the account as you want but the account needs to hold a minimum balance required by the network. Currently you need to hold additional 0.5 XLM for each data entry.

Your Answer

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

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