account Data
Requests a specific data entry for an account.
This endpoint retrieves the value of a specific data entry (key-value pair) stored on an account. The data is returned base64-encoded.
Return
AccountDataResponse containing the base64-encoded value
Parameters
account Id
The account ID to fetch data from
key
The data entry key name
See also
Throws
All the exceptions below are subclasses of NetworkException
If the account or key doesn't exist (404) or request is malformed (4xx)
If the request fails due to a bad response from the server (5xx)
If the request fails due to too many requests sent to the server
When Horizon returns a Timeout or connection timeout occurred
If the server returns an unknown status code
When the request cannot be executed due to cancellation or connectivity problems