MAINNET· live since 2020BLOCK #32,732,036FINALITY 8.00sOPS / BLOCK 0VALIDATORS 11 · 5 ORGSTOTAL XBN 369B XBNCIRCULATING 74.10B XBNHFBA CONSENSUS · 3–5s FINALITYMAINNET· live since 2020BLOCK #32,732,036FINALITY 8.00sOPS / BLOCK 0VALIDATORS 11 · 5 ORGSTOTAL XBN 369B XBNCIRCULATING 74.10B XBNHFBA CONSENSUS · 3–5s FINALITY
Bantu
Build · Learning Center

Start learning how to build today.

Pick your starting point. Whether you've never run a node before or you're integrating a banking system, there's a track for you. Every guide ends with a working transaction or a usable artifact.

Pick a track.

Hello, Bantu — in your language of choice.

JavaScriptlatest ledger
import { Expansion, Keypair } from "@bantu/sdk";
const server = new Expansion("https://expansion.bantu.network");
const latest = await server.ledgers().order("desc").limit(1).call();
console.log(latest.records[0].sequence);
Pythonlatest ledger
from bantu_sdk import Server
server = Server("https://expansion.bantu.network")
latest = server.ledgers().order("desc").limit(1).call()
print(latest["_embedded"]["records"][0]["sequence"])
Golatest ledger
client := bantuclient.New("https://expansion.bantu.network")
ledgers, _ := client.Ledgers(bantuclient.LedgerRequest{
    Order: "desc", Limit: 1,
})
fmt.Println(ledgers.Embedded.Records[0].Sequence)
cURLlatest ledger
curl "https://expansion.bantu.network/ledgers?order=desc&limit=1"