Bitcoin Forum
November 09, 2024, 09:39:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: Zero fee transaction  (Read 4148 times)
bitterbit (OP)
Member
**
Offline Offline

Activity: 101
Merit: 12


View Profile
May 28, 2016, 03:54:53 AM
 #21

None of the method suggested by users here works
andreld
Full Member
***
Offline Offline

Activity: 202
Merit: 100

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile WWW
May 28, 2016, 09:44:33 AM
 #22

None of the method suggested by users here works

Try mycellium wallet you can manually set the fee to 0

longbob72
Hero Member
*****
Offline Offline

Activity: 574
Merit: 503


V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==


View Profile
May 28, 2016, 09:53:41 AM
 #23

None of the method suggested by users here works

Define "works". As far as I know the first method posted by knightdk works (Manually creating the transaction).

                                                                       
    ▄▄███████▄▄                           ▄      ▄
   ██████████████▄                       ███    ███
  ███▀ ▄▄▄▄▄▄▄ ▀████                     ███    ███
  █████████████▄ ▀███                    ███    ███   █▄ ▄▄
   ▀████▄  ▄▄███  ▀███                   ███    ███  ▄████
   ▄███████████   ▄███                  ███    ███  ▀▀███▀▀
   ███           ▄███         ▄▄▄▄      ███    ███     █    ▄▄  ▄▄▄▄
  ▄███     ▄▄▄▄█████        ▄█████▄    ▄██▀   ▄██▀    ███   █████████
  ███▄    ████████         ▄███▀▀███   ███    ███    ███▀   █████▀████
   ███     ▀▀█████▄      ▄█████▄ ███   ███    ███    ███    ████   ███
   ███         ▀███▄     ███▀███ ███  ███▀   ███▀    ███    ███▀   ███
   ███           ███▄    ███  ▀▀ ███  ███    ███    ███▀   ▄███    ███
   ▀██▄           ███    ███▄  ▄███   ███    ███    ███    ███    ███▀
    ███           ▀███▄   ████████    ███    ███    ███    ███    ███
    ▀██            ▀████   ▀████▀      ██     ██    ▀██    ▀█▀    ▀█▀


.
.
.
        ▄▄▀                ▀▄▄
     ▄ ▀▀                    ▀▀ ▄
   ▄ ▀▀▀                      ▀▀▀ ▄
  ▄▀▀▀                          ▀▀▀▄
 ▀█▄▄                            ▄▄█▀
▄█  ▄                            ▄  █▄
▀█ █▀                            ▀█ █▀
█▄  ▄                            ▄  ▄█
▀█ █                              █ █▀
█▄   █                          █   ▄█
 ██▄█▀                          ▀█▄██
  ▀▀  ▄█                      █▄  ▀▀
  ▀██▄ ▀  █▄              ▄█  ▀ ▄██▀
    ▀▀▀   ██  █▄      ▄█  ██   ▀▀▀
     ▀███▄▄▀  ███    ███  ▀▄▄███▀
        ▀▀▀▀▄▄▄▄▀    ▀▄▄▄▄▀▀▀▀
          ▀▀█████▀▀▀▀█████▀▀
.
.
Free Bitcoins
Chat Lottery & Games
Level Up System with Rewards
▄████████▄  ▄████████▄
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
 ████████    ████████
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
▀████████▀  ▀████████▀
.
cyberguy
Jr. Member
*
Offline Offline

Activity: 34
Merit: 4


View Profile WWW
May 28, 2016, 01:11:13 PM
 #24

try using bitcoin-tx that is included with bitcoin-core

you'll have to do all the calculations before you construct the tx

The following iswhat I learnt by trial and error, I couldn't find any documentation on this

Code:
bitcoin-tx -create in=TX_ID:INDEX outaddr=VALUE:ADDRESS set=prevtxs:'[{"txid":"TX_ID","vout":INDEX,"scriptPubKey":"76a914PUBLIC_KEY_HASH88ac"}]' set=privatekeys:'{"privatekeys":"PRIVATE_KEY"}' sign

The above can be used for a simple transaction which takes a single input and has a single output. The following values should be used as arguments.

TX_ID:INDEX - transaction hash and index of input

VALUE:ADDRESS - amount of BTC to be sent along with bitcoin address

PUBLIC_KEY_HASH - public key hash of bitcoin address from which BTC is being spent

PRIVATE_KEY - private key of bitcoin address from which BTC is being spent

When multiple inputs received by the same address need to be specified, there should be a "in=TX_ID:INDEX" argument that corresponds to each input. It has to be specified again under the prevtxs array. i.e. multiple {"txid":"TX_ID","vout":INDEX,"scriptPubKey":"76a914PUBLIC_KEY_HASH88ac"} arguments corresponding to each input seperated by commas within the square brackets. Multiple outputs can be specified by including "outaddr=VALUE:ADDRESS" corresponding to each output.

The output produced is the raw transaction as a string of hexadecimal characters.
allankey
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
May 29, 2016, 10:41:56 AM
 #25

Hello, I heard that zero fee transactions will never be successful and the funds will be stuck in the chain, and the funds will never be returned. Is that true? Does spending more fees allows transaction go be executed faster??
155UE
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile
May 29, 2016, 11:08:03 AM
 #26

Hello, I heard that zero fee transactions will never be successful and the funds will be stuck in the chain, and the funds will never be returned. Is that true? Does spending more fees allows transaction go be executed faster??

Zero fees transaction can get confirmed but has low chance and incase the transaction didnt get any confirmation for 2-3days then the memory pool will drop it and the coins will returned to the sending address as if nothing happens. Yes the more fees you paid the higher chance for your transaction to be included in the next block

  Brakoo, the simplest Bitcoin lottery Try it for FREE!
Brakoo Lottery 1BrakooDHHXvGFY45hefmuxXA6dxN6GK8X (Official Thread) FREE Games with the Faucet
Send any amount to the pot. If you win, you will receive the pot. It is provably fair!. Drawing every day at 00:00 UTC
BigMac
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile
May 29, 2016, 11:09:31 AM
 #27

Hello, I heard that zero fee transactions will never be successful and the funds will be stuck in the chain, and the funds will never be returned. Is that true? Does spending more fees allows transaction go be executed faster??

Zero fees transaction can get confirmed but has low chance and incase the transaction didnt get any confirmation for 2-3days then the memory pool will drop it and the coins will returned to the sending address as if nothing happens. Yes the more fees you paid the higher chance for your transaction to be included in the next block


Exactly. I actually have made a zero-fee transaction last week (FYR, the tx ID is b2b9d553583da4dcd20fc04f50427d72e4f46b49e26f13011f0f67ab07f8aed0) and it was included in a block ~9 hours afterward.

Velkro
Legendary
*
Offline Offline

Activity: 2296
Merit: 1014



View Profile
May 29, 2016, 02:01:36 PM
 #28

Quote
Exactly. I actually have made a zero-fee transaction last week (FYR, the tx ID is b2b9d553583da4dcd20fc04f50427d72e4f46b49e26f13011f0f67ab07f8aed0) and it was included in a block ~9 hours afterward.
Well thats stange, i heard most nodes now have min tx fee relay now set to minimum 0.00001. So u got lucky to your transaction beign included/relayed with 0 fee?
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1024


Mine at Jonny's Pool


View Profile WWW
May 29, 2016, 07:32:11 PM
 #29

Create the transaction manually using createrawtransaction.  If the inputs exactly equal the outputs, then there is no fee.  For example, assume you have an input of 0.01 in transaction TXID and you send that 0.01 to address ADDR1:

Code:
myHex = createrawtransaction [{"txid":"TXID", "vout":0}] {"ADDR1":0.01}

Once created, you then need to sign it (you use as input the output from the previous call):

Code:
mySignedHex = signrawtransaction "myHex"

Now, you broadcast that transaction:

Code:
sendrawtransaction "mySignedHex"

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
longbob72
Hero Member
*****
Offline Offline

Activity: 574
Merit: 503


V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==


View Profile
May 30, 2016, 03:00:25 AM
 #30

Quote
Exactly. I actually have made a zero-fee transaction last week (FYR, the tx ID is b2b9d553583da4dcd20fc04f50427d72e4f46b49e26f13011f0f67ab07f8aed0) and it was included in a block ~9 hours afterward.
Well thats stange, i heard most nodes now have min tx fee relay now set to minimum 0.00001. So u got lucky to your transaction beign included/relayed with 0 fee?

A transaction with over 57,600,000 priority shouldn't need any fee to get relayed by most nodes. But without any fee, getting a confirmation can still take a long time.

                                                                       
    ▄▄███████▄▄                           ▄      ▄
   ██████████████▄                       ███    ███
  ███▀ ▄▄▄▄▄▄▄ ▀████                     ███    ███
  █████████████▄ ▀███                    ███    ███   █▄ ▄▄
   ▀████▄  ▄▄███  ▀███                   ███    ███  ▄████
   ▄███████████   ▄███                  ███    ███  ▀▀███▀▀
   ███           ▄███         ▄▄▄▄      ███    ███     █    ▄▄  ▄▄▄▄
  ▄███     ▄▄▄▄█████        ▄█████▄    ▄██▀   ▄██▀    ███   █████████
  ███▄    ████████         ▄███▀▀███   ███    ███    ███▀   █████▀████
   ███     ▀▀█████▄      ▄█████▄ ███   ███    ███    ███    ████   ███
   ███         ▀███▄     ███▀███ ███  ███▀   ███▀    ███    ███▀   ███
   ███           ███▄    ███  ▀▀ ███  ███    ███    ███▀   ▄███    ███
   ▀██▄           ███    ███▄  ▄███   ███    ███    ███    ███    ███▀
    ███           ▀███▄   ████████    ███    ███    ███    ███    ███
    ▀██            ▀████   ▀████▀      ██     ██    ▀██    ▀█▀    ▀█▀


.
.
.
        ▄▄▀                ▀▄▄
     ▄ ▀▀                    ▀▀ ▄
   ▄ ▀▀▀                      ▀▀▀ ▄
  ▄▀▀▀                          ▀▀▀▄
 ▀█▄▄                            ▄▄█▀
▄█  ▄                            ▄  █▄
▀█ █▀                            ▀█ █▀
█▄  ▄                            ▄  ▄█
▀█ █                              █ █▀
█▄   █                          █   ▄█
 ██▄█▀                          ▀█▄██
  ▀▀  ▄█                      █▄  ▀▀
  ▀██▄ ▀  █▄              ▄█  ▀ ▄██▀
    ▀▀▀   ██  █▄      ▄█  ██   ▀▀▀
     ▀███▄▄▀  ███    ███  ▀▄▄███▀
        ▀▀▀▀▄▄▄▄▀    ▀▄▄▄▄▀▀▀▀
          ▀▀█████▀▀▀▀█████▀▀
.
.
Free Bitcoins
Chat Lottery & Games
Level Up System with Rewards
▄████████▄  ▄████████▄
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
 ████████    ████████
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
▀████████▀  ▀████████▀
.
bitterbit (OP)
Member
**
Offline Offline

Activity: 101
Merit: 12


View Profile
June 13, 2016, 06:46:20 AM
 #31

Create the transaction manually using createrawtransaction.  If the inputs exactly equal the outputs, then there is no fee.  For example, assume you have an input of 0.01 in transaction TXID and you send that 0.01 to address ADDR1:

Code:
myHex = createrawtransaction [{"txid":"TXID", "vout":0}] {"ADDR1":0.01}

Once created, you then need to sign it (you use as input the output from the previous call):

Code:
mySignedHex = signrawtransaction "myHex"

Now, you broadcast that transaction:

Code:
sendrawtransaction "mySignedHex"

Thanks for the help but



Any clues?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
June 13, 2016, 06:58:53 AM
 #32

- snip -
Code:
myHex = createrawtransaction [{"txid":"TXID", "vout":0}] {"ADDR1":0.01}
- snip -
Thanks for the help but

- snip -

Any clues?

jonnybravo0311 was giving you a generic example.  He assumed that you had the technical skills to understand the generic example and apply it to your own needs.  If you want someone to give you the exact command that you would need to create a raw transaction, then they are going to need information about the bitcoins that are available in your wallet.

Run this command in the console, and provide the results.  With the information returned from this command, it should be possible to give you an exact command that will build a transaction for you:

Code:
listunspent


As long as you know the information identifying the unspent outputs that you'll build the transaction from, there are a few web sites that will help you to build a raw transaction, it can also be done with Bitcoin Core, and it is also possible to either build one by hand or write your own computer program to do so.
bitterbit (OP)
Member
**
Offline Offline

Activity: 101
Merit: 12


View Profile
June 13, 2016, 07:02:20 AM
 #33

- snip -
Code:
myHex = createrawtransaction [{"txid":"TXID", "vout":0}] {"ADDR1":0.01}
- snip -
Thanks for the help but

- snip -

Any clues?

jonnybravo0311 was giving you a generic example.  He assumed that you had the technical skills to understand the generic example and apply it to your own needs.  If you want someone to give you the exact command that you would need to create a raw transaction, then they are going to need information about the bitcoins that are available in your wallet.

Run this command in the console, and provide the results.  With the information returned from this command, it should be possible to give you an exact command that will build a transaction for you:

Code:
listunspent


RPC:


Code:
listunspent




Code:
[
  {
    "txid": "38427a43ac56a660130e86a45ccba448c2030364a512fad83e9e8598dd890e1f",
    "vout": 0,
    "address": "1KnBK6r5AFQgiuMfrAnpUZWRpaio2TQXPP",
    "account": "",
    "scriptPubKey": "76a914cdfd9729cda304610c5463e9740d2606fddad32188ac",
    "amount": 0.00179300,
    "confirmations": 4,
    "spendable": true
  }
]
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
June 13, 2016, 07:09:08 AM
Last edit: June 13, 2016, 07:25:49 AM by DannyHamilton
 #34

Try this:

Code:
createrawtransaction [{\"txid\":\"38427a43ac56a660130e86a45ccba448c2030364a512fad83e9e8598dd890e1f\",\"vout\":0}] {\"1CvRg4qu35KfJy8cLEszZvrbDiRghtmvDq\":0.001793}

Your output should look something like this:

01000000 01 1f0e89dd98859e3ed8fa12a5640303c248a4cb5ca4860e1360a656ac437a4238 00000000 00 ffffffff 01 64bc0200 00 000000 19 76 a9 14 82c406aacfa3fc448bea007a55e7d784ba683b37 88 ac 00000000

Note that if you wanted to create such a transaction by hand, you'd need to understand how the matching colors below are related:

createrawtransaction [{"txid":"38427a43ac56a660130e86a45ccba448c2030364a512fad83e9e8598dd890e1f","vout":0}] {"1CvRg4qu35KfJy8cLEszZvrbDiRghtmvDq":0.001793}

01000000 01 1f0e89dd98859e3ed8fa12a5640303c248a4cb5ca4860e1360a656ac437a4238 00000000 00 ffffffff 01 64bc0200 00 000000 19 76 a9 14 82c406aacfa3fc448bea007a55e7d784ba683b37 88 ac 00000000

romero121
Legendary
*
Offline Offline

Activity: 3024
Merit: 1214


View Profile
June 13, 2016, 03:18:15 PM
 #35

I have never done a zero transaction fee transfer. Blockchain.info defines to have a very low transaction fee, also you could get a fee less transaction only on buying bitcoin from traders or exchange's.
Sharky444
Hero Member
*****
Offline Offline

Activity: 724
Merit: 500


View Profile
June 14, 2016, 11:12:58 AM
 #36

You can do it in the Bitcoin Core client, but I don't recommand it. The transaction will take at least 2 days, and may even "bounce back".

Radix - just imagine
hermanhs09
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
June 15, 2016, 07:38:02 AM
 #37

Is there a way to create zero fee transaction anymore.The only way I knew was Blockchain.info and it seems they have removed it now.

PS: I need it for technical purpose.

If you really want to do it, and since I actually don't know any other way of doing this to be honest, you should try using Blockchain.info with the legacy version. AFAIK they still allow it.

But what's the point of a zero fee transaction anymore?
FearEquity
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 15, 2016, 01:28:46 PM
 #38

You can do so with the mSIGNA wallet.
I just started using bitcoin two weeks ago and am using this wallet because of it's high security standard. For every transaction you have to assign the transaction fee manually and it can be zero.
leowonderful
Legendary
*
Offline Offline

Activity: 1624
Merit: 1130


Bitcoin FTW!


View Profile
June 15, 2016, 04:09:40 PM
 #39

Is there a way to create zero fee transaction anymore.The only way I knew was Blockchain.info and it seems they have removed it now.

PS: I need it for technical purpose.

If you really want to do it, and since I actually don't know any other way of doing this to be honest, you should try using Blockchain.info with the legacy version. AFAIK they still allow it.

But what's the point of a zero fee transaction anymore?
I'm pretty sure they still let you create 0 fee transactions on the beta wallet, but the last time I did one on there, it took half a day to confirm it. There really is no point unless you're low on money and need to pay somebody, but have no extra bitcoin to make the transaction fee. It's just too damn slow nowadays to make one of those, and besides, if it doesn't confirm the mempool just sends it back and you've done absolutely nothing.
bitterbit (OP)
Member
**
Offline Offline

Activity: 101
Merit: 12


View Profile
June 18, 2016, 06:56:33 AM
 #40

Try this:

Code:
createrawtransaction [{\"txid\":\"38427a43ac56a660130e86a45ccba448c2030364a512fad83e9e8598dd890e1f\",\"vout\":0}] {\"1CvRg4qu35KfJy8cLEszZvrbDiRghtmvDq\":0.001793}

Your output should look something like this:

01000000 01 1f0e89dd98859e3ed8fa12a5640303c248a4cb5ca4860e1360a656ac437a4238 00000000 00 ffffffff 01 64bc0200 00 000000 19 76 a9 14 82c406aacfa3fc448bea007a55e7d784ba683b37 88 ac 00000000

Note that if you wanted to create such a transaction by hand, you'd need to understand how the matching colors below are related:

createrawtransaction [{"txid":"38427a43ac56a660130e86a45ccba448c2030364a512fad83e9e8598dd890e1f","vout":0}] {"1CvRg4qu35KfJy8cLEszZvrbDiRghtmvDq":0.001793}

01000000 01 1f0e89dd98859e3ed8fa12a5640303c248a4cb5ca4860e1360a656ac437a4238 00000000 00 ffffffff 01 64bc0200 00 000000 19 76 a9 14 82c406aacfa3fc448bea007a55e7d784ba683b37 88 ac 00000000



Well ok

but after this whenever I'm trying to sign the transaction I get :



signrawtransaction "0100000001bf5fb8dc3884edc6e8c4d1e028624975b5e184deda1bcd6d77b312d1547dd54800000 00000ffffffff011c170200000000001976a914857249351a591cec53e19c9bd8320370b1f4746b 88ac00000000"


{
  "hex": "0100000001bf5fb8dc3884edc6e8c4d1e028624975b5e184deda1bcd6d77b312d1547dd54800000 00000ffffffff011c170200000000001976a914857249351a591cec53e19c9bd8320370b1f4746b 88ac00000000",
  "complete": false,
  "errors": [
    {
      "txid": "48d57d54d112b3776dcd1bdade84e1b575496228e0d1c4e8c6ed8438dcb85fbf",
      "vout": 0,
      "scriptSig": "",
      "sequence": 4294967295,
      "error": "Operation not valid with the current stack size"
    }
  ]
}
Pages: « 1 [2] 3 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!