Skip to content

Instantly share code, notes, and snippets.

@laanwj
Last active March 13, 2017 08:44
Show Gist options
  • Save laanwj/f55638598c697452199014b4faa6d679 to your computer and use it in GitHub Desktop.
Save laanwj/f55638598c697452199014b4faa6d679 to your computer and use it in GitHub Desktop.
Bitcoin Core 0.14.x RPC functions with named arguments
abandontransaction(txid)
addmultisigaddress(nrequired, keys, account)
addnode(node, command)
addwitnessaddress(address)
backupwallet(destination)
bumpfee(txid, options)
clearbanned()
createmultisig(nrequired, keys)
createrawtransaction(transactions, outputs, locktime)
decoderawtransaction(hexstring)
decodescript(hexstring)
disconnectnode(node)
dumpprivkey(address)
dumpwallet(filename)
echo(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
echojson(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
encryptwallet(passphrase)
estimatefee(nblocks)
estimatesmartfee(nblocks)
fundrawtransaction(hexstring, options)
generate(nblocks, maxtries)
generatetoaddress(nblocks, address, maxtries)
getaccount(address)
getaccountaddress(account)
getaddednodeinfo(node)
getaddressesbyaccount(account)
getbalance(account, minconf, include_watchonly)
getbestblockhash()
getblock(blockhash, verbose)
getblockchaininfo()
getblockcount()
getblockhash(height)
getblockheader(blockhash, verbose)
getblocktemplate(template_request)
getchaintips()
getconnectioncount()
getdifficulty()
getinfo()
getmemoryinfo()
getmempoolancestors(txid, verbose)
getmempooldescendants(txid, verbose)
getmempoolentry(txid)
getmempoolinfo()
getmininginfo()
getnettotals()
getnetworkhashps(nblocks, height)
getnetworkinfo()
getnewaddress(account)
getpeerinfo()
getrawchangeaddress()
getrawmempool(verbose)
getrawtransaction(txid, verbose)
getreceivedbyaccount(account, minconf)
getreceivedbyaddress(address, minconf)
gettransaction(txid, include_watchonly)
gettxoutproof(txids, blockhash)
gettxoutsetinfo()
gettxout(txid, n, include_mempool)
getunconfirmedbalance()
getwalletinfo()
help(command)
importaddress(address, label, rescan, p2sh)
importmulti(requests, options)
importprivkey(privkey, label, rescan)
importprunedfunds(rawtransaction, txoutproof)
importpubkey(pubkey, label, rescan)
importwallet(filename)
invalidateblock(blockhash)
keypoolrefill(newsize)
listaccounts(minconf, include_watchonly)
listaddressgroupings()
listbanned()
listlockunspent()
listreceivedbyaccount(minconf, include_empty, include_watchonly)
listreceivedbyaddress(minconf, include_empty, include_watchonly)
listsinceblock(blockhash, target_confirmations, include_watchonly)
listtransactions(account, count, skip, include_watchonly)
listunspent(minconf, maxconf, addresses, include_unsafe)
lockunspent(unlock, transactions)
move(fromaccount, toaccount, amount, minconf, comment)
ping()
preciousblock(blockhash)
prioritisetransaction(txid, fee_delta)
pruneblockchain(height)
reconsiderblock(blockhash)
removeprunedfunds(txid)
resendwallettransactions()
sendfrom(fromaccount, toaddress, amount, minconf, comment, comment_to)
sendmany(fromaccount, amounts, minconf, comment, subtractfeefrom)
sendrawtransaction(hexstring, allowhighfees)
sendtoaddress(address, amount, comment, comment_to, subtractfeefromamount)
setaccount(address, account)
setban(subnet, command, bantime, absolute)
setmocktime(timestamp)
setnetworkactive(state)
settxfee(amount)
signmessage(address, message)
signmessagewithprivkey(privkey, message)
signrawtransaction(hexstring, prevtxs, privkeys, sighashtype)
stop()
submitblock(hexdata, parameters)
validateaddress(address)
verifychain(checklevel, nblocks)
verifymessage(address, signature, message)
verifytxoutproof(proof)
waitforblock(blockhash, timeout)
waitforblockheight(height, timeout)
waitfornewblock(timeout)
walletlock()
walletpassphrasechange(oldpassphrase, newpassphrase)
walletpassphrase(passphrase, timeout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment