GET
/
accounts
/
{address}
Get account
curl --request GET \
  --url https://api.us1.shinami.com/aptos/node/v1/accounts/{address} \
  --header 'Authorization: Bearer <token>'
{
  "sequence_number": "32425224034",
  "authentication_key": 6.195948399647823e+76
}

Authorizations

Authorization
string
header
required

Authorization: Bearer SHINAMI_ACCESS_KEY.

Path Parameters

address
string<hex>
required

Address of account with or without a 0x prefix

Example:

6.195948399647823e+76

Query Parameters

ledger_version
string<uint64>

Ledger version to get state of account

If not provided, it will be the latest version

Example:

"32425224034"

Response

Account data

A simplified version of the onchain Account resource

sequence_number
string<uint64>
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<hex>
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:

6.195948399647823e+76