Cli Command
joss-cli allows you connect to jossd RPCs and get blockchain information, smartnode setup and perform all available functions. you can see all available commands with:
./joss-cli help
result :
== Addressindex ==
getaddressbalance
getaddressdeltas
getaddressmempool
getaddresstxids
getaddressutxos
== Blockchain ==
getbestblockhash
getbestchainlock
getblock "blockhash" ( verbosity )
getblockchaininfo
getblockcount
getblockhash height
getblockhashes timestamp
getblockheader "hash" ( verbose )
getblockheaders "hash" ( count verbose )
getblockstats hash_or_height ( stats )
getchaintips ( count branchlen )
getchaintxstats ( nblocks blockhash )
getdifficulty
getmempoolancestors txid (verbose)
getmempooldescendants txid (verbose)
getmempoolentry txid
getmempoolinfo
getmerkleblocks "filter" "hash" ( count )
getrawmempool ( verbose )
getspecialtxes "blockhash" ( type count skip verbosity )
getspentinfo
gettxout "txid" n ( include_mempool )
gettxoutproof ["txid",...] ( blockhash )
gettxoutsetinfo
preciousblock "blockhash"
pruneblockchain
savemempool
verifychain ( checklevel nblocks )
verifytxoutproof "proof"
== Control ==
debug "category"
getmemoryinfo ("mode")
help ( "command" "subcommand" )
logging ( )
stop
uptime
== Evo ==
bls "command" ...
protx "command" ...
quorum "command" ...
verifychainlock "blockHash" "signature" ( blockHeight )
verifyislock "id" "txid" "signature" ( maxHeight )
== Generating ==
generate nblocks ( maxtries )
generatetoaddress nblocks address (maxtries)
setgenerate generate ( genproclimit )
== Joss ==
coinjoin "command"
getcoinjoininfo
getgovernanceinfo
getpoolinfo
getsuperblockbudget index
gobject "command" ...
mnsync [status|next|reset]
smartnode "command" ...
smartnodelist ( "mode" "filter" )
spork "command"
voteraw [yes|no|abstain]
== Mining ==
getblocktemplate ( TemplateRequest )
getmininginfo
getnetworkhashps ( nblocks height )
prioritisetransaction
submitblock "hexdata" ( "dummy" )
== Network ==
addnode "node" "add|remove|onetry"
clearbanned
disconnectnode "[address]" [nodeid]
getaddednodeinfo ( "node" )
getconnectioncount
getnettotals
getnetworkinfo
getpeerinfo
listbanned
ping
setban "subnet" "add|remove" (bantime) (absolute)
setnetworkactive true|false
== Rawtransactions ==
combinerawtransaction ["hexstring",...]
createrawtransaction [{"txid":"id","vout":n},...] [{"address":amount},{"data":"hex"},...] ( locktime )
decoderawtransaction "hexstring"
decodescript "hexstring"
fundrawtransaction "hexstring" ( options )
getrawtransaction "txid" ( verbose "blockhash" )
sendrawtransaction "hexstring" ( allowhighfees instantsend bypasslimits)
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
signrawtransactionwithkey "hexstring" ["privatekey1",...] ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] sighashtype )
== Util ==
createmultisig nrequired ["key",...]
estimatesmartfee conf_target ("estimate_mode")
signmessagewithprivkey "privkey" "message"
validateaddress "address"
verifymessage "address" "signature" "message"
== Wallet ==
abandontransaction "txid"
abortrescan
addmultisigaddress nrequired ["key",...] ( "label" )
backupwallet "destination"
createwallet "wallet_name"
dumphdinfo
dumpprivkey "address"
dumpwallet "filename"
encryptwallet "passphrase"
getaccount (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
getaccountaddress (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
getaddressbyaccount (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
getaddressesbylabel "label"
getaddressinfo "address"
getbalance ( "(dummy)" minconf addlocked include_watchonly )
getnewaddress ( "label" )
getrawchangeaddress
getreceivedbyaccount (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
getreceivedbyaddress "address" ( minconf addlocked )
gettransaction "txid" ( include_watchonly )
getunconfirmedbalance
getwalletinfo
importaddress "address" ( "label" rescan p2sh )
importelectrumwallet "filename" index
importmulti "requests" ( "options" )
importprivkey "privkey" ( "label" ) ( rescan )
importprunedfunds
importpubkey "pubkey" ( "label" rescan )
importwallet "filename"
keepass
keypoolrefill ( newsize )
listaccounts (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
listaddressbalances ( minamount )
listaddressgroupings
listlabels ( "purpose" )
listlockunspent
listreceivedbyaccount (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
listreceivedbyaddress ( minconf addlocked include_empty include_watchonly address_filter )
listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
listtransactions (label count skip include_watchonly)
listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
listwallets
loadwallet "filename"
lockunspent unlock ([{"txid":"txid","vout":n},...])
move (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
removeaddress "address"
removeprunedfunds "txid"
rescanblockchain ("start_height") ("stop_height")
sendfrom (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
sendmany "" {"address":amount,...} ( minconf addlocked "comment" ["address",...] subtractfeefrom use_is use_cj conf_target "estimate_mode")
sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount use_is use_cj conf_target "estimate_mode")
setaccount (Deprecated, will be removed in V0.18. To use this command, start jossd with -deprecatedrpc=accounts)
setcoinjoinamount amount
setcoinjoinrounds rounds
settxfee amount
signmessage "address" "message"
signrawtransactionwithwallet "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] sighashtype )
unloadwallet ( "wallet_name" )
upgradetohd ( "mnemonic" "mnemonicpassphrase" "walletpassphrase" )
walletlock
walletpassphrase "passphrase" timeout ( mixingonly )
walletpassphrasechange "oldpassphrase" "newpassphrase"
== Zmq ==
getzmqnotifications