getinfo - Divi 2.5.1 RPC
getinfo Returns an object containing various state info. Result: { "version": xxxxx, (numeric) the server version "protocolversion": xxxxx, (numeric) the protocol version "walletversion": xxxxx, (numeric) the wallet version "balance": xxxxxxx, (numeric) the total divi balance of the wallet "blocks": xxxxxx, (numeric) the current number of blocks processed in the server "timeoffset": xxxxx, (numeric) the time offset "connections": xxxxx, (numeric) the number of connections "proxy": "host:port", (string, optional) the proxy used by the server "difficulty": xxxxxx, (numeric) the current difficulty "testnet": true|false, (boolean) if the server is using testnet or not "moneysupply" : "supply" (numeric) The money supply when this block was added to the blockchain "keypoololdest": xxxxxx, (numeric) the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool "keypoolsize": xxxx, (numeric) how many new keys are pre-generated "unlocked_until": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked "paytxfee": x.xxxx, (numeric) the transaction fee set in divi/kb "relayfee": x.xxxx, (numeric) minimum relay fee for non-free transactions in divi/kb "staking status": true|false, (boolean) if the wallet is staking or not "errors": "..." (string) any error messages } Examples: > divi-cli getinfo > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:51473/
Maintained by DiviDomains; modified by: Bert Shuler;license of the docs is MIT (see divi repo), license of the scripts and webpage is also MIT (github repo)
Note it uses a mainnet divi node
Blockchain
Divi
allocatefunds
ban
broadcaststartmasternode
clearbanned
createmasternodekey
fundmasternode
getmasternodecount
getmasternodeoutputs
getmasternodescores
getmasternodestatus
getmasternodewinners
Obfuscation,
clearbanned
listmasternodeconf
listmasternodes
masternode
masternodecurrent
mnsync
setupmasternode
spork
startmasternode
verifymasternodesetup
ban
broadcaststartmasternode
clearbanned
createmasternodekey
fundmasternode
getmasternodecount
getmasternodeoutputs
getmasternodescores
getmasternodestatus
getmasternodewinners
Obfuscation,
clearbanned
listmasternodeconf
listmasternodes
masternode
masternodecurrent
mnsync
setupmasternode
spork
startmasternode
verifymasternodesetup
Generating
Getinvalid
Rawtransactions
Wallet
addmultisigaddress
addvault
backupwallet
bip38decrypt
bip38encrypt
dumphdinfo
dumpprivkey
dumpwallet
encryptwallet
fundvault
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakingstatus
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
reclaimvaultfunds
removevault
sendfrom
sendmany
sendtoaddress
setaccount
signmessage
walletverify
addvault
backupwallet
bip38decrypt
bip38encrypt
dumphdinfo
dumpprivkey
dumpwallet
encryptwallet
fundvault
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakingstatus
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
reclaimvaultfunds
removevault
sendfrom
sendmany
sendtoaddress
setaccount
signmessage
walletverify