Author

Topic: Electrum transaction error (Read 549 times)

legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
April 21, 2019, 11:03:51 PM
#28
BTW if you intend to send someone bitcoin now you don't necessarily have to send to your own address first. You can send to the recipient's address in 2-3 smaller transactions instead of one large one.
Yes, if he really need to send it right now.
Though the fees will be extremely huge for any transaction amount specially if it's a bit urgent (@10-20sat/byte).
But it's better to consolidate the inputs now (1sat/byte is possible) before attempting to send anything to save fees.

So, if he's not in a hurry, he should consolidate first.
legendary
Activity: 3472
Merit: 10611
April 21, 2019, 10:49:37 PM
#27
I had 2280 transactions,  what should I do to reduce the size of transactions???

you can not reduce the size of a transaction now. it is too late for that. you already have a ton of "transaction outputs" which you have to spend each of them. and when you do that, each of them add extra bytes to your final transaction size.
what people have been explaining so far is a workaround to "split" the already big result into multiple chunks so that you can broadcast it since very big transactions are rejected by the network as nonstandard. so go back and read what they've suggested and do them!
HCP
legendary
Activity: 2086
Merit: 4363
April 21, 2019, 03:09:33 PM
#26
You'll need to use "coin control"... Use the "view -> show coins" menu option... Then click on the "coins" tab.

Then select a couple of hundred of the small value "coins" displayed, right click and select spend.

This will allow you to then consolidate all the selected coins into a single output of greater value. Repeat for as many times (selecting hundreds of small value coins) as necessary until you only have a couple of "large value" coins left.

That should enable you to then conduct one transaction that contains all your balance.

Note that EVERY transaction you create will require a fee... And as fees are based on the amount of data being included in a transaction, the consolidation transactions could get quite costly if you have a lot of inputs that are less than 1000 sats (0.00001000 btc).

I suggest you read LoyceV's very good post on output consolidation here: https://bitcointalksearch.org/topic/aug-2022-mempool-empty-use-this-opportunity-to-consolidate-your-small-inputs-2848987
newbie
Activity: 5
Merit: 1
April 21, 2019, 02:08:41 PM
#25
I had 2280 transactions,  what should I do to reduce the size of transactions???
legendary
Activity: 3710
Merit: 1586
April 21, 2019, 12:58:25 PM
#24
Inputs with small balance have total size 247 844 bytes

Did you try splitting the transaction into 2 or 3 as per nc50lc's post?

BTW if you intend to send someone bitcoin now you don't necessarily have to send to your own address first. You can send to the recipient's address in 2-3 smaller transactions instead of one large one.
HCP
legendary
Activity: 2086
Merit: 4363
April 21, 2019, 07:36:38 AM
#23
That's a LOT of inputs being used! Shocked Shocked Shocked  and if you're saying they add up to "small balance" then you have a LOT of dust inputs.

How many inputs is it actually using for that transaction? It should display the number in ()'s on the preview window next to where it says "Inputs"...

My rough calculations would say that number is going to be in the 1450 to 1675 range.

Were you collecting tiny faucet payouts or something? Huh
newbie
Activity: 5
Merit: 1
April 21, 2019, 07:08:50 AM
#22
Inputs with small balance have total size 247 844 bytes
legendary
Activity: 1624
Merit: 2481
April 18, 2019, 01:37:57 AM
#21
i dont know what size is for the transaction that was rejected

You don't know how much inputs you are consuming / outputs you are creating  Huh

Look at the preview tab (before sending the transaction).

We need to know how large it is (either in Byte or in amount of inputs/outputs).
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
April 17, 2019, 09:03:46 PM
#20
i dont know what size is for the transaction that was rejected
I have looked inputs\outputs for my previous transaction and average size is about 100-200 bytes
Bob already mentioned it, it's 100kb or 100,000 bytes, it's displayed in the transaction's info if you click "Preview" in the "Send" Tab.

It seems like Electrum is trying to spend from too many inputs, just try to pick a few inputs with enough balance (about 30-60 inputs, refer on the steps below for the instructions on how to "coin control") from "coins" tab (View->Show Coins) and send it to the destination address.

Looks like you have a lot of small inputs in your wallet.
Try to consolidate your small inputs first:
  • Open Coins tab.
  • Select multiple inputs with small balance by holding "Shift" and Left click to highlight.
  • Right click to the highlighted inputs and Select "Spend", you'll be transferred to the "Send" tab.
  • From there, send to your own address and click "Max".... then, click "Preview", make sure the size is lesser than 100,000 bytes (100kb) in order to be valid.
  • This method requires confirmation too, it will take a while for you to spend the output specially if you set a low fee.
newbie
Activity: 5
Merit: 1
April 17, 2019, 04:18:23 PM
#19
i dont know what size is for the transaction that was rejected
I have looked inputs\outputs for my previous transaction and average size is about 100-200 bytes
full member
Activity: 340
Merit: 164
April 17, 2019, 04:12:15 PM
#18
Guys please tell step by step what should i do??

You don't reply to the questions....
newbie
Activity: 5
Merit: 1
April 17, 2019, 03:57:25 PM
#17
Guys please tell step by step what should i do??
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
April 17, 2019, 07:25:50 AM
#16
It is not about the fees or changing server, I have tried to change it all but nothing happens. I use seed and installed electrum on another device and finally was able to do 2 transactions but now the same thing I just can't send btc.
If you're really creating a 100 kB transaction, you're going to want to read Fees are low, use this opportunity to Consolidate your small inputs!
It explains how to select which inputs to use, and doing this correctly can save you a lot in fees.
full member
Activity: 340
Merit: 164
April 17, 2019, 06:57:31 AM
#15
The transaction was rejected because it is too large (in bytes)

How large is your transaction ? How many inputs / outputs ?
The maximum size a transaction can have to be considered standard (non-standard tx's are going to be rejected by nodes) is 100kB. [1]



[1] https://github.com/bitcoin/bitcoin/blob/3c098a8aa0780009c11b66b1a5d488a928629ebf/src/policy/policy.h#L24

Indeed i think he is sending with alot of inputs (exchange addresses) making the script to large.
legendary
Activity: 1624
Merit: 2481
April 17, 2019, 06:42:40 AM
#14
The transaction was rejected because it is too large (in bytes)

How large is your transaction ? How many inputs / outputs ?
The maximum size a transaction can have to be considered standard (non-standard tx's are going to be rejected by nodes) is 100kB. [1]



[1] https://github.com/bitcoin/bitcoin/blob/3c098a8aa0780009c11b66b1a5d488a928629ebf/src/policy/policy.h#L24
newbie
Activity: 5
Merit: 1
April 17, 2019, 05:47:09 AM
#13
Hi guys, I need your help too. I have been using electrum for a year but a week ago something strange happened, when I try to send btc I have this notice

The server returned an error when broadcasting the transaction.
Consider trying to connect to a different server, or updating Electrum.
The transaction was rejected because it is too large (in bytes)
My electrum version is 3.3.4 for mac iOS

It is not about the fees or changing server, I have tried to change it all but nothing happens. I use seed and installed electrum on another device and finally was able to do 2 transactions but now the same thing I just can't send btc.

Please I need your advice what to do
I have another electrum wallet and there is no problem with it.
legendary
Activity: 3710
Merit: 1586
March 28, 2019, 09:50:48 AM
#12
An incorrect address would be caught by electrum itself and never make it to the server. The error you saw was generated by the server. The solution is to change servers and the way to do that is by right clicking on a server in the list and choosing use server. You do this on the server tab of the window that you get when you go to tools>network. Left clicking will not change servers.

To view a transaction's details right click on it on the history tab and choose to view details. Note there are no from addresses in bitcoin and you shouldn't be trying to attribute payments based on so called from addresses. Instead hand out a different address to each person you want to receive bitcoin from.
legendary
Activity: 2170
Merit: 1789
March 28, 2019, 07:57:25 AM
#11
Where in Electrum I can find the adress which sent the BTC to me?

It should show up on your transaction history. If there'a a tx incoming to your wallet you can check the details and see the sender address.

Should be bc1q8dc9vgekxf3xjrczjl4gtg2sekrxs9zxvp997h2qrdhvugunmk5sxtptwc

Is this your receiving address or the sender address? I'm double checking this as it seems knowing the sender address won't really solve your problem.

Judging from your previous post, I think you have trouble finding the address that you need to send the money to? BTC address start with 1, 3, or bc1. You can read further about this on Bitcoin docs or simply Google "Bitcoin address".
full member
Activity: 340
Merit: 164
March 28, 2019, 07:25:30 AM
#10
Should be bc1q8dc9vgekxf3xjrczjl4gtg2sekrxs9zxvp997h2qrdhvugunmk5sxtptwc

https://btc.com/bc1q8dc9vgekxf3xjrczjl4gtg2sekrxs9zxvp997h2qrdhvugunmk5sxtptwc

here you can see who sent BTC to you
newbie
Activity: 6
Merit: 1
March 28, 2019, 06:57:00 AM
#9
Should be bc1q8dc9vgekxf3xjrczjl4gtg2sekrxs9zxvp997h2qrdhvugunmk5sxtptwc
full member
Activity: 340
Merit: 164
March 28, 2019, 06:45:37 AM
#8
If you provide us the receiving address (the address you received the btc on) we can tell you the address(es) that sent bitcoins to it.
newbie
Activity: 6
Merit: 1
March 28, 2019, 05:46:42 AM
#7
BIG SORRY!!!

I was trying to send to an "adress" which is no BTC adress (starts with 9). Thought the number from "Inputs" of the transaction is the adress which sent the BTC to me... As I said: NOOB Sad

Where in Electrum I can find the adress which sent the BTC to me?
newbie
Activity: 6
Merit: 1
March 28, 2019, 05:21:26 AM
#6
I'm using the seed. Seems I don't have an xpub.
newbie
Activity: 6
Merit: 1
March 28, 2019, 05:07:56 AM
#5
2FA is neither. Tried with and without.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
March 28, 2019, 04:57:52 AM
#4
What's small for you?
I was trying to send 2 mBTC.
The minimum is 0.0546 mBTC, so that's not the cause.
newbie
Activity: 6
Merit: 1
March 28, 2019, 04:51:46 AM
#3
What's small for you?
I was trying to send 2 mBTC.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
March 28, 2019, 04:48:18 AM
#2
Are you by any chance trying to send a very small amount of Bitcoin? That's the first possible reason I find for this error.
newbie
Activity: 6
Merit: 1
March 28, 2019, 04:44:13 AM
#1
Hi,

I'm noob, so please have mercy Smiley

I tried Electrum for the very first time.
Already recieved 2 transactions, so it seems to be working properly.
But I can't broadcast any transactions to send BTC.
Always the same error:

The server returned an error when broadcasting the transaction.
Consider trying to connect to a different server, or updating Electrum.

scriptpubkey

I changed server several times and the software is up to date (3.3.4).
Please help me, I'm very desperated.
Jump to: