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

Function HelpExampleRpc

src/rpcserver.cpp:535–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535std::string HelpExampleRpc(string methodname, string args){
536 return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", "
537 "\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/\n";
538}
539
540void RPCRegisterTimerInterface(RPCTimerInterface *iface)
541{

Callers 15

getblockcountFunction · 0.85
getbestblockhashFunction · 0.85
getdifficultyFunction · 0.85
getrawmempoolFunction · 0.85
getblockhashFunction · 0.85
getblockheaderFunction · 0.85
getblockFunction · 0.85
gettxoutsetinfoFunction · 0.85
gettxoutFunction · 0.85
verifychainFunction · 0.85
getblockchaininfoFunction · 0.85
getchaintipsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected