BluxBlux

Core

Low-level Stellar primitives available across all Blux integrations.

The core module provides direct access to Stellar network data and utilities — use it to read accounts, balances, transactions, offers, and more without managing Horizon connections manually.

import { core } from "@bluxcc/core";

Get Account

Fetch details of a Stellar account using the Blux core SDK.

Get Accounts

Fetch a paginated list of Stellar accounts using the Blux core SDK.

Get Assets

Fetch a paginated list of Stellar assets using the Blux core SDK.

Get Balances

Fetch the balances of a Stellar account using the Blux core SDK.

Get Claimable Balances

Fetch a paginated list of claimable balances using the Blux core SDK.

Get Effects

Fetch a paginated list of Stellar effects using the Blux core SDK.

Get Ledgers

Fetch a paginated list of Stellar ledgers using the Blux core SDK.

Get Liquidity Pools

Fetch a paginated list of Stellar liquidity pools using the Blux core SDK.

Get Network

Retrieve the currently active network in your Blux app.

Get Offers

Fetch a paginated list of Stellar offers using the Blux core SDK.

Get Operations

Fetch a paginated list of Stellar operations using the Blux core SDK.

Get Orderbook

Fetch orderbook data using the Blux core SDK.

Get Payments

Fetch a paginated list of Stellar payments using the Blux core SDK.

Get SAC Address

Derive the Stellar Asset Contract (SAC) id of a classic asset — locally, with no network call.

Get Strict Receive Paths

Fetch strict receive payment paths using the Blux core SDK.

Get Strict Send Paths

Fetch strict send payment paths using the Blux core SDK.

Get Token Metadata

Read a SEP-41 token / Stellar Asset Contract's decimals, name, symbol, and owner by simulation — no account or fees.

Get Trade Aggregation

Fetch trade aggregation data using the Blux core SDK.

Get Trades

Fetch a paginated list of Stellar trades using the Blux core SDK.

Get Transactions

Fetch a paginated list of Stellar transactions using the Blux core SDK.

Networks

Access the list of available Stellar networks from the Blux core SDK.

Read Contracts

Read state from Soroban smart contracts by simulating contract calls.

Swap

Trade one asset for another through the Stellar DEX and liquidity pools — Blux finds the best path and submits it for you.

Switch Network

Switch the active network in your Blux app at runtime.

Transfer

Send XLM, issued assets, or SEP-41 tokens to any recipient — Blux picks the right operation for you.

Write Contract

Invoke a Soroban smart contract method that changes on-chain state.