Skip to main content
GET
/
v2
/
accounts
/
{account_id}
/
publickey
cURL
curl --request GET \
  --url https://tonapi.io/v2/accounts/{account_id}/publickey
{
  "public_key": "NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3..."
}

Path Parameters

account_id
string<address>
required

account ID

Example:

"0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"

Response

account's public key

public_key
string
required
Example:

"NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3..."