Samourai wallet used to support OP_RETURN script code, but currently no Android wallet supports OP_RETURN. The best solution is to use
https://coinb.in or switch to Electrum desktop version.
Can I use this with my mobile wallet? Did not find any documentation about this .
Coinb.in? If your Mobile wallet supports signing unsigned raw transactions, yes.
Else, you'll have to use coinb.in to sign which requires you to export the private key(s) from your mobile wallet.
And the transaction creation process is manual which requires precise calculation of the inputs and outputs amount, manually selecting the right inputs, etc.
Or you'll end up donating most of your bitcoins to the miners.
I wouldn't recommend it to newbies or regular users.
If you insist, find any reputable general tutorial on how to use Coinb.in the internet.
The only additional step that you need is to tick "
Null Data" in the "Advanced Options" drop-down menu.
Then add another output (
click "+") and you can now put your Hex-encoded data in one of the 'address' text field with zero amount.
The other address field should be your recipient.
If your wallet supports signing unsigned raw transaction (
serialized raw transaction, not PSBT); import the transaction you created in coinb.in to your wallet, sign and broadcast it.