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.00385000,
		"\t1111111111111111111114oLvT2": 0.00000000,
		" ": 0.00000000,
		" 1JxmvHh2pxnX3mmJrnKuPaCWFfwKSJsA1P": 0.00000000,
		"\" \"": 0.00000000,
		"\"\"": 0.00000000,
		"\"myaccount\"": 0.00000000,
		"''": 0.00000000,
		"00": 0.00000000,
		"000000000000000000000000000000000000000001fa4423fa272878f6785d4e": 0.00000000,
		"00000000e971a5014d9f7a70e26b223dbb68a51c4a6340824ef8deca00a30430": 0.00000000,
		"000a6b825daa1b89f8e100ed8eec6d79b592500f49": 0.00000000,
		"0200000001854b12e14242b955b2a914faa2e0f96013ada80886c0ec1faec2df9391be2d7b40ba01006b483045022100b9815d775d8ce5cff38e17d334f4e5455dfb7ba8ebfb7d29e94bc1bedd68ffba022006dfb55876a09a7ae7b6b292e24e7648ebd4a55ab2cfcdb2da94d1da005aa0cd01210255f2ff4c1b6597da00d87985de6b3d79ac7cf0f20a2997293fb7fc137b3fdb94ffffffff0140ba0100000000001976a914be016eccb7983e536b8c01c6aec759d09a2acd2988ac00000000": 0.00000000,
		"02b61bd2d292fa68": 0.00000000,
		"03b1da33a37847c32b14668fdc432e8f9ede3e4cf2d95e8dfee4d03c463f59c71b": 0.00000000,
		"0fae0a8666f1a151fbb46638cf205c71800e3400": 0.00000000,
		"0x15f8b720f89a9f08d0cfca77ffb27441f13331bf": 0.00000000,
		"1": 0.00000000,
		"100": 0.00000000,
		"11": 0.00000000,
		"1155994": 0.00000000,
		"12": 0.00000000,
		"121": 0.00000000,
		"123": 0.00000000,
		"123123123": 0.00000000,
		"1234567890": 0.00000000,
		"12KGAcU47BhCSQJCN9r2dHAvhDALMVsJkk": 0.00000000,
		"12ucbzm5u44Fqbd4CoE3GZwyEkrEx5JEkX": 0.00000000,
		"12vWqXykY7KVqgULaMYNeeq2qp2eLFHgFz": 0.00000000,
		"12wbp9ZXpG17AxMrscnfX5n6kDbgR6sLfE": 0.00000000,
		"13117066659": 0.00000000,
		"13GZXiBdmiS3WqDBYaK4wqdZqVNoZQiGRh": 0.00000000,
		"13hC5FDc4TCzTqHfs5oZFqeGh": 0.00000000,
		"13hC5FDc4TCzTqHfs5oZFqeGhKVDRuDEzp": 0.00000000,
		"13jKFpN5qPcU53bCCTStPRcPhbq6iWWnvi": 0.00000000,
		"14MLXcRZKJLKGshLKQkPbcGS3NdELKBZZ": 0.00000000,
		"1510": 0.00000000,
		"159AUSeRR4A2HS7HCyetG86gB6z9PLyW4h": 0.00000000,
		"15ETmFMrT6be8jqS8jFeaBEadhSSe65vMj": 0.00000000,
		"15nMWix4rnpr7HaZkvfMVkdFf2YbUtaGsj": 0.00000000,
		"15qEZaqHVyoWcfXvgGn6pGhaDvYTxVxyfv": 0.00000000,
		"168o1kqNquEJeR9vosUB5fw4eAwcVAgh8P": 0.00000000,
		"16WYj3RRCG85jgLZPEXwQVJcmuCCaXLo8c": 0.00000000,
		"16joGLwXLjKdJux6nngMsAEtWnj32Dq3TE": 0.00000000,
		"188888ZKZutFfYHv4sxoxiMNfb8rinHsDu": 0.00000000,
		"18vo1ZVS5kN2SngCxGyEvi39JbjbJUgbf7": 0.00000000,
		"1BMiU4ESQaD8JgnWQizryUiLEh4WxDMgPx": 0.00000000,
		"1CUUa8yPrG5ETv6NkwNyim2zrWmYe8D7nK": 0.00000000,
		"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX": 0.00000000,
		"1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX": 0.00000000,
		"1FJuzzQFVMbiMGw6JtcXefdD64amy7mSCF": 0.00000000,
		"1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF": 0.00000000,
		"1FeexVnWDoi35V4DodRvAMLUxgwrniadhP\t": 0.00000000,
		"1FvM7hjQ6RZ8QBWksy35Bp4ofSnofkDc3M": 0.00000000,
		"1GVY5eZvtc5bA6EFEGnpqJeHUC5YaV5dsb": 0.00000000,
		"1GdK9UzpHBzqzX2A9JFP3Di4weBwqgmoQA": 0.00000000,
		"1HSqyCH5mF6jbRcySed5ds8hxLEiNDDevm": 0.00000000,
		"1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E": 0.00000000,
		"1Hy6ErDDM3kEJZb3VfdjkKDFZ49bw4yeAQ": 0.00000000,
		"1KbwVVqavL1p1QYG26M16SubXywQac7Atg": 0.00000000,
		"1Kr6QSydW9bFQG1mXiPNNu6WpJGmUa9i1g": 0.00000000,
		"1MDj968Zeics81wCZHYp4eW4r91GJfh4qe": 0.00000000,
		"1MTgV5nfjSJq3TqXnCtMJLbe6S8sW4pier": 0.00000000,
		"1MdYC22Gmjp2ejVPCxyYjFyWbQCYTGhGq8 ": 0.00000000,
		"1NBMQjJNfBC2MGErZK2TyJnAzw5Bo8Ad9": 0.00000000,
		"1NDyJtNTjmwk5xPNhjgAMu4HDHigtobu1s": 0.00000000,
		"1NrWLfHh4YwGTgyM9J48sysRYZLCs8jvNW": 0.00000000,
		"1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc": 0.00000000,
		"1Po1oWkD2LmodfkBYiAktwh76vkF93LKnh": 0.00000000,
		"1Proofn4XbGRE9Puxd594A4XPjEMzpppKK": 0.00000000,
		"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp": 0.00000000,
		"1feexv6bahb8ybzjqqmjjrccrhgw9sb6uf": 0.00000000,
		"2": 0.00000000,
		"210011": 0.00000000,
		"23": 0.00000000,
		"2MtSTLukSEvbrc4TQhhT9knxULoMDfahMPC": 0.00000000,
		"2MzzYNywZ1hkG2Ap8j2ygKMYdCnotmBKKQi": 0.00000000,
		"2N4TvxvrGMAuELrYn8HxpoHrQGMo96bwg88": 0.00000000,
		"2ND1WiVAeKja8hZDBdvQAfP6pbZ1aAxA2fY": 0.00000000,
		"2a60c1e6f9de84e1dca837f640c42b5d33da566b412e9dcc81ccabce2a9fc7b6": 0.00000000,
		"3": 0.00000000,
		"310": 0.00000000,
		"32NFcoB96ANoPnqycLH9WUd94o7bwRyq66": 0.00000000,
		"32rgsmj8RQLTySZMDezTGhebxG3mv9LYUU": 0.00000000,
		"3422VtS7UtCvXYxoXMVp6eZupR252z85oC": 0.00000000,
		"34mdFM2iVkkgYHEXPnqtH4FZTodWbyxf7q": 0.00000000,
		"37AVg5dAnotnUwi91zRdhbuMSDzD2seQFg": 0.00000000,
		"38n2cX9XiQ3itj6Vif5LZ2fnpms1chQzZR ": 0.00000000,
		"394UDC6q22U1DnW1Vi8kWfgErDJaeuhaZ2": 0.00000000,
		"39PDZscW7RkNYvb4uXW6SbkwtaWe8S9Vo3": 0.00000000,
		"39hh1NY9xyTKzawD8zFKXgXa7XBwqck6BR": 0.00000000,
		"3ABhhjq1dTzguv6xnXwN9d4uJX1P7WFUn7": 0.00000000,
		"3BMEX1bdLfSRwSLLChSQEeGSXCqmxzS8QW": 0.00000000,
		"3BPtidQSm2mx8wyDmwea4VDQpYndjUepvd": 0.00000000,
		"3BWbzEk6B4nKovFa3oDkjx1yMJmCQ9LPiY": 0.00000000,
		"3BafJ8zr4RfMHrSKAgdau5XUf6Z3RhZNYC": 0.00000000,
		"3D2oetdNuZUqQHPJmcMDDHYoqkyNVsFk9r": 0.00000000,
		"3E26DMaTHMHPFcDKY53xVqqdsWauskcckK": 0.00000000,
		"3E9dwHmfowWbShT13WkJCtDk3xHVYmNKK4": 0.00000000,
		"3FkenCiXpSLqD8L79intRNXUgjRoH9sjXa": 0.00000000,
		"3FpF7pxYM9999213ik8teSmYc5uyFR1b6v": 0.00000000,
		"3G6ncpneYwxcrobccpVUevpk8o3sR2P9oX": 0.00000000,
		"3GxJTU2jzQjZQGwoDwHgCxnrE4A15i2LYe": 0.00000000,
		"3H4X31j1pHswncoeasRjJt7TKBJLZz6ABE": 0.00000000,
		"3LJAKgJXtEPDNTkNSj3BdtfNXiyp8Uf9ey": 0.00000000,
		"3LbBftXPhBmByAqgpZqx61ttiFfxjde2z7": 0.00000000,
		"3MWvffeLJHG6xGe8qbL2hS5uaBH5Gcxgwv": 0.00000000,
		"3NgejEdMVZcCUAffp2fRd8LTtRPjiaN1h6": 0.00000000,
		"3NoHq9FRxebKhqYUb8JTHkPP73XZiAFRNz": 0.00000000,
		"3P8hMLKqZbkbyLpZoNU1zn8YhgYyasYDvu": 0.00000000,
		"3P9TLMbaV7uotQuSsMZsH9sNW2GmHpEfTF": 0.00000000,
		"3PVTEaHbTV19xJn7NUkAi8oyifeK4boxER": 0.00000000,
		"3PjmWJdsdvAySBU1HQC5qicHQJM1h8D7ek": 0.00000000,
		"3Qrip9qftSedRSkcMQ2ECfN5UkkEfVcYsT": 0.00000000,
		"3Qrm7K5XkMPEaJ6iZ3CMB7TCQKWC9MeWrf": 0.00000000,
		"40867621-094c-4d67-a9c6-1e64942f11f6": 0.00000000,
		"4111111111111111": 0.00000000,
		"46f9b255551f2a95": 0.00000000,
		"536ffa992491508dca0354e52f32a3a7a679a53a": 0.00000000,
		"555": 0.00000000,
		"666": 0.00000000,
		"67e8359ab5053e2b99ba455b9dfd8c8944872263968e8b987b3cfad34658238d": 0.00000000,
		"6PnX1irfmtygUAAqbSm96kVL1ATxCQ4oqKPZ9G7Vn1QTJ1M9rLNcrLPACb": 0.00000000,
		"70449891": 0.00000000,
		"76a914662367a3d78a4b0fcbb3020b3d724981d10934f688ac": 0.00000000,
		"7be4ae11-6c07-442b-93ac-ef6bea35de36": 0.00000000,
		"8d955cd41246dd293ed09a2cfb97319759dc73e926641eed09a447227a530138": 0.00000000,
		"9": 0.00000000,
		"<test>": 0.00000000,
		"Account 2": 0.00000000,
		"Areg": 0.00000000,
		"BRAIN WALLET": 0.00000000,
		"BTCa0877f2a-d892-484c-9dfa-f680b68fc09e": 0.00000000,
		"Binance": 0.00000000,
		"Blockchain": 0.00000000,
		"Blockcypher": 0.00000000,
		"CYYBER": 0.00000000,
		"Cloacal": 0.00000000,
		"CoinBase": 0.00000000,
		"Damai": 0.00000000,
		"Default Address": 0.00000000,
		"DmjxaD1vHoKgZTgrpobhLWmg2kWBdUM1qErFK5KxUBzd": 0.00000000,
		"Donate": 0.00000000,
		"Dtgh": 0.00000000,
		"George S": 0.00000000,
		"Hayro": 0.00000000,
		"KgCf5tWNkvhDSH91aZVYcAcyWjSPpfXMAR": 0.00000000,
		"Logan": 0.00000000,
		"MFDsW6693ptSxZ75PYybXpXvE6jFyENALs": 0.00000000,
		"MTP": 0.00000000,
		"My account": 0.00000000,
		"Pbm": 0.00000000,
		"Phungmobile": 0.00000000,
		"Polinex": 0.00000000,
		"R4jAtUyuL": 0.00000000,
		"SKURWYSYNNNN": 0.00000000,
		"Satoshi": 0.00000000,
		"Stevensmith@gmail.com": 0.00000000,
		"Sweetescape": 0.00000000,
		"Sweettalker12345": 0.00000000,
		"Test": 0.00000000,
		"Uri levine": 0.00000000,
		"V1_10": 0.00000000,
		"Wallet": 0.00000000,
		"Wallet.dat": 0.00000000,
		"[\"myaccount\"]": 0.00000000,
		"a0b0d60e5991578ed37cbda2b17d8b2ce23ab295": 0.00000000,
		"a1": 0.00000000,
		"a2": 0.00000000,
		"a721caa39233676ccd3dc0509d0b93a6bc55fb52": 0.00000000,
		"a88d623c7cabec37ed35600707f5d588894b339089a3c7aee819b026c4291c38": 0.00000000,
		"aa": 0.00000000,
		"aaron": 0.00000000,
		"aba": 0.00000000,
		"abc": 0.00000000,
		"account": 0.00000000,
		"addr": 0.00000000,
		"admin": 0.00000000,
		"adr": 0.00000000,
		"afdsfasdf": 0.00000000,
		"alien": 0.00000000,
		"allexx9": 0.00000000,
		"anirudhs": 0.00000000,
		"asd": 0.00000000,
		"asda": 0.00000000,
		"asdf": 0.00000000,
		"asdfaf": 0.00000000,
		"asdfasf": 0.00000000,
		"asss": 0.00000000,
		"b5d7522115fdb8e8": 0.00000000,
		"b_itmisung0911@nate.com16525": 0.00000000,
		"bc1qdl753ur9ucwa3cgfrud2nqvu7k69dykk3cwwx6g64a5szn3xw92sp8mc7a": 0.00000000,
		"bchtest:qzkr07vqzl2qszl9p8xar8h6hdjg4xep8c7sqc42ll": 0.00000000,
		"bfabbceedfbf9cc651a09148ba2de75b6008ba89": 0.00000000,
		"bitcoin-cli -testnet getaccountaddress \"pearson\"": 0.00000000,
		"bitcoinchain": 0.00000000,
		"bitnetven": 0.00000000,
		"bko": 0.00000000,
		"bob": 0.00000000,
		"btc_test_account_hdswqzxk": 0.00000000,
		"bxcvbxcvb": 0.00000000,
		"caihua": 0.00000000,
		"cat": 0.00000000,
		"cfe67380811c90ac": 0.00000000,
		"chandra": 0.00000000,
		"chitra@sellbitbuy.net": 0.00000000,
		"committee-account": 0.00000000,
		"curl -u admin:admin123 -X POST -H 'Content-Type: application/json' -i 'http://localhost:6666' --data '{\"jsonrpc\":\"1.0\",\"id\":\"1\",\"method\":\"getaddressesbyaccount\",\"params\":[\"\"]}'": 0.00000000,
		"d4293b6a282ff348e2ed2959dee90a691e21c66b": 0.00000000,
		"d4f94674f0e13387b84e8b3d877e9c458bf00f170a2707ce5fc202084c5d2d0e ": 0.00000000,
		"d5d016e1ba3a3a6a3502fb5cb112e2c56f15ed72be9dd3832408dff6c051f773": 0.00000000,
		"d5f69d71fdddd5f776734eb67b6ef5d5b7fa7796b7739e9eeb7ddbd36e9d739e1ce5ce9dd5e7387f7ef669ee5bf77d7d": 0.00000000,
		"damian": 0.00000000,
		"dasd2sad1aad2": 0.00000000,
		"daves": 0.00000000,
		"dawdwa": 0.00000000,
		"dawdwad": 0.00000000,
		"default": 0.00000000,
		"demo21": 0.00000000,
		"dengsen": 0.00000000,
		"df4b01d0c8cfe3a8610754c933e161bd160ff9b131e67c84fee5e2b1ffa78a24": 0.00000000,
		"dfdfsdfdsfsfsf": 0.00000000,
		"dfdssfsfs": 0.00000000,
		"dumpwallet": 0.00000000,
		"e2c32495edd63a965505aa174d9a7727b3d88841fb19e0fa8162a9a7102a1644": 0.00000000,
		"eee": 0.00000000,
		"eertertt": 0.00000000,
		"eu": 0.00000000,
		"f9cd73edbe1e1035": 0.00000000,
		"fido": 0.00000000,
		"flodse": 0.00000000,
		"foo": 0.00000000,
		"fsf": 0.00000000,
		"fwef": 0.00000000,
		"getaccountaddress": 0.00000000,
		"getreceivedbyaddress": 0.00000000,
		"gfric": 0.00000000,
		"gold": 0.00000000,
		"grger": 0.00000000,
		"heber": 0.00000000,
		"hello": 0.00000000,
		"help": 0.00000000,
		"hola": 0.00000000,
		"hsthh": 0.00000000,
		"jhn": 0.00000000,
		"jmlim": 0.00000000,
		"josh withers": 0.00000000,
		"k2kaveh": 0.00000000,
		"karen": 0.00000000,
		"kc": 0.00000000,
		"keypay_1": 0.00000000,
		"libel": 0.00000000,
		"listaccounts": 0.00000000,
		"listaddressgroupings": 0.00000000,
		"lugers": 0.00000000,
		"main": 0.00000000,
		"markphilipps": 0.00000000,
		"mau": 0.00000000,
		"me": 0.00000000,
		"mgeRaGrxAQEvHhJ1DWoRnURVwTryo9jBEg": 0.00000000,
		"minmempoolfee": 0.00000000,
		"mmmm": 0.00000000,
		"musfita": 0.00000000,
		"my account": 0.00000000,
		"myaccount": 0.00000000,
		"mzS2GvKpQiEbNJtgNKG17jZBjvznS8LZLt": 0.00000000,
		"nakamoto": 0.00000000,
		"newWallet": 0.00000000,
		"oke": 0.00000000,
		"oklol": 0.00000000,
		"owen": 0.00000000,
		"password": 0.00000000,
		"payment": 0.00000000,
		"prt20180627": 0.00000000,
		"q": 0.00000000,
		"qwe": 0.00000000,
		"qwery": 0.00000000,
		"radich": 0.00000000,
		"rakko": 0.00000000,
		"ramarao": 0.00000000,
		"ramirez": 0.00000000,
		"raoawdaOlivio": 0.00000000,
		"rewrewrewr": 0.00000000,
		"rick_peng": 0.00000000,
		"roslan": 0.00000000,
		"ruslandudka": 0.00000000,
		"s": 0.00000000,
		"sam": 0.00000000,
		"sam chung": 0.00000000,
		"samchung": 0.00000000,
		"sample.walletname.bit": 0.00000000,
		"satoshi": 0.00000000,
		"sdvs": 0.00000000,
		"setaccount": 0.00000000,
		"sfdsff": 0.00000000,
		"ss": 0.00000000,
		"stephen w c moore": 0.00000000,
		"system": 0.00000000,
		"test": 0.00000000,
		"test1": 0.00000000,
		"test111": 0.00000000,
		"test123": 0.00000000,
		"test5": 0.00000000,
		"test6": 0.00000000,
		"testWallet": 0.00000000,
		"testuser1": 0.00000000,
		"thang.nguyencao@gmail.com": 0.00000000,
		"tokhunts": 0.00000000,
		"totAL": 0.00000000,
		"toto": 0.00000000,
		"tst": 0.00000000,
		"user_easticoin": 0.00000000,
		"v1_17": 0.00000000,
		"v1_18": 0.00000000,
		"vvv": 0.00000000,
		"wallet.dat": 0.00000000,
		"war.scp3@gmail.com": 0.00000000,
		"ware": 0.00000000,
		"wefwe": 0.00000000,
		"www": 0.00000000,
		"xm_tianxiaowei": 0.00000000,
		"xpub6CT4W9tpLcA7W1nEUfeja7HMUD6hYZc8Lj7MXNN42pqNi8hwtoE5BbHaj3AecfbXBrhYUigHmUqWazS6KcjQmA7xt9xdDxxfNVjtwgiCA11": 0.00000000,
		"zS2GvKpQiEbNJtgNKG17jZBjvznS8LZLt": 0.00000000,
		"“2MtATFhdFctQwgTsEtVYVxk7fHqARnEZsQ8”": 0.00000000,
		"金": 0.00000000,
		"��mmü\u000b\u0011l<FFo�\u001c�\u0017����x�Yv�H�ᏼ�ߩ�\u0001\u0006e\u0006\u00014 }�%�D\u0004/slush/": 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/