Difference between revisions of "Cli commands"
From DeFiChain-Wiki
Robin Torque (talk | contribs) |
(Update Cli Commands) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
#accounthistorycount ( "owner" {"no_rewards":bool,"token":"str","txtype":"str"} ) | #accounthistorycount ( "owner" {"no_rewards":bool,"token":"str","txtype":"str"} ) | ||
#accounttoaccount "from" {"address":"str"} ( [{"txid":"hex","vout":n},...] ) | #accounttoaccount "from" {"address":"str"} ( [{"txid":"hex","vout":n},...] ) | ||
+ | ##Explanation: AccountToAccount sends from one account to many accounts. AnyAccountsToAccount can send from many accounts to many accounts | ||
#accounttoutxos "from" {"address":"str"} ( [{"txid":"hex","vout":n},...] ) | #accounttoutxos "from" {"address":"str"} ( [{"txid":"hex","vout":n},...] ) | ||
− | |||
#getaccount "owner" ( {"start":"str","including_start":bool,"limit":n} indexed_amounts ) | #getaccount "owner" ( {"start":"str","including_start":bool,"limit":n} indexed_amounts ) | ||
+ | #getburninfo | ||
#gettokenbalances ( {"start":"str","including_start":bool,"limit":n} indexed_amounts symbol_lookup ) | #gettokenbalances ( {"start":"str","including_start":bool,"limit":n} indexed_amounts symbol_lookup ) | ||
#listaccounthistory ( "owner" {"maxBlockHeight":n,"depth":n,"no_rewards":bool,"token":"str","txtype":"str","limit":n} ) | #listaccounthistory ( "owner" {"maxBlockHeight":n,"depth":n,"no_rewards":bool,"token":"str","txtype":"str","limit":n} ) | ||
#listaccounts ( {"start":"str","including_start":bool,"limit":n} verbose indexed_amounts is_mine_only ) | #listaccounts ( {"start":"str","including_start":bool,"limit":n} verbose indexed_amounts is_mine_only ) | ||
+ | #listburnhistory ( {"maxBlockHeight":n,"depth":n,"token":"str","txtype":"str","limit":n} ) | ||
#listcommunitybalances | #listcommunitybalances | ||
#sendtokenstoaddress {"address":"str"} {"address":"str"} ( "selectionMode" ) | #sendtokenstoaddress {"address":"str"} {"address":"str"} ( "selectionMode" ) | ||
+ | #sendutxosfrom "from" "to" amount ( "change" ) | ||
#utxostoaccount {"address":"str"} ( [{"txid":"hex","vout":n},...] ) | #utxostoaccount {"address":"str"} ( [{"txid":"hex","vout":n},...] ) | ||
Line 35: | Line 38: | ||
#gettxoutsetinfo | #gettxoutsetinfo | ||
#isappliedcustomtx ( "txid" blockHeight ) | #isappliedcustomtx ( "txid" blockHeight ) | ||
+ | #listgovs | ||
#preciousblock "blockhash" | #preciousblock "blockhash" | ||
#pruneblockchain height | #pruneblockchain height | ||
Line 40: | Line 44: | ||
#scantxoutset "action" [scanobjects,...] | #scantxoutset "action" [scanobjects,...] | ||
#setgov {"name":"str"} ( [{"txid":"hex","vout":n},...] ) | #setgov {"name":"str"} ( [{"txid":"hex","vout":n},...] ) | ||
+ | #setgovheight {"name":"str"} height ( [{"txid":"hex","vout":n},...] ) | ||
#verifychain ( checklevel nblocks ) | #verifychain ( checklevel nblocks ) | ||
#verifytxoutproof "proof" | #verifytxoutproof "proof" | ||
Line 53: | Line 58: | ||
== Generating == | == Generating == | ||
#generatetoaddress nblocks "address" ( maxtries ) | #generatetoaddress nblocks "address" ( maxtries ) | ||
+ | |||
+ | == Icxorderbook == | ||
+ | |||
+ | # icx_claimdfchtlc ( {"dfchtlcTx":"str","seed":"str"} [{"txid":"hex","vout":n},...] ) | ||
+ | # icx_closeoffer "offerTx" ( [{"txid":"hex","vout":n},...] ) | ||
+ | # icx_closeorder "orderTx" ( [{"txid":"hex","vout":n},...] ) | ||
+ | # icx_createorder {"tokenFrom|chainFrom":"str","chainTo|tokenTo":"str","ownerAddress":"str","receivePubkey":"str","amountFrom":n,"orderPrice":n,"expiry":n} ( [{"txid":"hex","vout":n},...] ) | ||
+ | # icx_getorder "orderTx" | ||
+ | # icx_listhtlcs {"offerTx":"str","limit":n,"closed":bool} | ||
+ | # icx_listorders ( {"token":n,"chain":n,"orderTx":"str","limit":n,"closed":bool} ) | ||
+ | # icx_makeoffer ( {"orderTx":"str","amount":n,"ownerAddress":"str","receivePubkey":"str","expiry":n} [{"txid":"hex","vout":n},...] ) | ||
+ | # icx_submitdfchtlc ( {"offerTx":"str","amount":n,"hash":"str","timeout":n} [{"txid":"hex","vout":n},...] ) | ||
+ | # icx_submitexthtlc ( {"offerTx":"str","amount":n,"htlcScriptAddress":"str","hash":"str","ownerPubkey":"str","timeout":n} [{"txid":"hex","vout":n},...] ) | ||
+ | |||
+ | == Loan == | ||
+ | |||
+ | # createloanscheme mincolratio interestrate "id" ( [{"txid":"hex","vout":n},...] ) | ||
+ | # destroyloanscheme "id" ( ACTIVATE_AFTER_BLOCK [{"txid":"hex","vout":n},...] ) | ||
+ | # getcollateraltoken "token" | ||
+ | # getinterest "id" ( "token" ) | ||
+ | # getloaninfo | ||
+ | # getloanscheme "id" | ||
+ | # getloantoken "token" | ||
+ | # listcollateraltokens ( {"height":n,"all":bool} ) | ||
+ | # listloanschemes | ||
+ | # listloantokens | ||
+ | # paybackloan {"vaultId":"hex","from":"str","amounts":"str"} ( [{"txid":"hex","vout":n},...] ) | ||
+ | # setcollateraltoken {"token":"str","factor":n,"fixedIntervalPriceId":"hex","activateAfterBlock":n} ( [{"txid":"hex","vout":n},...] ) | ||
+ | # setdefaultloanscheme "id" ( [{"txid":"hex","vout":n},...] ) | ||
+ | # setloantoken {"symbol":"str","name":"str","fixedIntervalPriceId":"hex","mintable":bool,"interest":n} ( [{"txid":"hex","vout":n},...] ) | ||
+ | # takeloan {"vaultId":"hex","to":"str","amounts":"str"} ( [{"txid":"hex","vout":n},...] ) | ||
+ | # updateloanscheme mincolratio interestrate "id" ( ACTIVATE_AFTER_BLOCK [{"txid":"hex","vout":n},...] ) | ||
+ | # updateloantoken "token" ( {"symbol":"str","name":"str","fixedIntervalPriceId":"hex","mintable":bool,"interest":n} [{"txid":"hex","vout":n},...] ) | ||
== Masternodes == | == Masternodes == | ||
Line 66: | Line 104: | ||
== Mining == | == Mining == | ||
#getblocktemplate ( "template_request" ) | #getblocktemplate ( "template_request" ) | ||
+ | #getmininginfo | ||
#getmintinginfo | #getmintinginfo | ||
#getnetworkhashps ( nblocks height ) | #getnetworkhashps ( nblocks height ) | ||
Line 73: | Line 112: | ||
== Network == | == Network == | ||
− | #addnode "node" "command" | + | #[[addnode]] "node" "command" |
#clearbanned | #clearbanned | ||
#disconnectnode ( "address" nodeid ) | #disconnectnode ( "address" nodeid ) | ||
Line 86: | Line 125: | ||
#setban "subnet" "command" ( bantime absolute ) | #setban "subnet" "command" ( bantime absolute ) | ||
#setnetworkactive state | #setnetworkactive state | ||
+ | |||
+ | == Oracles == | ||
+ | #appointoracle "address" [{"currency":"str","token":"str"},...] weightage ( [{"txid":"hex","vout":n},...] ) | ||
+ | #getfixedintervalprice "fixedIntervalPriceId" | ||
+ | #getoracledata "oracleid" | ||
+ | #getprice {"currency":"str","token":"str"} | ||
+ | #listfixedintervalprices ( {"start":n,"limit":n} ) | ||
+ | #listlatestrawprices ( {"currency":"str","token":"str"} {"start":"hex","including_start":bool,"limit":n} ) | ||
+ | #listoracles ( {"start":"hex","including_start":bool,"limit":n} ) | ||
+ | #listprices ( {"start":n,"including_start":bool,"limit":n} ) | ||
+ | #removeoracle "oracleid" ( [{"txid":"hex","vout":n},...] ) | ||
+ | #setoracledata "oracleid" timestamp [{"currency":"str","tokenAmount":"str"},...] ( [{"txid":"hex","vout":n},...] ) | ||
+ | #updateoracle "oracleid" "address" [{"currency":"str","token":"str"},...] weightage ( [{"txid":"hex","vout":n},...] ) | ||
== Poolpair == | == Poolpair == | ||
#addpoolliquidity {"address":"str"} "shareAddress" ( [{"txid":"hex","vout":n},...] ) | #addpoolliquidity {"address":"str"} "shareAddress" ( [{"txid":"hex","vout":n},...] ) | ||
+ | #compositeswap {"from":"str","tokenFrom":"str","amountFrom":n,"to":"str","tokenTo":"str","maxPrice":n} ( [{"txid":"hex","vout":n},...] ) | ||
#createpoolpair ( {"tokenA":"str","tokenB":"str","commission":n,"status":bool,"ownerAddress":"str","customRewards":"str","pairSymbol":"str"} [{"txid":"hex","vout":n},...] ) | #createpoolpair ( {"tokenA":"str","tokenB":"str","commission":n,"status":bool,"ownerAddress":"str","customRewards":"str","pairSymbol":"str"} [{"txid":"hex","vout":n},...] ) | ||
#getpoolpair "key" ( verbose ) | #getpoolpair "key" ( verbose ) | ||
Line 118: | Line 171: | ||
== Spv == | == Spv == | ||
+ | #spv_claimhtlc "scriptaddress" "destinationaddress" "seed" ( feerate ) | ||
#spv_createanchor ( [{"txid":"hex","vout":n,"amount":n,"privkey":"str"},...] ) "rewardAddress" ( send feerate ) | #spv_createanchor ( [{"txid":"hex","vout":n,"amount":n,"privkey":"str"},...] ) "rewardAddress" ( send feerate ) | ||
#spv_createanchortemplate "rewardAddress" | #spv_createanchortemplate "rewardAddress" | ||
+ | #spv_createhtlc "receiverPubkey" "ownerPubkey" "timeout" ( "seed" ) | ||
+ | #spv_decodehtlcscript "redeemscript" | ||
+ | #spv_dumpprivkey "address" | ||
#spv_estimateanchorcost ( feerate ) | #spv_estimateanchorcost ( feerate ) | ||
+ | #spv_getaddresspubkey "address" | ||
+ | #spv_getalladdresses | ||
+ | #spv_getbalance | ||
+ | #spv_getfeerate | ||
+ | #spv_gethtlcseed "address" | ||
+ | #spv_getnewaddress | ||
+ | #spv_getpeers | ||
+ | #spv_getrawtransaction "txid" | ||
#spv_gettxconfirmations "txhash" | #spv_gettxconfirmations "txhash" | ||
#spv_listanchorauths | #spv_listanchorauths | ||
Line 128: | Line 193: | ||
#spv_listanchorspending | #spv_listanchorspending | ||
#spv_listanchorsunrewarded | #spv_listanchorsunrewarded | ||
+ | #spv_listhtlcoutputs ( "address" ) | ||
+ | #spv_listreceivedbyaddress ( minconf "address_filter" ) | ||
+ | #spv_listtransactions | ||
+ | #spv_refundhtlc "scriptaddress" "destinationaddress" ( feerate ) | ||
+ | #spv_refundhtlcall "destinationaddress" ( feerate ) | ||
#spv_rescan ( height ) | #spv_rescan ( height ) | ||
#spv_sendrawtx "rawtx" | #spv_sendrawtx "rawtx" | ||
− | # | + | #spv_sendtoaddress "address" amount ( feerate ) |
#spv_syncstatus | #spv_syncstatus | ||
+ | #spv_validateaddress "address" | ||
== Tokens == | == Tokens == | ||
#createtoken ( {"symbol":"str","name":"str","isDAT":bool,"decimal":n,"limit":n,"mintable":bool,"tradeable":bool,"collateralAddress":"str"} [{"txid":"hex","vout":n},...] ) | #createtoken ( {"symbol":"str","name":"str","isDAT":bool,"decimal":n,"limit":n,"mintable":bool,"tradeable":bool,"collateralAddress":"str"} [{"txid":"hex","vout":n},...] ) | ||
+ | #decodecustomtx "hexstring" ( iswitness ) | ||
#getcustomtx "txid" ( "blockhash" ) | #getcustomtx "txid" ( "blockhash" ) | ||
#gettoken "key" | #gettoken "key" | ||
Line 149: | Line 221: | ||
#validateaddress "address" | #validateaddress "address" | ||
#verifymessage "address" "signature" "message" | #verifymessage "address" "signature" "message" | ||
+ | |||
+ | == Vault == | ||
+ | #closevault "vaultId" "to" ( [{"txid":"hex","vout":n},...] ) | ||
+ | #createvault "ownerAddress" ( "loanSchemeId" [{"txid":"hex","vout":n},...] ) | ||
+ | #deposittovault "vaultId" "from" "amount" ( [{"txid":"hex","vout":n},...] ) | ||
+ | #getvault "vaultId" | ||
+ | #listauctionhistory ( "owner" {"maxBlockHeight":n,"vaultId":"hex","index":n,"limit":n} ) | ||
+ | #listauctions ( {"start":obj,"including_start":bool,"limit":n} ) | ||
+ | #listvaults ( {"ownerAddress":"str","loanSchemeId":"str","state":"str","verbose":bool} {"start":"hex","including_start":bool,"limit":n} ) | ||
+ | #placeauctionbid "vaultId" index "from" "amount" ( [{"txid":"hex","vout":n},...] ) | ||
+ | #updatevault "vaultId" {"ownerAddress":"hex","loanSchemeId":"str"} ( [{"txid":"hex","vout":n},...] ) | ||
+ | #withdrawfromvault "vaultId" "to" "amount" ( [{"txid":"hex","vout":n},...] ) | ||
== Wallet == | == Wallet == |
Latest revision as of 17:30, 19 November 2021
Accounts
- accounthistorycount ( "owner" {"no_rewards":bool,"token":"str","txtype":"str"} )
- accounttoaccount "from" {"address":"str"} ( [{"txid":"hex","vout":n},...] )
- Explanation: AccountToAccount sends from one account to many accounts. AnyAccountsToAccount can send from many accounts to many accounts
- accounttoutxos "from" {"address":"str"} ( [{"txid":"hex","vout":n},...] )
- getaccount "owner" ( {"start":"str","including_start":bool,"limit":n} indexed_amounts )
- getburninfo
- gettokenbalances ( {"start":"str","including_start":bool,"limit":n} indexed_amounts symbol_lookup )
- listaccounthistory ( "owner" {"maxBlockHeight":n,"depth":n,"no_rewards":bool,"token":"str","txtype":"str","limit":n} )
- listaccounts ( {"start":"str","including_start":bool,"limit":n} verbose indexed_amounts is_mine_only )
- listburnhistory ( {"maxBlockHeight":n,"depth":n,"token":"str","txtype":"str","limit":n} )
- listcommunitybalances
- sendtokenstoaddress {"address":"str"} {"address":"str"} ( "selectionMode" )
- sendutxosfrom "from" "to" amount ( "change" )
- utxostoaccount {"address":"str"} ( [{"txid":"hex","vout":n},...] )
Blockchain
- clearmempool
- getbestblockhash
- getblock "blockhash" ( verbosity )
- getblockchaininfo
- getblockcount
- getblockfilter "blockhash" ( "filtertype" )
- getblockhash height
- getblockheader "blockhash" ( verbose )
- getblockstats hash_or_height ( stats )
- getchaintips
- getchaintxstats ( nblocks "blockhash" )
- getdifficulty
- getgov "name"
- getmempoolancestors "txid" ( verbose )
- getmempooldescendants "txid" ( verbose )
- getmempoolentry "txid"
- getmempoolinfo
- getrawmempool ( verbose )
- gettxout "txid" n ( include_mempool )
- gettxoutproof ["txid",...] ( "blockhash" )
- gettxoutsetinfo
- isappliedcustomtx ( "txid" blockHeight )
- listgovs
- preciousblock "blockhash"
- pruneblockchain height
- savemempool
- scantxoutset "action" [scanobjects,...]
- setgov {"name":"str"} ( [{"txid":"hex","vout":n},...] )
- setgovheight {"name":"str"} height ( [{"txid":"hex","vout":n},...] )
- verifychain ( checklevel nblocks )
- verifytxoutproof "proof"
Control
- getmemoryinfo ( "mode" )
- getrpcinfo
- help ( "command" )
- logging ( ["include_category",...] ["exclude_category",...] )
- stop
- uptime
Generating
- generatetoaddress nblocks "address" ( maxtries )
Icxorderbook
- icx_claimdfchtlc ( {"dfchtlcTx":"str","seed":"str"} [{"txid":"hex","vout":n},...] )
- icx_closeoffer "offerTx" ( [{"txid":"hex","vout":n},...] )
- icx_closeorder "orderTx" ( [{"txid":"hex","vout":n},...] )
- icx_createorder {"tokenFrom|chainFrom":"str","chainTo|tokenTo":"str","ownerAddress":"str","receivePubkey":"str","amountFrom":n,"orderPrice":n,"expiry":n} ( [{"txid":"hex","vout":n},...] )
- icx_getorder "orderTx"
- icx_listhtlcs {"offerTx":"str","limit":n,"closed":bool}
- icx_listorders ( {"token":n,"chain":n,"orderTx":"str","limit":n,"closed":bool} )
- icx_makeoffer ( {"orderTx":"str","amount":n,"ownerAddress":"str","receivePubkey":"str","expiry":n} [{"txid":"hex","vout":n},...] )
- icx_submitdfchtlc ( {"offerTx":"str","amount":n,"hash":"str","timeout":n} [{"txid":"hex","vout":n},...] )
- icx_submitexthtlc ( {"offerTx":"str","amount":n,"htlcScriptAddress":"str","hash":"str","ownerPubkey":"str","timeout":n} [{"txid":"hex","vout":n},...] )
Loan
- createloanscheme mincolratio interestrate "id" ( [{"txid":"hex","vout":n},...] )
- destroyloanscheme "id" ( ACTIVATE_AFTER_BLOCK [{"txid":"hex","vout":n},...] )
- getcollateraltoken "token"
- getinterest "id" ( "token" )
- getloaninfo
- getloanscheme "id"
- getloantoken "token"
- listcollateraltokens ( {"height":n,"all":bool} )
- listloanschemes
- listloantokens
- paybackloan {"vaultId":"hex","from":"str","amounts":"str"} ( [{"txid":"hex","vout":n},...] )
- setcollateraltoken {"token":"str","factor":n,"fixedIntervalPriceId":"hex","activateAfterBlock":n} ( [{"txid":"hex","vout":n},...] )
- setdefaultloanscheme "id" ( [{"txid":"hex","vout":n},...] )
- setloantoken {"symbol":"str","name":"str","fixedIntervalPriceId":"hex","mintable":bool,"interest":n} ( [{"txid":"hex","vout":n},...] )
- takeloan {"vaultId":"hex","to":"str","amounts":"str"} ( [{"txid":"hex","vout":n},...] )
- updateloanscheme mincolratio interestrate "id" ( ACTIVATE_AFTER_BLOCK [{"txid":"hex","vout":n},...] )
- updateloantoken "token" ( {"symbol":"str","name":"str","fixedIntervalPriceId":"hex","mintable":bool,"interest":n} [{"txid":"hex","vout":n},...] )
Masternodes
- createmasternode "ownerAddress" ( "operatorAddress" [{"txid":"hex","vout":n},...] )
- getanchorteams ( blockHeight )
- getmasternode "mn_id"
- getmasternodeblocks ( {"id":"hex","ownerAddress":"str","operatorAddress":"str"} depth )
- listanchors
- listcriminalproofs ( {"start":"hex","including_start":bool,"limit":n} )
- listmasternodes ( {"start":"hex","including_start":bool,"limit":n} verbose )
- resignmasternode "mn_id" ( [{"txid":"hex","vout":n},...] )
Mining
- getblocktemplate ( "template_request" )
- getmininginfo
- getmintinginfo
- getnetworkhashps ( nblocks height )
- prioritisetransaction "txid" ( dummy ) fee_delta
- submitblock "hexdata" ( "dummy" )
- submitheader "hexdata"
Network
- addnode "node" "command"
- clearbanned
- disconnectnode ( "address" nodeid )
- getaddednodeinfo ( "node" )
- getconnectioncount
- getnettotals
- getnetworkinfo
- getnodeaddresses ( count )
- getpeerinfo
- listbanned
- ping
- setban "subnet" "command" ( bantime absolute )
- setnetworkactive state
Oracles
- appointoracle "address" [{"currency":"str","token":"str"},...] weightage ( [{"txid":"hex","vout":n},...] )
- getfixedintervalprice "fixedIntervalPriceId"
- getoracledata "oracleid"
- getprice {"currency":"str","token":"str"}
- listfixedintervalprices ( {"start":n,"limit":n} )
- listlatestrawprices ( {"currency":"str","token":"str"} {"start":"hex","including_start":bool,"limit":n} )
- listoracles ( {"start":"hex","including_start":bool,"limit":n} )
- listprices ( {"start":n,"including_start":bool,"limit":n} )
- removeoracle "oracleid" ( [{"txid":"hex","vout":n},...] )
- setoracledata "oracleid" timestamp [{"currency":"str","tokenAmount":"str"},...] ( [{"txid":"hex","vout":n},...] )
- updateoracle "oracleid" "address" [{"currency":"str","token":"str"},...] weightage ( [{"txid":"hex","vout":n},...] )
Poolpair
- addpoolliquidity {"address":"str"} "shareAddress" ( [{"txid":"hex","vout":n},...] )
- compositeswap {"from":"str","tokenFrom":"str","amountFrom":n,"to":"str","tokenTo":"str","maxPrice":n} ( [{"txid":"hex","vout":n},...] )
- createpoolpair ( {"tokenA":"str","tokenB":"str","commission":n,"status":bool,"ownerAddress":"str","customRewards":"str","pairSymbol":"str"} [{"txid":"hex","vout":n},...] )
- getpoolpair "key" ( verbose )
- listpoolpairs ( {"start":n,"including_start":bool,"limit":n} verbose )
- listpoolshares ( {"start":n,"including_start":bool,"limit":n} verbose is_mine_only )
- poolswap {"from":"str","tokenFrom":"str","amountFrom":n,"to":"str","tokenTo":"str","maxPrice":n} ( [{"txid":"hex","vout":n},...] )
- removepoolliquidity "from" "amount" ( [{"txid":"hex","vout":n},...] )
- testpoolswap ( {"from":"str","tokenFrom":"str","amountFrom":n,"to":"str","tokenTo":"str","maxPrice":n} )
- updatepoolpair ( {"pool":"str","status":bool,"commission":n,"ownerAddress":"str","customRewards":"str"} [{"txid":"hex","vout":n},...] )
Rawtransactions
- analyzepsbt "psbt"
- combinepsbt ["psbt",...]
- combinerawtransaction ["hexstring",...]
- converttopsbt "hexstring" ( permitsigdata iswitness )
- createpsbt [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount},{"data":"hex"},...] ( locktime replaceable)
- createrawtransaction [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount},{"data":"hex"},...] ( locktime replaceable )
- decodepsbt "psbt"
- decoderawtransaction "hexstring" ( iswitness )
- decodescript "hexstring"
- finalizepsbt "psbt" ( extract )
- fundrawtransaction "hexstring" ( options iswitness )
- getrawtransaction "txid" ( verbose "blockhash" )
- joinpsbts ["psbt",...]
- sendrawtransaction "hexstring" ( maxfeerate )
- signrawtransactionwithkey "hexstring" ["privatekey",...] ( [{"txid":"hex","vout":n,"scriptPubKey":"hex","redeemScript":"hex","witnessScript":"hex","amount":amount},...] "sighashtype" )
- testmempoolaccept ["rawtx",...] ( maxfeerate )
- utxoupdatepsbt "psbt" ( ["",{"desc":"str","range":n or [n,n]},...] )
Spv
- spv_claimhtlc "scriptaddress" "destinationaddress" "seed" ( feerate )
- spv_createanchor ( [{"txid":"hex","vout":n,"amount":n,"privkey":"str"},...] ) "rewardAddress" ( send feerate )
- spv_createanchortemplate "rewardAddress"
- spv_createhtlc "receiverPubkey" "ownerPubkey" "timeout" ( "seed" )
- spv_decodehtlcscript "redeemscript"
- spv_dumpprivkey "address"
- spv_estimateanchorcost ( feerate )
- spv_getaddresspubkey "address"
- spv_getalladdresses
- spv_getbalance
- spv_getfeerate
- spv_gethtlcseed "address"
- spv_getnewaddress
- spv_getpeers
- spv_getrawtransaction "txid"
- spv_gettxconfirmations "txhash"
- spv_listanchorauths
- spv_listanchorrewardconfirms
- spv_listanchorrewards
- spv_listanchors ( minBtcHeight maxBtcHeight minConfs maxConfs )
- spv_listanchorspending
- spv_listanchorsunrewarded
- spv_listhtlcoutputs ( "address" )
- spv_listreceivedbyaddress ( minconf "address_filter" )
- spv_listtransactions
- spv_refundhtlc "scriptaddress" "destinationaddress" ( feerate )
- spv_refundhtlcall "destinationaddress" ( feerate )
- spv_rescan ( height )
- spv_sendrawtx "rawtx"
- spv_sendtoaddress "address" amount ( feerate )
- spv_syncstatus
- spv_validateaddress "address"
Tokens
- createtoken ( {"symbol":"str","name":"str","isDAT":bool,"decimal":n,"limit":n,"mintable":bool,"tradeable":bool,"collateralAddress":"str"} [{"txid":"hex","vout":n},...] )
- decodecustomtx "hexstring" ( iswitness )
- getcustomtx "txid" ( "blockhash" )
- gettoken "key"
- listtokens ( {"start":n,"including_start":bool,"limit":n} verbose )
- minttokens "amounts" ( [{"txid":"hex","vout":n},...] )
- updatetoken "token" ( {"symbol":"str","name":"str","isDAT":bool,"mintable":bool,"tradeable":bool,"finalize":bool} [{"txid":"hex","vout":n},...] )
Util
- createmultisig nrequired ["key",...] ( "address_type" )
- deriveaddresses "descriptor" ( range )
- estimatesmartfee conf_target ( "estimate_mode" )
- getdescriptorinfo "descriptor"
- signmessagewithprivkey "privkey" "message"
- validateaddress "address"
- verifymessage "address" "signature" "message"
Vault
- closevault "vaultId" "to" ( [{"txid":"hex","vout":n},...] )
- createvault "ownerAddress" ( "loanSchemeId" [{"txid":"hex","vout":n},...] )
- deposittovault "vaultId" "from" "amount" ( [{"txid":"hex","vout":n},...] )
- getvault "vaultId"
- listauctionhistory ( "owner" {"maxBlockHeight":n,"vaultId":"hex","index":n,"limit":n} )
- listauctions ( {"start":obj,"including_start":bool,"limit":n} )
- listvaults ( {"ownerAddress":"str","loanSchemeId":"str","state":"str","verbose":bool} {"start":"hex","including_start":bool,"limit":n} )
- placeauctionbid "vaultId" index "from" "amount" ( [{"txid":"hex","vout":n},...] )
- updatevault "vaultId" {"ownerAddress":"hex","loanSchemeId":"str"} ( [{"txid":"hex","vout":n},...] )
- withdrawfromvault "vaultId" "to" "amount" ( [{"txid":"hex","vout":n},...] )
Wallet
- abandontransaction "txid"
- abortrescan
- addmultisigaddress nrequired ["key",...] ( "label" "address_type" )
- backupwallet "destination"
- bumpfee "txid" ( options )
- createwallet "wallet_name" ( disable_private_keys blank "passphrase" avoid_reuse )
- dumpprivkey "address"
- dumpwallet "filename"
- encryptwallet "passphrase"
- getaddressesbylabel "label"
- getaddressinfo "address"
- getbalance ( "dummy" minconf include_watchonly avoid_reuse with_tokens )
- getbalances ( with_tokens )
- getnewaddress ( "label" "address_type" )
- getrawchangeaddress ( "address_type" )
- getreceivedbyaddress "address" ( minconf )
- getreceivedbylabel "label" ( minconf )
- gettransaction "txid" ( include_watchonly )
- getunconfirmedbalance ( with_tokens )
- getwalletinfo ( with_tokens )
- importaddress "address" ( "label" rescan p2sh )
- importmulti "requests" ( "options" )
- importprivkey "privkey" ( "label" rescan )
- importprunedfunds "rawtransaction" "txoutproof"
- importpubkey "pubkey" ( "label" rescan )
- importwallet "filename"
- keypoolrefill ( newsize )
- listaddressgroupings
- listlabels ( "purpose" )
- listlockunspent
- listreceivedbyaddress ( minconf include_empty include_watchonly "address_filter" )
- listreceivedbylabel ( minconf include_empty include_watchonly )
- listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
- listtransactions ( "label" count skip include_watchonly exclude_custom_tx )
- listunspent ( minconf maxconf ["address",...] include_unsafe query_options )
- listwalletdir
- listwallets
- loadwallet "filename"
- lockunspent unlock ( [{"txid":"hex","vout":n},...] )
- removeprunedfunds "txid"
- rescanblockchain ( start_height stop_height )
- sendmany "" {"address":amount} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode" )
- sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode"avoid_reuse )
- sethdseed ( newkeypool "seed" )
- setlabel "address" "label"
- settxfee amount
- setwalletflag "flag" ( value )
- signmessage "address" "message"
- signrawtransactionwithwallet "hexstring" ( [{"txid":"hex","vout":n,"scriptPubKey":"hex","redeemScript":"hex","witnessScript":"hex","amount":amount},...] "sighashtype" )
- unloadwallet ( "wallet_name" )
- walletcreatefundedpsbt [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount},{"data":"hex"},...] ( locktime options bip32derivs )
- walletlock
- walletpassphrase "passphrase" timeout
- walletpassphrasechange "oldpassphrase" "newpassphrase"
- walletprocesspsbt "psbt" ( sign "sighashtype" bip32derivs )
Zmq
- getzmqnotifications