Bitcoin Forum
May 08, 2024, 08:34:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: 1111111111111111111114oLvT2  (Read 757 times)
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6730


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 16, 2023, 11:49:08 AM
 #41

Can you explain how to do this?
Depends on your wallet software. With Bitcoin Core, then createrawtransaction has a data field you can specify which will create an OP_RETURN output. In Electrum, you can simply write OP_RETURN followed by the hex encoding of whatever data you want in the address field.

Sorry to raise this question again, but I see that Bitcoin Developer lists this as a required field in the second parameter (which is also required). If I do not want to make an OP_RETURN output, should I just pass a {"data": ""} argument? Or will I get away with leaving the object out, as I've seen Bitcoin Developer examples over here do?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715200458
Hero Member
*
Offline Offline

Posts: 1715200458

View Profile Personal Message (Offline)

Ignore
1715200458
Reply with quote  #2

1715200458
Report to moderator
1715200458
Hero Member
*
Offline Offline

Posts: 1715200458

View Profile Personal Message (Offline)

Ignore
1715200458
Reply with quote  #2

1715200458
Report to moderator
1715200458
Hero Member
*
Offline Offline

Posts: 1715200458

View Profile Personal Message (Offline)

Ignore
1715200458
Reply with quote  #2

1715200458
Report to moderator
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
March 16, 2023, 12:12:00 PM
Merited by ABCbits (1)
 #42

Sorry to raise this question again, but I see that Bitcoin Developer lists this as a required field in the second parameter (which is also required). If I do not want to make an OP_RETURN output, should I just pass a {"data": ""} argument? Or will I get away with leaving the object out, as I've seen Bitcoin Developer examples over here do?
Just leave it out. It is "required" only if you want to create a data output. If you don't want a data output, it isn't required and can be left out entirely.
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!