[Solved] Cant Transfer coins in wallet

Why is it that every incoming transfer is sort of isolated , even though they are to the same address?

to explain:

if I do a getinfo, I get that my current balance is: 0.00600359
and when I do a listunspent, I get the details of these, each in its own incoming transaction, for example

{
    "txid" : "fbce71e91f932f160a7e6abda63327b2a407dd23ca035a877ff0adb4b99e3d0b",
    ................
   "amount" : 0.00091808,
    "confirmations" : 4988,
    "spendable" : true
},
{
    "txid" : "8839556f6b4e482c3a5c813e96ada31160afe2b3a0cfa045c01ffede1ad01e15",
    .........
    "amount" : 0.00002745,
    "confirmations" : 1295,
    "spendable" : true
},

etc.

but if I try to send the total amount out, it seems that each amount is isolated on its own!??

put in another way, how can i send out my entire 0.00600359 ?!

actually this is what i get now:

>     {
>         "id" : "opid-b987af63-683d-452c-8acf-9ece2079c533",
>         "status" : "failed",
>         "creation_time" : 1479154659,
>         "error" : {
>             "code" : -6,
>             "message" : "Could not] find any non-coinbase UTXOs to spend."
>         }
>     }

???

How about sending it in two different transactions. Right now, you have two utxo. even though your balance is a sum of all those but you can't send out the entire balance at once. It depends on your utxo. I'm new to this so, I could be wrong.

what exactly is "utxo" ?

ok ... this is what i have:

{
    "txid" : "fbce71e91f932f160a7e6abda63327b2a407dd23ca035a877ff0adb4b99e3d0b",
    "vout" : 1,
    "address" : "t1Pv9MRGGJsJdSxKugq97KZjpFb9cKMvY6P",
    "scriptPubKey" : "76a914424bc0cff8b7a8e51a725bcf6e2778a8ce913d2988ac",
    "amount" : 0.00091808,
    "confirmations" : 6125,
    "spendable" : true
},
{
    "txid" : "8839556f6b4e482c3a5c813e96ada31160afe2b3a0cfa045c01ffede1ad01e15",
    "vout" : 1,
    "address" : "t1NZvyojWGP1HDECpEHCizLCTwncZfFgNxT",
    "scriptPubKey" : "76a9143380fae163e2f6fae09b017e7929a10cb228cff688ac",
    "amount" : 0.00002745,
    "confirmations" : 2432,
    "spendable" : true
},
{
    "txid" : "9dd563d98d6ab39b92cfb2e24c4fbfaa67da025f3d3202f4bfc9c2f9ecbe221a",
    "vout" : 1,
    "address" : "t1NZvyojWGP1HDECpEHCizLCTwncZfFgNxT",
    "scriptPubKey" : "76a9143380fae163e2f6fae09b017e7929a10cb228cff688ac",
    "amount" : 0.00087604,
    "confirmations" : 546,
    "spendable" : true
},
{
    "txid" : "3cac01c03ee04b3f63b0027c4adc7b06a7630f86982685e40bcd0fdf53198f3e",
    "vout" : 1,
    "address" : "t1NZvyojWGP1HDECpEHCizLCTwncZfFgNxT",
    "scriptPubKey" : "76a9143380fae163e2f6fae09b017e7929a10cb228cff688ac",
    "amount" : 0.00042782,
    "confirmations" : 3145,
    "spendable" : true
},
{
    "txid" : "f3dd7363bf57eb92056c137184db131d24402e24854e0cc4f7ec6b9293947247",
    "vout" : 1,
    "address" : "t1YdAUvR2J6So2NrZhYkcS2eXjcrfTTbNrH",
    "scriptPubKey" : "76a914a1cec1b18973256748750d03e340f9f229ebfe4788ac",
    "amount" : 0.00046193,
    "confirmations" : 4879,
    "spendable" : true
},
{
    "txid" : "e46bccc1361ed08d25390ae5003404a8b6906d99b792a323a514db9413fc3951",
    "vout" : 1,
    "address" : "t1NZvyojWGP1HDECpEHCizLCTwncZfFgNxT",
    "scriptPubKey" : "76a9143380fae163e2f6fae09b017e7929a10cb228cff688ac",
    "amount" : 0.00060165,
    "confirmations" : 1868,
    "spendable" : true
},
{
    "txid" : "db29bc224bd4fe5934ce9dda941cb05acc9767bcba1aac7df15199eecea6d068",
    "vout" : 1,
    "address" : "t1NZvyojWGP1HDECpEHCizLCTwncZfFgNxT",
    "scriptPubKey" : "76a9143380fae163e2f6fae09b017e7929a10cb228cff688ac",
    "amount" : 0.00097880,
    "confirmations" : 1159,
    "spendable" : true
},
{
    "txid" : "788c9b99612e0612eff75cf8bf684708af7df15eb35fbc0f5cb5b9d3618aeb73",
    "vout" : 1,
    "address" : "t1NZvyojWGP1HDECpEHCizLCTwncZfFgNxT",
    "scriptPubKey" : "76a9143380fae163e2f6fae09b017e7929a10cb228cff688ac",
    "amount" : 0.00019879,
    "confirmations" : 6,
    "spendable" : true
},
{
    "txid" : "54440a21ef9b0984925e7ce30e80176531448cb5bcaa56acfca8d84295071581",
    "vout" : 1,
    "address" : "t1gq9SjeVKSp19x2RDmnJkYoNXEFZJgqFFt",
    "scriptPubKey" : "76a914fbd3e361e0acbda5bbf00e5c0363d4fa1c50336d88ac",
    "amount" : 0.00192717,
    "confirmations" : 3654,
    "spendable" : true
},
{
    "txid" : "f9fdaf61073743197524af0cd8b9f876608ded4d6484e6a635a02101b4adcaa9",
    "vout" : 1,
    "address" : "t1R2iG9fPqcmbth5wkysBJJMXCTiUCwYCoT",
    "scriptPubKey" : "76a9144e81d88d6334cb1f96e527f937e2be6088e4dbc988ac",
    "amount" : 0.00011777,
    "confirmations" : 4200,
    "spendable" : true
},
{
    "txid" : "1b83e5382919f3568141126c1ac564046a96d3cb6f104188c0f18dab9579bcb2",
    "vout" : 1,
    "address" : "t1Pv9MRGGJsJdSxKugq97KZjpFb9cKMvY6P",
    "scriptPubKey" : "76a914424bc0cff8b7a8e51a725bcf6e2778a8ce913d2988ac",
    "amount" : 0.00008017,
    "confirmations" : 7042,
    "spendable" : true
},
{
    "txid" : "8d9e76ced2ab4b7dfa656503e6ab3f8348d43a21fb9c222b7a2701ece82022cc",
    "vout" : 1,
    "address" : "t1NZvyojWGP1HDECpEHCizLCTwncZfFgNxT",
    "scriptPubKey" : "76a9143380fae163e2f6fae09b017e7929a10cb228cff688ac",
    "amount" : 0.00046275,
    "confirmations" : 1347,
    "spendable" : true
}

and when i do a z_gettotalbalance ... this is what i get:

{
"transparent" : "0.00707842",
"private" : "0.00",
"total" : "0.00707842"
}

how can i move these "0.00707842" ?!

unspent transactions. Your total balance is a sum of all the unspent transactions.

i think i finally figured this out :)))

ok ... lets see if this makes any sense, for some reason in order to move the coins to the z-addr, i have to use the address listed in the "listunspent" ... example:

{
    "txid" : "fbce71e91f932f160a7e6abda63327b2a407dd23ca035a877ff0adb4b99e3d0b",
    "vout" : 1,
    "address" : "t1Pv9MRGGJsJdSxKugq97KZjpFb9cKMvY6P",
    "scriptPubKey" : "76a914424bc0cff8b7a8e51a725bcf6e2778a8ce913d2988ac",
    "amount" : 0.00091808,
    "confirmations" : 6762,
    "spendable" : true
},

so i have to use the "t1Pv9MRGGJsJdSxKugq97KZjpFb9cKMvY6P" as the from address and set my z-addr as the to address (and of course deduct 0.0001 from the amount), so the sendmany command will look like this:

./zcash-cli z_sendmany "t1Pv9MRGGJsJdSxKugq97KZjpFb9cKMvY6P" "[{\"address\": \"zcG47QGy8g2md2uUg6dtQBKgT75hz4bJ1974rmdTsNAEV4Tg4PVDDdnWhCX9sL2aHX7oY4szJqkmBTb8ziLGXRwGSK2Cn1E\", \"amount\": 0.00081808}]"

now i managed to move a couple of these fraction coins into my z-addr, yet a couple gave the following:

{
    "id" : "opid-b1db3984-a80b-4527-a1a5-5e826d1d5097",
    "status" : "failed",
    "creation_time" : 1479328939,
    "error" : {
        "code" : -26,
        "message" : "64: dust"
    }
},

why is that not mentioned in any of the wiki pages!!! that when you get coins into your t-addr from another t-addr (listunspent), in order to move them to your z-addr, you have to use the t-addr that was sent to you from, and not yours!!!

I got this exact error, it was because i was sending way too much. But I see your total amount and the amount you are sending, it should work. This is my thread:

Solved