GET
/
accounts
/
{address}
curl --request GET \
  --url https://aptos-mainnet.s.chainbase.online/{api-key}/v1/accounts/{address}
{
  "sequence_number": "32425224034",
  "authentication_key": "0xc739507214d0e1bf9795485299d709e00024e92f7c0d055a4c2c39717882bdfd"
}

Path Parameters

address
string
required

Address of account with or without a 0x prefix

Example:

"0xc739507214d0e1bf9795485299d709e00024e92f7c0d055a4c2c39717882bdfd"

Query Parameters

ledger_version
string

Ledger version to get state of account

If not provided, it will be the latest version

Example:

"32425224034"

Response

200
application/json

Account data

A simplified version of the onchain Account resource

sequence_number
string
required

A string containing a 64-bit unsigned integer.

We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.

Example:

"32425224034"

authentication_key
string
required

All bytes (Vec<u8>) data is represented as hex-encoded string prefixed with 0x and fulfilled with two hex digits per byte.

Unlike the Address type, HexEncodedBytes will not trim any zeros.

Example:

"0xc739507214d0e1bf9795485299d709e00024e92f7c0d055a4c2c39717882bdfd"