Komodod RPC
Accessible through any komodod node running locally or with access to a one thats hosted.
FSM
FSMcreate
FSMinfo
FSMlist
Addressindex
- getaddressbalance
- getaddressdeltas
- getaddressmempool
- getaddresstxids
- getaddressutxos
- getsnapshot
Auction
Blockchain
- coinsupply
- getbestblockhash
- getblock "hash|height" ( verbose )
- getblockchaininfo
- getblockcount
- getblockhash index
- getblockhashes timestamp
- getblockheader "hash" ( verbose )
- getchaintips
- getdifficulty
- getmempoolinfo
- getrawmempool ( verbose )
- getspentinfo
- gettxout "txid" n ( includemempool )
- gettxoutproof ["txid",...] ( blockhash )
- gettxoutsetinfo
- kvsearch key
- kvupdate key "value" days passphrase
- minerids needs height
- notaries height timestamp
- paxpending needs no args
- paxprice "base" "rel" height
- paxprices "base" "rel" maxsamples
- verifychain ( checklevel numblocks )
- verifytxoutproof "proof"
Control
- getinfo
- help ( "command" )
- stop
Crosschain
- MoMoMdata symbol kmdheight ccid
- assetchainproof needs a txid
- calc_MoM height MoMdepth
- height_MoM height
- migrate_completeimporttransaction importTx
- migrate_converttoexport rawTx dest_symbol export_amount
- migrate_createimporttransaction burnTx payouts
Dice
- diceaddfunds name fundingtxid amount
- diceaddress [pubkey]
- dicebet name fundingtxid amount odds
- dicefinish name fundingtxid bettxid
- dicefund name funds minbet maxbet maxodds timeoutblocks
- diceinfo fundingtxid
- dicelist
- dicestatus name fundingtxid bettxid
Disclosure
- z_getpaymentdisclosure "txid" "js_index" "output_index" ("message")
- z_validatepaymentdisclosure "paymentdisclosure"
Faucet
- faucetaddress [pubkey]
- faucetfund amount
- faucetget
- faucetinfo
Generating
- generate numblocks
- getgenerate
- setgenerate generate ( genproclimit )
Lotto
Mining
- getblocksubsidy height
- getblocktemplate ( "jsonrequestobject" )
- getlocalsolps
- getmininginfo
- getnetworkhashps ( blocks height )
- getnetworksolps ( blocks height )
- prioritisetransaction
- submitblock "hexdata" ( "jsonparametersobject" )
Network
- addnode "node" "add|remove|onetry"
- clearbanned
- disconnectnode "node"
- getaddednodeinfo dns ( "node" )
- getconnectioncount
- getdeprecationinfo
- getnettotals
- getnetworkinfo
- getpeerinfo
- listbanned
- ping
- setban "ip(/netmask)" "add|remove" (bantime) (absolute)
Rawtransactions
- createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}
- decoderawtransaction "hexstring"
- decodescript "hex"
- fundrawtransaction "hexstring"
- getrawtransaction "txid" ( verbose )
- sendrawtransaction "hexstring" ( allowhighfees )
- signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
Rewards
- rewardsaddfunding name fundingtxid amount
- rewardsaddress [pubkey]
- rewardscreatefunding name amount APR mindays maxdays mindeposit
- rewardsinfo fundingtxid
- rewardslist
- rewardslock name fundingtxid amount
- rewardsunlock name fundingtxid [txid]
Tokens
- tokenaddress [pubkey]
- tokenask numtokens tokenid price
- tokenbalance tokenid [pubkey]
- tokenbid numtokens tokenid price
- tokencancelask tokenid asktxid
- tokencancelbid tokenid bidtxid
- tokencreate name supply description
- tokenfillask tokenid asktxid fillunits
- tokenfillbid tokenid bidtxid fillamount
- tokeninfo tokenid
- tokenlist
- tokenorders [tokenid]
- tokentransfer tokenid destpubkey amount
Util
- createmultisig nrequired ["key",...]
- estimatefee nblocks
- estimatepriority nblocks
- invalidateblock "hash"
- jumblr_deposit "depositaddress"
- jumblr_pause
- jumblr_resume
- jumblr_secret "secretaddress"
- reconsiderblock "hash"
- validateaddress "komodoaddress"
- verifymessage "komodoaddress" "signature" "message"
- z_validateaddress "zaddr"
Wallet
- addmultisigaddress nrequired ["key",...] ( "account" )
- backupwallet "destination"
- dumpprivkey "komodoaddress"
- dumpwallet "filename"
- encryptwallet "passphrase"
- getaccount "KMD_address"
- getaccountaddress "account"
- getaddressesbyaccount "account"
- getbalance ( "account" minconf includeWatchonly )
- getbalance64
- getnewaddress ( "account" )
- getrawchangeaddress
- getreceivedbyaccount "account" ( minconf )
- getreceivedbyaddress "KMD_address" ( minconf )
- gettransaction "txid" ( includeWatchonly )
- getunconfirmedbalance
- getwalletinfo
- importaddress "address" ( "label" rescan )
- importprivkey "komodoprivkey" ( "label" rescan )
- importwallet "filename"
- keypoolrefill ( newsize )
- listaccounts ( minconf includeWatchonly)
- listaddressgroupings
- listlockunspent
- listreceivedbyaccount ( minconf includeempty includeWatchonly)
- listreceivedbyaddress ( minconf includeempty includeWatchonly)
- listsinceblock ( "blockhash" target-confirmations includeWatchonly)
- listtransactions ( "account" count from includeWatchonly)
- listunspent ( minconf maxconf ["address",...] )
- lockunspent unlock [{"txid":"txid","vout":n},...]
- move "fromaccount" "toaccount" amount ( minconf "comment" )
- resendwallettransactions
- sendfrom "fromaccount" "toKMDaddress" amount ( minconf "comment" "comment-to" )
- sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] )
- sendtoaddress "KMD_address" amount ( "comment" "comment-to" subtractfeefromamount )
- setaccount "KMD_address" "account"
- settxfee amount
- signmessage "KMD address" "message"
- z_exportkey "zaddr"
- z_exportviewingkey "zaddr"
- z_exportwallet "filename"
- z_getbalance "address" ( minconf )
- z_getnewaddress
- z_getoperationresult (["operationid", ... ])
- z_getoperationstatus (["operationid", ... ])
- z_gettotalbalance ( minconf includeWatchonly )
- z_importkey "zkey" ( rescan startHeight )
- z_importviewingkey "vkey" ( rescan startHeight )
- z_importwallet "filename"
- z_listaddresses ( includeWatchonly )
- z_listoperationids
- z_listreceivedbyaddress "address" ( minconf )
- z_mergetoaddress ["fromaddress", ... ] "toaddress" ( fee ) ( transparent_limit ) ( shielded_limit ) ( memo )
- z_sendmany "fromaddress" [{"address":... ,"amount":...},...] ( minconf ) ( fee )
- z_shieldcoinbase "fromaddress" "tozaddress" ( fee ) ( limit )
- zcbenchmark benchmarktype samplecount
- zcrawjoinsplit rawtx inputs outputs vpub_old vpub_new
- zcrawkeygen
- zcrawreceive zcsecretkey encryptednote
- zcsamplejoinsplit
All of this Komodod RPC information is from ./komodo-cli help
.
Back to API