MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / HelpExampleRpc

Function HelpExampleRpc

src/rpc/util.cpp:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201std::string HelpExampleRpc(const std::string& methodname, const std::string& args)
202{
203 return "> curl --user myusername --data-binary '{\"jsonrpc\": \"2.0\", \"id\": \"curltest\", "
204 "\"method\": \"" + methodname + "\", \"params\": [" + args + "]}' -H 'content-type: application/json' http://127.0.0.1:8332/\n";
205}
206
207std::string HelpExampleRpcNamed(const std::string& methodname, const RPCArgList& args)
208{

Callers 15

getzmqnotificationsFunction · 0.85
getnewaddressFunction · 0.85
getrawchangeaddressFunction · 0.85
setlabelFunction · 0.85
listaddressgroupingsFunction · 0.85
keypoolrefillFunction · 0.85
getaddressinfoFunction · 0.85
getaddressesbylabelFunction · 0.85
listlabelsFunction · 0.85
removeprunedfundsFunction · 0.85
listdescriptorsFunction · 0.85
backupwalletFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGETFunction · 0.68