Retrieve an Account's Data

This endpoint represents a single data for a given account.

This method will use 20 Compute Units.


Reference: Here

Retrieve an Account's Data

get

This endpoint represents a single data for a given account.

Path parameters
account_idstringRequired

This account’s public key encoded in a base32 string representation.

Example: GDMQQNJM4UL7QIA66P7R2PZHMQINWZBM77BEBMHLFXD5JEUAHGJ7R4JZ
keystringRequired

The key name for this data.

Example: config.memo_required
Responses
200
Success
application/json
get
GET /v1/<YOUR_API_KEY_HERE>/accounts/{account_id}/data/{key} HTTP/1.1
Host: mainnet.stellar.validationcloud.io
Accept: */*
200

Success

{
  "value": "MQ=="
}

Last updated

Was this helpful?