0
I have a bitcoin-core full node running and I want to access my node in Python, how can I retrieve the blockchain info?
0
I have a bitcoin-core full node running and I want to access my node in Python, how can I retrieve the blockchain info?
1
You can use RPC bitcoin framework for creating the request to the node to get information.
With python exist more library, I preferer this python-bitcoinrpc but a list the library is here
For configuring the node to accepting the request look this reference
other util references
I try to establish a rpc connection with the AuthServiceProxy method from bitcoinrpc with the following parameters: AuthServiceProxy ("http://casa-node.lan:mycasapassword@mycasaip:8332") but I get no acces.
Do you have an error in the stack-trace python? if you want an example for using the library, I wrote this simple script for creating a simple console GUI this is the code if you have an error with my code, please public your bitcoin.conf and your bitcoin configuration
Do you using bitcoin core? – vincenzopalazzo – 2019-09-14T08:00:26.430
Yes I have bitcoind and bitcoin-cli installed – kristofpouls – 2019-09-14T10:18:35.193
I added new answer – vincenzopalazzo – 2019-09-14T10:41:27.163