Appearance
Aptos
| Endpoint | https://rpc.lab.au.ro/aptos/v1 |
| Protocol | Aptos fullnode REST API v1 |
| Network | mainnet (chain_id 1) |
Aptos is REST: the fullnode API lives under /aptos/v1/....
Supported endpoints
Live-verified: GET /v1 (ledger info), GET /v1/accounts/{addr}, GET /v1/transactions, GET /v1/blocks/by_height/{h}, GET /v1/estimate_gas_price — plus the rest of the standard fullnode surface they represent (/v1/view, /v1/transactions POST for submission).
Quick test
bash
curl https://rpc.lab.au.ro/aptos/v1 -H "apikey: $YOUR_API_KEY"
# {"chain_id":1,"epoch":"16148","ledger_version":"5699833748",...}SDK integration — @aptos-labs/ts-sdk
js
import { Aptos, AptosConfig, Network } from '@aptos-labs/ts-sdk'
const aptos = new Aptos(new AptosConfig({
network: Network.MAINNET,
fullnode: 'https://rpc.lab.au.ro/aptos/v1',
clientConfig: { HEADERS: { apikey: process.env.YOUR_API_KEY } }
}))
const info = await aptos.getLedgerInfo()
console.log('version:', info.ledger_version) // 5700090919Recipes
Account & APT balance
js
const account = await aptos.getAccountInfo({ accountAddress: '0x1' })
const apt = await aptos.getAccountAPTAmount({ accountAddress: '0x...' })Gas estimation
js
const gas = await aptos.getGasPriceEstimation()
console.log(gas.gas_estimate)Submit a transaction
Build + sign locally with the SDK's aptos.transaction.build.simple / aptos.transaction.sign, submit with aptos.transaction.submit.simple — all of which ride the same /v1 endpoint.
Limitations
- The indexer GraphQL API (
indexer.mainnet.aptoslabs.com-style) is a separate Aptos service and is not part of the fullnode API we expose — token-ownership queries that need it won't work; ledger/account/tx endpoints all do. - History depth limited by fullnode pruning (
oldest_ledger_versioninGET /v1).