Skip to content

Wallet summary ​

http
GET /api/wallet

User

Reads the user's balance live from Horizon and combines it with committed sell orders.

Response 200 ​

json
{
  "publicKey": "GBZ…Q7X",
  "network": "testnet",
  "explorerUrl": "https://stellar.expert/explorer/testnet/account/GBZ…Q7X",
  "funded": true,
  "balance": "10000",
  "available": "9998.99",
  "minimumBalance": "1",
  "committedToOrders": "102",
  "withdrawable": "9896.99"
}
FieldMeaning
fundedWhether the Stellar account exists
balanceNative XLM balance
minimumBalanceStellar reserve for this account
availablebalance − minimumBalance − selling liabilities − 0.01
committedToOrdersΣ (amount + 2 XLM) over active, unexpired sell orders
withdrawablemax(0, available − committedToOrders)

Errors ​

StatusCode
503HORIZON_UNAVAILABLE

Nexlm is a peer-to-peer facilitator and never holds customer Naira.