{"repo":"bibajz/bitcoin-python-async-rpc","free":true,"listed":false,"github":"https://github.com/bibajz/bitcoin-python-async-rpc","clone":"git clone https://github.com/bibajz/bitcoin-python-async-rpc.git","description":"Minimal Bitcoin JSON-RPC Python asynchronous client","language":"Python","stars":34,"topics":["bitcoin","async","python","python3","cryptocurrency"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"bitcoin-python-async-rpc Lightweight Bitcoin async JSON-RPC Python client. Serves as a tiny layer between an application and a Bitcoin daemon, its primary usage is querying the current state of Bitcoin blockchain, network stats, transactions... If you want complete Bitcoin experience in Python, consult python-bitcoinlib. Installation Supported methods Here is a list of supported methods, divided by their categories. Should you need method not implemented, wrap the call in BitcoinRPC.acall( , ...) coroutine. Blockchain Method Supported? ------------ :----------------: getbestblockhash ✔ getblock ✔ getblockchaininfo ✔ getblockcount ✔ getblockhash ✔ getblockheader ✔ getblockstats ✔ getchaintips ✔ getdifficulty ✔ getmempoolinfo ✔ getnetworkhashps ✔ Mining Method Supported? ------------ :----------------: getmininginfo ✔ Network Method Supported? ------------ :----------------: getconnectioncount ✔ getnetworkinfo ✔ Raw transactions Method Supported? ------------ :----------------: analyzepsbt ✔ combinepsbt ✔ decodepsbt ✔ finalizepsbt ✔ getrawtransaction ✔ joinpsbts ✔ utxoupdatepsbt ✔ Wallet Method Supported? ------------ :----------------: walletprocesspsbt ✔ Usage Minimal illustration (assuming Python 3.8+, where you can run async code in console) You can also use the BitcoinRPC as an asynchronous context manager, which does all the resource clean-up automatically, as the following example shows: Running this script yields: If you want customize the underlying httpx.AsyncClient ,","default_branch":null,"files":null,"tree":[],"storefront":"/r/bibajz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bibajz/bitcoin-python-async-rpc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}