public function reset(int $scanHeight = null):JsonResponse
    {
        $params = [];

        if (!is_null($scanHeight)) $params['scanHeight'] = $scanHeight;

        return $this->rpcPost('reset', $params);
    }
public function reset(int $scanHeight = null):JsonResponse
    {
        $params = [];

        if (!is_null($scanHeight)) $params['scanHeight'] = $scanHeight;

        return $this->rpcPost('reset', $params);
    }
public function reset ( int $ scanHeight = null ) : JsonResponse { $ params = [ ] ; if ( ! is_null ( $ scanHeight ) ) $ params [ 'scanHeight' ] = $ scanHeight ; return $ this -> rpcPost ( 'reset' , $ params ) ; }
Re-syncs the wallet.

@param int|null $scanHeight The scan height to start scanning for transactions. Optional.
@return JsonResponse
Re - syncs the wallet .