Bitcoin Forum
May 11, 2024, 01:43:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Createrawtransaction  (Read 913 times)
hack_ (OP)
Hero Member
*****
Offline Offline

Activity: 501
Merit: 503


View Profile
April 28, 2016, 03:11:30 PM
Merited by ABCbits (1)
 #1

How can I use createrawtransaction to add data to a transaction?

For example the date/time and my name?
1715391809
Hero Member
*
Offline Offline

Posts: 1715391809

View Profile Personal Message (Offline)

Ignore
1715391809
Reply with quote  #2

1715391809
Report to moderator
1715391809
Hero Member
*
Offline Offline

Posts: 1715391809

View Profile Personal Message (Offline)

Ignore
1715391809
Reply with quote  #2

1715391809
Report to moderator
1715391809
Hero Member
*
Offline Offline

Posts: 1715391809

View Profile Personal Message (Offline)

Ignore
1715391809
Reply with quote  #2

1715391809
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715391809
Hero Member
*
Offline Offline

Posts: 1715391809

View Profile Personal Message (Offline)

Ignore
1715391809
Reply with quote  #2

1715391809
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
April 29, 2016, 12:35:39 AM
 #2

When you get to the output section, instead of doing "address":amount, do "data":"hex" where data is the word 'data' and hex is the hex of whatever data you want to encode. You will get up to 80 bytes of data.

smaxz
Sr. Member
****
Offline Offline

Activity: 430
Merit: 253


VeganAcademy


View Profile
April 30, 2016, 01:23:47 PM
 #3

When you get to the output section, instead of doing "address":amount, do "data":"hex" where data is the word 'data' and hex is the hex of whatever data you want to encode. You will get up to 80 bytes of data.

hey thats easier than i thought, thanks for this.

- NGdTwHRSdnThdi1drQuHGT3khAHRtZ1HMq -
Pages: [1]
  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!