Skip to content

RPC commands

justanwar edited this page Mar 16, 2024 · 1 revision

This only lists frequently-used RPC calls. For a full list, run firo-cli help or help in Debug Console.

General

getinfo

getbestblockhash

getblock "blockhash" ( verbose )

getblockchaininfo

getblockcount

getblockhash height

getrawmempool ( verbose )

Wallet

abandontransaction "txid"

backupwallet "destination"

dumpprivkey "firoaddress"

dumpwallet "filename"

encryptwallet "passphrase"

getaccount "firoaddress"

getaccountaddress "account"

getaddressesbyaccount "account"

gettotalbalance

gettransaction "txid" ( include_watchonly )

getwalletinfo

removetxmempool <txid>

removetxwallet <txid>

validateaddress "address"

Wallet: Transparent

getbalance ( "account" minconf include_watchonly )

getnewaddress ( "account" )

getreceivedbyaddress "firoaddress" ( minconf addlocked )

getunconfirmedbalance

listaddressbalances ( minamount )

listaddressgroupings

listreceivedbyaddress ( minconf include_empty include_watchonly)

listtransactions ( "account" count skip include_watchonly)

lockunspent unlock ([{"txid":"txid","vout":n},...])

sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )

sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] )

sendtoaddress "firoaddress" amount ( "comment" "comment-to" subtractfeefromamount )

Wallet: Private

automintspark

getallsparkaddresses 

getnewsparkaddress

getprivatebalance

getsparkaddressbalance 

getsparkbalance 

getsparkcoinaddr "txHash"

getsparkdefaultaddress 

identifysparkcoins "txHash"

listsparkmints 

listsparkspends

listunspentsparkmints 

mintspark {"address":{amount,memo...}}

spendspark {"address":{amount,subtractfee...}, "address":{amount,memo,subtractfee...}}
Clone this wiki locally