I'm having an issue trying to use prepareunlockspent in c# using rpc. the JSO that is being sent (before it is byte encoded) looks like:
{\"method\":\"preparelockunspent\",\"params\":[\"'{\\\"asset1\\\":1000}'\"],\"chain_name\":\"test1\",\"chain_key\":null,\"int\":0}
But when I issue a GetResponse, I get a 500 internal server error.
Digging deeper the underlying error is :
"{\"result\":null,\"error\":{\"code\":-1,\"message\":\"value is type str, expected real\"},\"id\":null}\n"
Any thoughts?
Andrew