Accounts — Move REST API
Overview
Query Move accounts, including basic info, resources, and modules. Movement uses Aptos-compatible endpoints at /v1
.
Endpoint
GET /v1/accounts/{address}
Movement-Specific Notes
- Use
0x
-prefixed addresses. - Move balances are tracked as resources, not EVM balances.
Request
Parameters
Name | Type | Location | Required | Description |
---|---|---|---|---|
address | string | path | Yes | Hex account address |
Response
Success Response (200)
{
"sequence_number": "string",
"authentication_key": "string",
"address": "0x..."
}
Code Examples
TypeScript (Aptos SDK)
import { Aptos, AptosConfig, Network } from '@aptos-labs/ts-sdk';
const config = new AptosConfig({ network: Network.CUSTOM, fullnode: 'https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1' });
const aptos = new Aptos(config);
const account = await aptos.getAccountInfo({ accountAddress: '0x1' });
console.log(account);
Python
from aptos_sdk.client import RestClient
client = RestClient('https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1')
info = client.account('0x1')
print(info)
cURL
curl -X GET https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1 \
-H "Accept: application/json"
EVM Equivalent
N/A. EVM account info uses different model (e.g., eth_getBalance
, eth_getCode
).