Developer hub

Start building on Aeltrix

Everything you need to integrate with the Aeltrix network.

Quickstart

// Install
npm install @aeltrix/sdk
// Connect
import { AeltrixClient } from '@aeltrix/sdk';
const client = new AeltrixClient({
network: 'testnet',
rpc: 'https://rpc.aeltrix.com'
});
// Query
const balance = await client.getBalance('0x4ab2...77a1');
console.log(balance);
// { value: "24500", credits: 18, epoch: 4821 }
// Send
const tx = await client.transfer({
to: '0xd119...89ef',
amount: '1000',
privateKey: process.env.AELTRIX_KEY
});
console.log(tx.hash); // 0x9b1f...18cc

RPC Reference

MethodEndpointDescription
GET/v1/blocks/{height}Block by height
GET/v1/blocks/latestLatest finalized block
GET/v1/tx/{hash}Transaction details + receipt
POST/v1/tx/sendSubmit signed transaction
GET/v1/address/{addr}Account balance + credits
GET/v1/address/{addr}/txsTransaction history
GET/v1/validatorsActive validator set
GET/v1/epoch/currentCurrent epoch info + credit refresh
WS/v1/subscribeReal-time block + tx event stream

SDKs

TS

TypeScript SDK

npm install @aeltrix/sdk

Rs

Rust SDK

cargo add aeltrix-sdk

Py

Python SDK

pip install aeltrix

CLI

Node CLI

aeltrix-cli quickstart

API status

Testnet · Estimated

RPC STATUS

PENDING

CURRENT BLOCK

800,571

AVG RESPONSE

<50ms

API VERSION

v0.1.0-alpha

Resources

Protocol documentationhttps://aeltrix.com/docs
Testnet faucetcoming soon