Jump to content

Search the Community

Showing results for tags 'raw transaction'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • BlockForums Announcements
    • Denarius Announcements
    • Kronos Wallet Announcements
    • The Crypto News Feed
  • Cryptocurrency Discussions
    • Cryptocurrencies
    • Altcoin Announcements
    • General Discussion
    • Tutorials & Help
  • Denarius Discussions
    • General Discussion
    • Tutorials & Help
    • Marketing & PR
    • Development
    • Mining & Staking
    • Trading & Exchanges
    • Marketplace
  • Programming & Design
    • Development QA
    • Design QA
  • Gaming
    • Bot Downloads & Discussion
    • Gaming Discussion
  • Classifieds
    • Buy Sell and Trade
  • Other Discussions
    • Element 115
    • The Lounge
    • Hardware & IoT
    • Tutorials & Guides
    • Domains & Hosting

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


BTC Address

Found 1 result

  1. I was looking for a way to clean up my inputs without going one by one in the QT and using coin control, when I stumbled upon an older post of someone asking how to do this on Bitcoin as this seems to happen frequently. The idea was take a bunch of small inputs (dust) and combine with a larger amount and send. Over time with a lot of transactions and staking the inputs get to become many and very small. The basic way to create a raw transaction is by looking at your unspent list of transactions listunspent Which looks like this for my mining pool wallet which has a bunch of 0 fees after Denarius hit block 3mil 0 POW rewards and only mines tx fees. Lets say I am going to create a new address [DRiQL7nc1zXmSaxVswutYu2CGZtsEBqfQQ] and send those 3 amounts to it. We need to take note of the txid, vout, amount and tx fee for our coin. Denarius txfee is 0.00001 D Line by line lets copy down what we need f6d277fff890a86de7699e7ec8074e323556d89e895e652357da79c0d5fb77de 2 0.00000000 fa4c40deff3c9ac2eed8d20d21396465bcb19d4686583a1628b95e9a03f8ab4a 2 0.00000000 fb6e9ffdcb5b453e19fc7f46420faa329dd1ad1ec72699bdfa3f4856a24b362a 1 2.46936988 the total amount is 2.46936988 and then subtract 0.00001 & 0.00000001 for good measure, and send 2.46935987 D to our new address and combine these 3 inputs. createrawtransaction "[{\"txid\":\"f6d277fff890a86de7699e7ec8074e323556d89e895e652357da79c0d5fb77de\",\"vout\":2},{\"txid\":\"fa4c40deff3c9ac2eed8d20d21396465bcb19d4686583a1628b95e9a03f8ab4a\",\"vout\":2},{\"txid\":\"fb6e9ffdcb5b453e19fc7f46420faa329dd1ad1ec72699bdfa3f4856a24b362a\",\"vout\":1}]" {\"DRiQL7nc1zXmSaxVswutYu2CGZtsEBqfQQ\":2.46935987} Type this into the debug console or daemon line and adjust your txid's, vout's and at the end adjust your send to address and amount to send. Those \ seem to be required for this wallet to parse what you are sending in. This spits a transaction out. 01000000d3568d5e03de77fbd5c079da5723655e899ed85635324e07c87e9e69e76da890f8ff77d2f60200000000ffffffff4aabf8039a5eb928163a5886469db1bc656439210dd2d8eec29a3cffde404cfa0200000000ffffffff2a364ba256483ffabd9926c71eadd19d32aa0f42467ffc193e455bcbfd9f6efb0100000000ffffffff01b3f1b70e000000001976a914e1af17e42eba3528c9b9bd32e0df648e06eb0dcd88ac00000000 Now we want to sign the transaction from our wallet. signrawtransaction and the white output from above. signrawtransaction 01000000d3568d5e03de77fbd5c079da5723655e899ed85635324e07c87e9e69e76da890f8ff77d2f60200000000ffffffff4aabf8039a5eb928163a5886469db1bc656439210dd2d8eec29a3cffde404cfa0200000000ffffffff2a364ba256483ffabd9926c71eadd19d32aa0f42467ffc193e455bcbfd9f6efb0100000000ffffffff01b3f1b70e000000001976a914e1af17e42eba3528c9b9bd32e0df648e06eb0dcd88ac00000000 This spits the signed info out. { "hex" : "01000000d3568d5e03de77fbd5c079da5723655e899ed85635324e07c87e9e69e76da890f8ff77d2f6020000006b483045022100f1ab0d5415c9f8f44edcdf493533f2ca538de43f18f994392fadb0f497d444af02200af35af9c9d01799a6fcab52fe8be8bb65c5fa16e1e17d6facdfecb78dc73ad00121020a6c9ce6f2a9ea59bb8f6fdd760c647c6cf86357e9e042645b9fc95c383fed54ffffffff4aabf8039a5eb928163a5886469db1bc656439210dd2d8eec29a3cffde404cfa020000006b483045022100cd09ee00e1965edbc8ffa084cf7b60b1ef0554426218c2ed5c864e4efdcffde102205f3a590631756d1fba2a597571fa805397741adae26fb708cb9138c1038332f50121020a6c9ce6f2a9ea59bb8f6fdd760c647c6cf86357e9e042645b9fc95c383fed54ffffffff2a364ba256483ffabd9926c71eadd19d32aa0f42467ffc193e455bcbfd9f6efb010000004847304402204c553ff24b9252986eacff676acbc43818e17570c06fd67ea707263d8cca037602205e032dc3a58ed9d4fb3f0fc9f20e2956f8459b68f712af69215d68c549b44f8301ffffffff01b3f1b70e000000001976a914e1af17e42eba3528c9b9bd32e0df648e06eb0dcd88ac00000000", "complete" : true } Now for the send. sendrawtransaction and the long white out between the quotes. sendrawtransaction 01000000d3568d5e03de77fbd5c079da5723655e899ed85635324e07c87e9e69e76da890f8ff77d2f6020000006b483045022100f1ab0d5415c9f8f44edcdf493533f2ca538de43f18f994392fadb0f497d444af02200af35af9c9d01799a6fcab52fe8be8bb65c5fa16e1e17d6facdfecb78dc73ad00121020a6c9ce6f2a9ea59bb8f6fdd760c647c6cf86357e9e042645b9fc95c383fed54ffffffff4aabf8039a5eb928163a5886469db1bc656439210dd2d8eec29a3cffde404cfa020000006b483045022100cd09ee00e1965edbc8ffa084cf7b60b1ef0554426218c2ed5c864e4efdcffde102205f3a590631756d1fba2a597571fa805397741adae26fb708cb9138c1038332f50121020a6c9ce6f2a9ea59bb8f6fdd760c647c6cf86357e9e042645b9fc95c383fed54ffffffff2a364ba256483ffabd9926c71eadd19d32aa0f42467ffc193e455bcbfd9f6efb010000004847304402204c553ff24b9252986eacff676acbc43818e17570c06fd67ea707263d8cca037602205e032dc3a58ed9d4fb3f0fc9f20e2956f8459b68f712af69215d68c549b44f8301ffffffff01b3f1b70e000000001976a914e1af17e42eba3528c9b9bd32e0df648e06eb0dcd88ac00000000 And then you get your new transaction id to check on the explorer. 1d9f74c8a791d004a83348b2350a9f25f67646f7baa632890ebe9e533275b359 Check on coinexplorer https://www.coinexplorer.net/D/transaction/1d9f74c8a791d004a83348b2350a9f25f67646f7baa632890ebe9e533275b359 and we can see the 3 inputs are now combined into a new address. Also those 0.00000000's disappear from our wallet.
×
×
  • Create New...