Protocol

Payment Rails

StellarNotherc uses two Stellar operations for on-chain settlement. The choice depends on whether the source and destination assets match.

Direct Payment

Operation.payment({ destination, asset: Asset.native(), amount })

Standard XLM transfer between two accounts. No trustline is required for the native asset. Used for tool purchases (agent → marketplace collector) and session refunds (agent → user).

Path Payment (SDEX)

// Sender pays XLM, receiver gets exactly 50 units of the destination asset

Operation.pathPaymentStrictReceive({

  sendAsset: Asset.native(),

  sendMax: "520.00", // slippage cap

  destination: "GXXX...",

  destAsset: destinationAsset,

  destAmount: "50.00",

  path: [...] // from Horizon path finder

})

The receiver gets an exact amount of the destination asset. The Stellar network atomically routes the conversion through SDEX order books and liquidity pools. If the conversion cost exceeds sendMax, the transaction fails cleanly—no partial fills.

When Each Rail Is Used

RailOperationScenario
DirectpaymentTool purchases, XLM→XLM transfers, session refunds
PathpathPaymentStrictReceiveCross-asset remittance when XLM must arrive as a destination credit asset and SDEX liquidity is available

Fee Strategy

Both rails use surge-aware fee estimation. See the Fee Strategy page for details.