Added transaction API