PollarPollarDemo

Products

WalletTransactionsSessionsDistribution

Integrations

KYCSoonRampNewSwapNew

Wallet Adapters

Stellar Wallets KitPrivyNewAcceslySoon

Built with Pollar

Trustless WorkNiriumNewLumenWipeNew
WalletTransactionsSessionsDistributionKYCSoonRampNewSwapNewStellar Wallets KitPrivyNewAcceslySoonTrustless WorkNiriumNewLumenWipeNew
OverviewLumenWipe

LumenWipe

Plan and build the transactions that close a Stellar account and merge its remaining XLM into a destination. The API returns an ordered plan and the unsigned XDR for each step — you sign locally and submit yourself.

This tab is a live demo of the public LumenWipe API. All credit to the LumenWipe team — see lumenwipe.com for the original service and documentation.

Source account (G…). It must exist on the selected network.

Where the XLM goes — a wallet or exchange address (G…).

Required by memo-enforcing exchanges.

Read-only & non-custodial

The API is read-only. Never send a secret key (S…) — only public keys (G…).

Responses contain unsigned transaction envelopes. Decode and verify every XDR before signing it in your own environment.

curl— POST /plan
curl -X POST https://lumenwipe.pollar.dev/api/v1/testnet/plan \
  -H 'Content-Type: application/json' \
  -d '{
  "account": "GSOURCE…",
  "destination": "GDEST…"
}'
curl— POST /plan/step
curl -X POST https://lumenwipe.pollar.dev/api/v1/testnet/plan/step \
  -H 'Content-Type: application/json' \
  -d '{
  "account": "GSOURCE…",
  "destination": "GDEST…",
  "stepIndex": 0
}'

The wind-down loop

  1. 1POST /plan → get the ordered steps and any blockers.
  2. 2If executable is false, stop and surface the blockers.
  3. 3If steps is empty, you're done — the account is already closed.
  4. 4Take steps[0]; POST /plan/step with its index → the unsigned XDR.
  5. 5Decode + verify the XDR, sign locally, submit it to the network.
  6. 6If the step was MERGE you're done; otherwise re-read the plan and repeat.

Step types

NORMALIZE_SIGNERS
— Remove extra signers and reset thresholds to single-key.
REMOVE_DATA_ENTRIES
— Delete on-account data entries (batched, 100 ops/tx).
CANCEL_OFFERS
— Cancel open DEX offers (batched).
CLAIM_BALANCES
— Claim claimable balances.
CONVERT_ASSETS
— Swap a non-XLM trustline balance to XLM (one step per asset).
REMOVE_TRUSTLINES
— Remove trustlines to free their base reserves (batched).
MERGE
— AccountMerge: send the XLM to the destination and close the account.

Powered by LumenWipe.