You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see how to retrieve the values from the Managed Data section of an Account object.
After executing the SetData(key_string, value_bytes) operation on an Account (which succeeds) I expected to see something like Account.GetData(key_string) or Account.ManagedData[key_string] on the object that comes back from Client.LoadAccount(account_id).
I also looked at the JavaScript SDK to see if I could figure out the expected pattern but data retrieval Operations seems to be missing from there as well (but perhaps the JSON response object loads more natively in that SDK).
The text was updated successfully, but these errors were encountered:
I don't see how to retrieve the values from the Managed Data section of an Account object.
After executing the
SetData(key_string, value_bytes)
operation on an Account (which succeeds) I expected to see something likeAccount.GetData(key_string)
orAccount.ManagedData[key_string]
on the object that comes back fromClient.LoadAccount(account_id)
.The Horizon server includes the values in the
data
field on the Account's JSON response object.You can see an example on Account
GCORTO4MOGRSOZOVYELTL5SDTZCGLE2YA7YDYV7X5EMDTHARSMEAOZJQ
in the Test Network here:https://www.stellar.org/laboratory/#explorer?resource=accounts&endpoint=single&values=eyJhY2NvdW50X2lkIjoiR0NPUlRPNE1PR1JTT1pPVllFTFRMNVNEVFpDR0xFMllBN1lEWVY3WDVFTURUSEFSU01FQU9aSlEifQ%3D%3D&network=test
Here's a trimmed version of the full response:
I also looked at the JavaScript SDK to see if I could figure out the expected pattern but data retrieval Operations seems to be missing from there as well (but perhaps the JSON response object loads more natively in that SDK).
The text was updated successfully, but these errors were encountered: