convert to btcrpcclient
sync varname