MCPcopy Create free account
hub / github.com/ElementsProject/elements / HelpExampleRpc

Function HelpExampleRpc

src/rpc/util.cpp:189–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189std::string HelpExampleRpc(const std::string& methodname, const std::string& args)
190{
191 return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\": \"curltest\", "
192 "\"method\": \"" + methodname + "\", \"params\": [" + args + "]}' -H 'content-type: text/plain;' http://127.0.0.1:7041/\n";
193}
194
195std::string HelpExampleRpcNamed(const std::string& methodname, const RPCArgList& args)
196{

Callers 15

getzmqnotificationsFunction · 0.85
getnewaddressFunction · 0.85
getrawchangeaddressFunction · 0.85
setlabelFunction · 0.85
listaddressgroupingsFunction · 0.85
addmultisigaddressFunction · 0.85
keypoolrefillFunction · 0.85
newkeypoolFunction · 0.85
getaddressinfoFunction · 0.85
getaddressesbylabelFunction · 0.85
listlabelsFunction · 0.85
importprivkeyFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGETFunction · 0.68