New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

Method /accounts/{account_id}/data/{key} Stellar (XLM)
connect with REST protocol

/accounts/{account_id}/data/{key}

info-circle-fill

Method not allowed

info-circle-fill

This endpoint represents a single data for a given account.

Parameters

account_id - path

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

key - path

The key name for this data.

Request

curl --location --request GET 'https://xlm.getblock.io/mainnet/accounts/GCIKZGQUUGAYKW5VR234FHNLRNGQIDDNCNPYTIUT7EGWKYKDAA6GKHCZ/data/datakey' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
banner icon

Start Building with GetBlock RPCs for Free