"getreceivedbyaddress \"PHCaddress\" ( minconf )\n\nReturns the total amount received by the given PHCaddress in transactions with at least minconf confirmations.\n\nArguments:\n1. \"PHCaddress\" (string, required) The PHC address for transactions.\n2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n\nResult:\namount (numeric) The total amount in PHC received at this address.\n\nExamples:\n\nThe amount from transactions with at least 1 confirmation\n> phcd getreceivedbyaddress \"TfFxcTN7BJQp88cPJYRvFpUAAKefTib9uh\"\n\nThe amount including unconfirmed transactions, zero confirmations\n> phcd getreceivedbyaddress \"TfFxcTN7BJQp88cPJYRvFpUAAKefTib9uh\" 0\n\nThe amount with at least 10 confirmation, very safe\n> phcd getreceivedbyaddress \"TfFxcTN7BJQp88cPJYRvFpUAAKefTib9uh\" 10\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getreceivedbyaddress\", \"params\": [\"TfFxcTN7BJQp88cPJYRvFpUAAKefTib9uh\", 10] }' -H 'content-type: text\/plain;' http:\/\/127.0.0.1:9998\/\n(Error Code: -1)"