Skip to main content

What is residual dust after a route?

Residual dust is a small remainder of a source or intermediate asset left after a route or zap. Refresh balances and show it in the UI when it matters.

J
Written by Javier Diaz

Residual dust is a small remainder of a source or intermediate asset left after a route, zap, or bundle. It is leftover value, not a failed transaction.

Definition

A path that swaps, deposits, or bridges may not consume every unit of an intermediate token. The user can still receive the intended tokenOut and also hold a small leftover balance.

How it works

  • After confirmation, refresh wallet balances and token metadata instead of assuming the source token is exactly zero.

  • Show remaining dust in the UI when it matters to the user.

  • A refundReceiver can be set for dust or applicable bridge refunds, depending on the request.

  • Dust is different from a failed or refunded bridge, which you track with bridge status and refund fields.

How Enso does this

The Get Started “What To Show Users” table lists remaining dust, alongside the new destination position and current APY, as something to show after confirmation from balances and token metadata. Use GET https://api.enso.build/api/v1/wallet/balances and token data to refresh the UI.

FAQ

Does dust mean the route failed?

No. Dust is a leftover balance after a completed path. A failure or refund is a different status, with its own fields.

Can I send leftover tokens to another address?

Set the documented refundReceiver (or related refund-receiver fields on a bundle) when you want a specific dust or refund destination. Confirm the behavior in the current docs for that request type.

Related articles

  • How do I get wallet balances and DeFi positions?

  • What is the difference between receiver and refundReceiver?

  • How do I withdraw from a vault and swap in one transaction?

  • What is a zap in DeFi?

  • Why is amountOut lower than I expected?

Sources

Did this answer your question?