Can't send money, what am I doing wrong?

{
    "version" : 1000250,
    "protocolversion" : 170002,
    "walletversion" : 60000,
    "balance" : 0.00100461,
    "blocks" : 10408,
    "timeoffset" : 0,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 388908.45207076,
    "testnet" : false,
    "keypoololdest" : 1478397135,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00005000,
    "errors" : ""
}

Initially I send it like this:

 ./src/zcash-cli z_sendmany "$TADDR" "[{\"address\": \"$DEPO\", \"amount\": 0.00100000}]"

Then I realized it maybe be now enough left for transaction fee.

So, I resent it with less amount:

 ./src/zcash-cli z_sendmany "$TADDR" "[{\"address\": \"$DEPO\", \"amount\": 0.00090000}]"

In either case it gave me hash on the command prompt. I did not get any error. Money has still no been sent. So, what is going on here?

Hi nsakic,

you can check the status of z_sendmany using: ./src/zcash-cli z_getoperationresult

This will display success if the operation was fine or an error message if something went wrong.

So,I tried again to send the money, and ran that command, this is what I got:

[
   ` {`
        "id" : "opid-109e59a8-c328-4bf9-894e-86a3e6477ddf",
        "status" : "failed",
        "creation_time" : 1479162985,
        "error" : {
            "code" : -26,
            "message" : "64: dust"
        }
    }
]

I'm not exactly sure what this error message means. But maybe it doesn't let you leave a really small ZEC amount (dust) in your account. Try to send everything except the 0.0001 fee, like this:

./src/zcash-cli z_sendmany "$TADDR" "[{\"address\": \"$DEPO\", \"amount\": 0.00090461}]"

wow ...that worked:

[
    {
        "id" : "opid-c55fde0b-7bef-444e-8298-139887fea268",
        "status" : "success",
        "creation_time" : 1479163573,
        "result" : {
            "txid" : "0e6d59eb761cc7aed70df5c7bac54f737931e66b54976c8def0fa0c5eedfc7c3"
        },
        "execution_secs" : 0.03507891
    }
]

Thanks! :slight_smile:

1 Like