Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
15936838
Topic
453086
Board
Services
Re: [WTB] Teach me to manually create an OP_RETURN tx
by
mcliu
on
16/08/2016, 06:02:24 UTC
Quote from: dexX7 on December 10, 2015, 03:26:12 PM
Quote from: coinableS on November 25, 2015, 03:15:57 AM
So instead of entering a receiving address and an amount one would enter '{"data":40_bytes}' ?
Yes, basically it comes down to this.
Here is an example:
1. First, I list unspent outputs of the address I'm going to use.
Code:
bitcoin-cli listunspent 0 999999 '["1BxtgEa8UcrMzVZaW32zVyJh4Sg4KGFzxA"]'
..........
5. Here is the result:
https://live.blockcypher.com/btc/tx/b394e47f8141f725f25854d57e91fb67d91782dbe581b2f449990ba25a116d2d/
I have a problem trying to decode the data back
Is there any way I can see the data I added while creating raw transaction without using this website? -->
https://live.blockcypher.com/btc/tx/b394e47f8141f725f25854d57e91fb67d91782dbe581b2f449990ba25a116d2d/