Added type for unconfirmed tx