added transactions API + View