Need Help about Console in Bitcoin Core I would like to ask the following. I've downloaded Bitcoin Core and just start using their &quot;Console&quot;. Before I can createrawtransaction, I need to first set up a node in Bitcoin Core, right? If yes, I did follow the instruction in https://developer.bitcoin.org/reference/rpc/index.html.
However, when I want to apply a node for myself that is using --&gt; addnode &quot;167.172.250.161:8333&quot; &quot;onetry&quot;
but end up is Null although I have requested for &quot;getnodeaddresses&quot; as per the screenshot:

Please advise as I need to &quot;importprivkey&quot; in order to perform the createrawtransaction.
Also, my apology I would like to ask this as well. Why when I send createrawtransaction in the Bitcoin Core Console, the error it states here that the error - Method not found (code -32601). Anyone can advise or provide guidance to me? I'm no expert in this. Thanks in advance.
Running Bitcoin Core (bitcoind or bitcoin-qt) already means running a node.
You don't need to set it up.
The addnode function is used to manually add a connection to another node.
This is not something necessary, unless you have specific reasons to connect to a particular node (e.g. a node you trust).
This function does not return any object (although executed successfully), which is why get null in return.
getnodeaddresses returns a random subset of node addresses known to your node.
As for the RPC methods, generateprivkey does not exist, while the error for createrawtransaction is probably due to a wrong input format (you are missing the squared brackets in the second object)
The correct format is:
[{&quot;txid&quot;:&quot;id&quot;,&quot;vout&quot;:n},...] [{&quot;address&quot;:amount},{&quot;data&quot;:&quot;hex&quot;},...]

Also note that you won't be able to create a transaction without having the corresponding keys in your wallet.