A web based interface to the Bitcoin API JSON-RPC

Command: listaccounts

The listaccounts RPC lists accounts and their balances.

Parameter #1—the minimum number of confirmations a transaction must have
Parameter #2—whether to include watch-only addresses in results
Result—a list of accounts and their balances

The minimum number of confirmations an externally-generated transaction must have before it is counted towards the balance. Transactions generated by this node are counted immediately. Typically, externally-generated transactions are payments to this wallet and transactions generated by this node are payments to other wallets. Use 0 to count unconfirmed transactions. Default is 1.
If set to true, include watch-only addresses in details and calculations as if they were regular addresses belonging to the wallet. If set to false (the default), treat watch-only addresses as if they didn’t belong to this wallet.
{
	"result": {
		"": 0.00018656,
		" 18JrwSxm327bSD8JXbjBkfo3XfgyVeGmyH": 0.00000000,
		" c9c918f0_24_q": 0.00000000,
		"!(()&&!|*|*|": 0.00000000,
		"\"\"": 0.00000000,
		"\"+response.write(9969290*9353791)+\"": 0.00000000,
		"$(nslookup Gy0kBST5)": 0.00000000,
		"${10000160+9999721}": 0.00000000,
		"&nslookup gQxqbhh1&'\\\"`0&nslookup gQxqbhh1&`'":0.00000000,"''":0.00000000,"'+response.write(9969290*9353791)+'":0.00000000,"'a'":0.00000000,"(select(0)from(select(sleep(9)))v)/*'+(select(0)from(select(sleep(9)))v)+'\"+(select(0)from(select(sleep(9)))v)+\"*/":0.00000000,")":0.00000000,"+639264006029":0.00000000,"+639270018444":0.00000000,"-1); waitfor delay '0: 0: 6' -- ":0.00000000,"-1; waitfor delay '0: 0: 3' -- ":0.00000000,"..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd%00.jpg":0.00000000,"../../../../../../../../../../../../../../../proc/version":0.00000000,"../../../../../../../../../../etc/passwd":0.00000000,"../../../../../../../../../../etc/passwd\u0000.jpg":0.00000000,".\\\\./.\\\\./.\\\\./.\\\\./.\\\\./.\\\\./etc/passwd":0.00000000,"/../..//../..//../..//../..//../..//etc/passwd\u0000.jpg":0.00000000,"/etc/passwd":0.00000000,"05E083685A1097CE1EA9E91987AB9E94EAE33D8A130A248433":0.00000000,"073":0.00000000,"073e3377":0.00000000,"073e33770f":0.00000000,"073e33770f3":0.00000000,"073e33770f3f":0.00000000,"073e33770f3f3":0.00000000,"073e33770f3f3e":0.00000000,"073e33770f3f3e0":0.00000000,"073e33770f3f3e01":0.00000000,"09351787393":0.00000000,"1":0.00000000,"1*1*1*4111111111111111":0.00000000,"11QJCuXRxvCc41nedSJQDoiAmPG7FEnNu":0.00000000,"12":0.00000000,"12\"'`--":0.00000000,"12)":0.00000000,"123123123":0.00000000,"12345'\"\\'\\\");|]*\u0000{\r\n<\u0000>?''💩": 0.00000000,
		"12mBz4ZH7xdLM2TPM2LKNn42xhKmJ4csTN": 0.00000000,
		"14RQbWPBvpBsPdqFWSVkQGrGw96DLaQb2w": 0.00000000,
		"14c4": 0.00000000,
		"14c4b06": 0.00000000,
		"14c4b06b": 0.00000000,
		"14c4b06bs": 0.00000000,
		"14fjHpAWdkaPhi8GWndsBei76t6ZrGESzq": 0.00000000,
		"15urYnyeJe3gwbGJ74wcX89Tz7ZtsFDVew": 0.00000000,
		"17zfSfSWdvd22goP3QaxMMohQbxuFvoAGc": 0.00000000,
		"18UZJTZyBhBFcCg8ZmvVXZKFRfqAjohLA8": 0.00000000,
		"18tAZirSJ9h1iaqFcieHtUJv6yyx11gqbxACAD": 0.00000000,
		"19Y4oZgo6xAEAW4jAM7XuBGQa6pwEh57nQ": 0.00000000,
		"19j9hVM8rLf1XgPbBQ939CSyRhojgcnUh": 0.00000000,
		"19xecYkMM561hBSmHXFzuXeeKtKKCcRMx8": 0.00000000,
		"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa": 0.00000000,
		"1BSVBfrgTNy7qduFvM8r3TZa3CGcF2vQSB": 0.00000000,
		"1BqDF3vMSTwQrzzpgsRVAHkw6H1WiiQpFA": 0.00000000,
		"1C1VFKB": 0.00000000,
		"1CK6KHY6MHgYvmRQ4PAafKYDrg1ejbH1cE": 0.00000000,
		"1D338tzP9cRnz4AVyzZ76yfvvUQVpJfznu": 0.00000000,
		"1DVEhVsBPPf7f3ozGqjzkf7Q896KVcik5m ": 0.00000000,
		"1FF8xhjs2eQtGBPsNgsz2R9sSBR7ziJxwY": 0.00000000,
		"1H1kB9kvRgj1H7EJXKHYK1rMqUggGXoPyH": 0.00000000,
		"1HM7yRAkYKsjAjM6wdCLNYKQwMXsDVRT5w": 0.00000000,
		"1Hz96kJKF2HLPGY15JWLB5m9qGNxvt8tHJ": 0.00000000,
		"1JYRN11qfT3DMDXBnPzLcYPzX6KJGP39qv": 0.00000000,
		"1K3QovFjbXG9HMYSfTE8WMc7EHhhpJSGwT": 0.00000000,
		"1KFHE7w8BhaENAswwryaoccDb6qcT6DbYY": 0.00000000,
		"1KennyH9grzif79WbaQDHpqgTnm25j4rRj": 0.00000000,
		"1KpLHyRMcsdyZSy4z7MgrLLY7tGfA2k9RZ": 0.00000000,
		"1MAWuCTwbi6mKLkn6B5NMVrd5QUADLQDqc": 0.00000000,
		"1MEyPSxYkaRq4uLshw5k8wk86kpr2Y9PEt": 0.00000000,
		"1MgTvZvQZR7KtCcGrYsdWofq7ve6A85D7P": 0.00000000,
		"1Mz7153HMuxXTuR2R1t78mGSdzaAtNbBWX": 0.00000000,
		"1NJ7Qhf9oV6eL8ZQCoqLmTagpEwNDJUBcs": 0.00000000,
		"1PHG1AoZJ5yyg6MV2fkqYCuDDik2NTfzfm": 0.00000000,
		"1PXwUQ4wkdhhLMDoQFKAUojEJF2aParqdo": 0.00000000,
		"1PvHsqRK8XDn6yCXo1FQ4C4ppYVZUSGnXE": 0.00000000,
		"1some_inexistent_file_with_long_name\u0000.jpg": 0.00000000,
		"2": 0.00000000,
		"3": 0.00000000,
		"3997ec296bdc4d7c521369c64d84ebb170cf9263ebc40d2b568e22059b02f0f5": 0.00000000,
		"39v2SctAiS6JeFhbrbiCBmwkxSaY4RkGPv": 0.00000000,
		"3D2oetdNuZUqQHPJmcMDDHYoqkyNVsFk9r": 0.00000000,
		"3DCzgE4RiMMF1NSLgrDUaxwL5WHzoHvteq": 0.00000000,
		"3QzYvaRFY6bakFBW4YBRrzmwzTnfZcaA6E": 0.00000000,
		"3zgjR8Cf": 0.00000000,
		"4111111111111111": 0.00000000,
		"4111111111111111&n956020=v907823": 0.00000000,
		"4ea0e24057028422c822cd70b5626e7a15f6f87bfcc7eea562396eb1bd909b7d": 0.00000000,
		"7376c2a234": 0.00000000,
		"7376c2a2344af5a81cf705f347487038": 0.00000000,
		"A7e5RpBX73b6S6HKK7zYQSFCbsE5Fh2FUgftt8gwHvgg": 0.00000000,
		"Alain Mike C Aquino": 0.00000000,
		"C9C918F0": 0.00000000,
		"C9C918F024": 0.00000000,
		"C9C918F024Q": 0.00000000,
		"C9C918F024q": 0.00000000,
		"Carmi Margarette B Sorila": 0.00000000,
		"Carmi Sorila": 0.00000000,
		"CryptomineVT": 0.00000000,
		"Http://testasp.vulnweb.com/t/fit.txt": 0.00000000,
		"Invent": 0.00000000,
		"K8T2WQ6f": 0.00000000,
		"LajyQBeZaBA1NkZDeY8YT5RYYVRkXMvb2T": 0.00000000,
		"MY BITCOIN WALLET": 0.00000000,
		"My Test Account": 0.00000000,
		"Tawi": 0.00000000,
		"Xxxx": 0.00000000,
		"^(#$!@#$)(()))******": 0.00000000,
		"a": 0.00000000,
		"aa": 0.00000000,
		"abc": 0.00000000,
		"acaquino2016@gmail.com": 0.00000000,
		"agsdfgt14c4b06basd332": 0.00000000,
		"alec": 0.00000000,
		"alex": 0.00000000,
		"alfa": 0.00000000,
		"antimage3114": 0.00001000,
		"asd": 0.00000000,
		"asdds": 0.00000000,
		"asdsa": 0.00000000,
		"bbb": 0.00000000,
		"bbbb": 0.00000000,
		"bbbbb": 0.00000000,
		"bigyella": 0.00000000,
		"bill": 0.00000000,
		"c9c918f0": 0.00000000,
		"coolbro": 0.00000000,
		"ddd": 0.00000000,
		"ddddddddd": 0.00000000,
		"ded": 0.00000000,
		"dfpool": 0.00000000,
		"dzwigar": 0.00000000,
		"e56a7af26bc039c6": 0.00000000,
		"gaofei": 0.00000000,
		"gaofei ": 0.00000000,
		"hakan": 0.00000000,
		"http://some-inexistent-website.acu/some_inexistent_file_with_long_name?.jpg": 0.00000000,
		"http://testasp.vulnweb.com/t/fit.txt?.jpg": 0.00000000,
		"if(now()=sysdate(),sleep(9),0)/*'XOR(if(now()=sysdate(),sleep(9),0))OR'\"XOR(if(now()=sysdate(),sleep(9),0))OR\"*/": 0.00000000,
		"kampret": 0.00000000,
		"lady.cms28@gmail.com": 0.00000000,
		"lemoncoin": 0.00000000,
		"mateusz": 0.00000000,
		"mharry": 0.00000000,
		"mike": 0.00000000,
		"mjCBuDis7Vf9CJrXrgWpJrZ6A3Q76je7gu": 0.00000000,
		"mmg9VZrUF1dTfhrYtEMgEadTCbyT1uPHUb": 0.00000000,
		"move": 0.00000000,
		"mqbK2A8Db1TFaZoprY8eHq8Vbpc2JaPG1X": 0.00000000,
		"muUsw66rLXWP1PrneWaNofJkoMmW5pqU7p": 0.00000000,
		"mvGNoZSb3Mg9drUVpK6CftCNA2ZhKx6ATv": 0.00000000,
		"nazar": 0.00000000,
		"pizza": 0.00000000,
		"poop": 0.00000000,
		"purwanto.priyono@ge.com": 0.00000000,
		"q1": 0.00000000,
		"qqqqqqqqqqqq": 0.00000000,
		"rNZp3Cu3RpXwdXVjozSXc6VR9wNnLingpd": 0.00000000,
		"ransomware": 0.00000000,
		"response.write(9969290*9353791)": 0.00000000,
		"s": 0.00000000,
		"sadasdas": 0.00000000,
		"sadsadsa": 0.00000000,
		"samantha.smith.012087@gmail.com": 0.00000000,
		"sdfsfs": 0.00000000,
		"set|set&set": 0.00000000,
		"shamsik": 0.00000000,
		"shamsudin": 0.00000000,
		"spiderpic": 0.00000000,
		"sssssssssssss": 0.00000000,
		"test": 0.00000000,
		"tprv8ZgxMBicQKsPdV3rf9rc9SMLtuotW5kMAV7UPJ6pXkWifuuPbvpsfoQrMknvt8ZuLg4WWwP9up3bugpDAGt3yUsyfCDWMS9E53GuLihY9Lk": 0.00000000,
		"virtex": 0.00000000,
		"vova": 0.00000000,
		"vova1234": 0.00000000,
		"ww": 0.00000000,
		"xxx": 0.00000000,
		"xz": 0.00000000,
		"y2gmTzk2X3CjmP2fzMT1pITrt": 0.00000000,
		"y2gmTzk2X3CjmP2fzMT1pITrtrbWsf": 0.00000000,
		"ддд": 0.00000000,
		"цва": 0.00000000
	},
	"error": null,
	"id": null
}
listaccounts ( minconf include_watchonly)

DEPRECATED. Returns Object that has account names as keys, account balances as values.

Arguments:
1. minconf             (numeric, optional, default=1) Only include transactions with at least this many confirmations
2. include_watchonly   (bool, optional, default=false) Include balances in watch-only addresses (see 'importaddress')

Result:
{                      (json object where keys are account names, and values are numeric balances
  "account": x.xxx,  (numeric) The property name is the account name, and the value is the total balance for the account.
  ...
}

Examples:

List account balances where there at least 1 confirmation
> bitcoin-cli listaccounts 

List account balances including zero confirmation transactions
> bitcoin-cli listaccounts 0

List account balances for 6 or more confirmations
> bitcoin-cli listaccounts 6

As json rpc call
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/