Skip to main content

/v1/accounts/:address:

info

Retrieves high-level information about an account such as its sequence number and authentication key

Returns a 404 if the account doesn't exist

Parameters

  • address REQUIRED: (string) - Address of account with or without a 0x prefix
  • ledger_version OPTIONAL: (string)- Ledger version to get the state of the account

Returns

  • sequence_number - A string containing a 64-bit unsigned integer.
  • authentication_key - All bytes (Vec) data is represented as hex-encoded string prefixed with 0x and fulfilled with two hex digits per byte.

Example

Request

curl --request GET \
--url https://aptos-mainnet.blastapi.io/<project-id>/v1/accounts/0x1d8727df513fa2a8785d0834e40b34223daff1affc079574082baadb74b66ee4 \
--header 'Content-Type: application/json'

Result

{
"sequence_number": "140718",
"authentication_key": "0x1d8727df513fa2a8785d0834e40b34223daff1affc079574082baadb74b66ee4"
}