2026-10-10

Ethereum swap fees, sweep gas and the 0.103.0 release candidate

TLDR

0 PRs merged, 0 commits across all branches, 4 PRs opened in 2 repos (the Nuri app: 3, the swap server: 1), 0 deployments, +0 / -0 lines of code. 0 features, the day was fixes and a release candidate.

Ethereum swaps in Nuri were slow because every transaction went out with no tip and the sweep topped up gas it didn’t need. I opened fixes for both in the app and the swap server, and opened the 0.103.0 release candidate. None of it is merged or live yet.

Ethereum transactions with a zero tip

On 2026-10-09 an Ethereum sweep took about 5 minutes for one swap. The approval and the swap each waited around 1.5 minutes to get into a block.

The reason is the tip, the extra fee that makes block builders pick up your transaction. We used the fee the Ethereum node suggests, and when the base fee is low that suggestion is a tip of 0. A transaction with no tip just waits until some builder includes it for free. This hit everything on Ethereum: the gas top-ups the server sends to the wallet, and the approval and swap the app signs.

So I opened an issue and a PR in both the app and the swap server. On Ethereum the tip is now the median tip of the last 10 blocks, never lower than what the node suggests, and the max fee is twice the base fee plus that tip. Other chains keep the old estimate, and if reading the recent blocks fails it falls back to the old estimate too.

In the app this covers approvals, swaps and the token transfer in the sweep. A new test checks that Ethereum gets the tip and Base stays untouched, and it fails on the current code. All 560 swap tests, type check and lint pass. Not merged yet.

Sweep gas by estimate

The second cause of the slow sweep was on the swap server. Before the order, it topped the wallet up to a fixed minimum of 0.002 ETH. That wallet held 0.001994 ETH and the swap only cost 0.00007 ETH, so it had more than enough. The server still sent 0.0000058 ETH, waited for that to confirm (with a zero tip, so slowly), and then fetched a new quote.

Now the sweep tops up only what the quoted swap actually needs according to its gas estimate. If the wallet already covers it, there is no top-up and no new quote. The approval step and the actions after the order also go by estimate. The 0.002 ETH minimum only applies when a step can’t be estimated, and every other place that uses the top-up keeps working the way it did.

The server checks cover the tip from recent blocks, the top-up carrying the tip, the wallet from 2026-10-09 getting no top-up, an empty wallet getting the estimate, and a step without an estimate getting the minimum. The sweep check that asserts no minimum top-up and no new quote fails on the current server code. All 27 checks pass. This PR is also not merged yet.

Release candidate 0.103.0

I opened the release candidate for app version 0.103.0 and synced in the latest sweep fix: the sweep now approves first before it commits, and refunds that start when you open the app look up the right swap.

The other fixes in it: eSIM claims stop retrying when the provider says the eSIM doesn’t exist, card payment approvals show a confirmation, a failed Bitcoin send no longer locks things up, the receive QR for Ethereum style networks shows the actual address and the scanner stays still on errors, and arrived Bitcoin payments show as arrived with contacts shown by name and avatar.

There are smaller changes too. The address book no longer lets you copy keys, desktop access goes through a passkey approval, and the BIC is required and prefilled from the IBAN. On the pay page the keypad fits short screens and Lightning is its own From option. Opening Bank transfer in the web app no longer shows the Paste/Speak pill.

The release candidate is in testing and not live yet.