No stamp duty on either, but capital acquisitions tax on both. The solicitor transferring to you should be able to advise you, or put you in touch with a tax consultant who could.
If you receive a gift, you may have to pay gift tax on it. If you receive an inheritance following a death, it may be liable to inheritance tax. Both these taxes are types of Capital Acquisitions Tax.