Is the Library good
What is the hostname
Where is the fee......
I'm not using that library so I can't comment on the accuracy of ChatGPT's answer or the library's performance,
but it's on the right path for using
OP_Return.
I'll just reply to your other queries:
The "
hostname" is the server of your choosing.
For example, if I want to connect to blockstream's public server, I'd use
('electrum.blockstream.info', port=50002, protocol='tcp')
The fee is the difference between the input(s) and output(s) values.
The "
fee rate" is the fee divided by the transaction's size in "
virtual bytes".