# JSON RPC The next list of JSON RPC calls where used for plugin development. For response examples see spec/resources: * getbalance `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345` * getblock `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["754d4a0d346a84d710985935f9d403e346e6d889cf89fe45b37168791ad0d9c6"] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345` * getblockcount `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345` * getblockhash `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [11576] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345 ` * getnewaddress `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345 ` * listaddressgroupings `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345` * sendtoaddress `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["GTeo8ZGtKfn1Q2qSB5mpcJZPBaHTAifanw", 0.5] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345` * methodnotfound `curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "methodnotfound", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:8345`