1.2.0
OAS 3.0.0
Aptos Node API
The Aptos Node API is a RESTful API for client applications to interact with the Aptos blockchain.
Base URL
Client Libraries
Shell
Ruby
Node.js
PHP
Python
More
cURL Shell
Accounts​
Access to accounts, resources, and modules
Get account​
Return the authentication key and the sequence number for an account address. Optionally, a ledger version can be specified. If the ledger version is not specified in the request, the latest ledger version is used.
Path Parameters
- addressrequiredstring hex
Address of account with or without a
0x
prefixExample0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
Query Parameters
- ledger_versionstring uint64
Ledger version to get state of account
If not provided, it will be the latest version
Example32425224034
Responses
- 200application/json
- 400application/json
- 403application/json
- 404application/json
- 410application/json
- 500application/json
- 503application/json
GET/accounts/{address}
Shell cURL
curl --request GET \
--url https://api.mainnet.aptoslabs.com/v1/accounts/0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
{
"sequence_number": "32425224034",
"authentication_key": "0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 "
}
Models
Last updated on