Im trying to send what is left in my wallet 4.59048152 DCR i also tested to send 3 DCR and i get -32603: insufficient funds available to construct transaction eeeee what is wrong?
Your funds might be locked. Stop all ticket buying and check : getbalancetomaintain setbalancetomaintain getbalance default 0 all getbalance default 0 fullscan getbalance default 0 spendable getbalance default 0 locked walletinfo settxfee
walletinfo "daemonconnected": true "unlocked": true, "txfee": 0.01, "ticketfee": 0.01, "ticketmaxprice": 50, "balancetomaintain": 0, "stakemining": false getbalance default 0 all 4.59048152 getbalance default 0 spendable 0.59048152 getbalance default 0 locked 4 can i unlock this 4 DCR?
No, locked funds are the result of purchasing tickets and thus must remain locked until either the ticket is selected to vote or it expires (which happens 40960 blocks, or roughly 4.7 months, after the ticket is purchased if it has not been selected by then).
One more - quite important thing. You have "stakemining": false and it means your wallet is not doing PoS and you are loosing tickets called to vote (unless your PoS pool or your other redundant wallet votes for you). And the wallet has to be unlocked too (as you have it). I found that the hard way.