Package: bitvaluta-rpc
bitvaluta_rpcBitvaluta_rpc is a simple and minimal library made for communication withbitvalutadvia JSON-RPC protocol.
It has a single dependency - a Pythonrequestslibrary and it supports both mainnet and testnet bitvaluta network with authentication or SSL encryption.
There is a single class to be imported from the library -Client.Clientclass methods are named the same asbitvalutadRPC methods so learning curve is non-existant.Installpip install bitvaluta_rpcHow to usefrom bitvaluta_rpc import ClientSpawn a new Client object with desired arguments:node = Client(testnet=True, username="username", password="password", ip=, port=)Use it:node.getblockchaininfo()node.getpeerinfo()node.getbalance()Available Commands:addmultisigaddress <nrequired> <'["key","key"]'> [account]addnode <node> <add|remove|onetry>addredeemscript <redeemScript> [account]backupwallet <destination>burn <amount> [hex string]burnwallet [hex string] [force]checkkernel [{"txid":txid,"vout":n},...] [createblocktemplate=false]checkwalletcreaterawtransaction [{"txid":txid,"vout":n},...] {address:amount,...}decoderawtransaction <hex string>decodescript <hex string>dumpprivkey <bitvalutaaddress>dumpwallet <filename>getaccount <bitvalutaaddress>getaccountaddress <account>getaddednodeinfo <dns> [node]getaddressesbyaccount <account>getbalance [account] [minconf=1]getbestblockhashgetblock <hash> [txinfo]getblockbynumber <number> [txinfo]getblockcountgetblockhash <index>getblocktemplate [params]getcheckpointgetconnectioncountgetdifficultygetinfogetmininginfogetnettotalsgetnewaddress [account]getnewpubkey [account]getpeerinfogetrawmempoolgetrawtransaction <txid> [verbose=0]getreceivedbyaccount <account> [minconf=1]getreceivedbyaddress <bitvalutaaddress> [minconf=1]getstakesubsidy <hex string>getstakinginfogetsubsidy [nTarget]gettransaction <txid>getwork [data]getworkex [data, coinbase]help [command]importprivkey <bitvalutaprivkey> [label] [rescan=true]importwallet <filename>keypoolrefill [new-size]listaccounts [minconf=1]listaddressgroupingslistreceivedbyaccount [minconf=1] [includeempty=false]listreceivedbyaddress [minconf=1] [includeempty=false]listsinceblock [blockhash] [target-confirmations]listtransactions [account] [count=10] [from=0]listunspent [minconf=1] [maxconf=9999999] ["address",...]makekeypair [prefix]move <fromaccount> <toaccount> <amount> [minconf=1] [comment]pingrepairwalletresendtxreservebalance [<reserve> [amount]]sendalert <message> <privatekey> <minver> <maxver> <priority> <id> [cancelupto]sendfrom <fromaccount> <tobitvalutaaddress> <amount> [minconf=1] [comment] [comment-to]sendmany <fromaccount> {address:amount,...} [minconf=1] [comment]sendrawtransaction <hex string>sendtoaddress <bitvalutaaddress> <amount> [comment] [comment-to]setaccount <bitvalutaaddress> <account>settxfee <amount>signmessage <bitvalutaaddress> <message>signrawtransaction <hex string> [{"txid":txid,"vout":n,"scriptPubKey":hex,"redeemScript":hex},...] [<privatekey1>,...] [sighashtype="ALL"]stopsubmitblock <hex data> [optional-params-obj]validateaddress <bitvalutaaddress>validatepubkey <bitvalutapubkey>verifymessage <bitvalutaaddress> <signature> <message>walletlockwalletpassphrase <passphrase> <timeout> [stakingonly]walletpassphrasechange <oldpassphrase> <newpassphrase>