Author

Topic: [Electrum wallet] Amount too small to be received onchain (Read 152 times)

legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Amount too small to be received onchain
What is answer?
Explain better what you mean exactly.
OP is talking about this placeholder text in the receive tab's URI/Address view if the amount is lower than the "dust_threshold":


dust_threshold is defined here: github.com/spesmilo/electrum/blob/76f5d6ceb07b49e403f63488832fd6cb397ee91b/electrum/bitcoin.py#L341-L346
(shows the formula provided by hosseinimr93)

Additionally, since the relay fee can be set higher by the server, it can go higher depending on the relay fee settings of the selected server.
legendary
Activity: 2212
Merit: 7064
Amount too small to be received onchain
What is answer?
Explain better what you mean exactly.
You can always open a channel and accept Lightning Network payments in Electrum, that is better when used for sending sats and smaller amount of coins.
If that is complicated with Electrum wallet than you can use another self-custodial wallet that is specialized for Lightning Network, like Zeus wallet for example.
Note that you will eventually have to pay transaction fees for moving sats back to on-chain, unless you spend then directly.
legendary
Activity: 2380
Merit: 5213
Dust limit for legacy address is 546 sat which is 0.00000546 BTC. Which is 0.00546 mBTC
Dust limit for segment version 0 is 294 sat which is 0.000000294 BTC. Which is 0.00294 mBTC.
Dust limit for segwit version 1 (pay-to-taproot) is 330 sat which is 0.0000033 BTC. Which is 0.0033 mBTC
You are right about the dust limits, but electrum displays the message saying "Amount too small to be received onchain", if the requested amount (in sat) is smaller than 182 * 3 * relayfee.
Since the relay fee is 1 sat/vbyte, electrum displays that message if the requested amount is less than 546 satoshi, regardless of whether the receiving address is legacy or segwit.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
Dust limit for legacy address is 546 sat which is 0.00000546 BTC. Which is 0.00546 mBTC
Dust limit for segment version 0 is 294 sat which is 0.000000294 BTC. Which is 0.00294 mBTC.
Dust limit for segwit version 1 (pay-to-taproot) is 330 sat which is 0.0000033 BTC. Which is 0.0033 mBTC

How much are you trying to receive? (You might mixing things up between mBTC and BTC?) From the error, I'm guessing you're trying to create a request/invoice? You don't need to do that, you can just go to the addresses tab, and give the address to the person who's going to send you the money. You should be fine.
I guess this could be the reason.



Legacy addresses starts from 1
Segwit version 0 addresses starts from bc1q
Segwit version 1 addresses bc1p
legendary
Activity: 2604
Merit: 2353
I disagree, Electrum can't know in advance which amount the address is going to receive. How it could foresee that? So when you generate/derive an address from a seed, the wallet will never prevent you from getting it or from using it just because the amount you would be likely to receive will be too small. Then it can only happen with an invoice or an URI for an onchain payment request(meaning not lightning network invoices). But if you create your invoice or your URI for payment by yourself, it can't be a dust attack because it's a call from yourself.
staff
Activity: 3500
Merit: 6152
How much are you trying to receive? (You might mixing things up between mBTC and BTC?) From the error, I'm guessing you're trying to create a request/invoice? You don't need to do that, you can just go to the addresses tab, and give the address to the person who's going to send you the money. You should be fine.
newbie
Activity: 1
Merit: 2
Amount too small to be received onchain
What is answer?
Jump to: