Implement the  AddTransaction, ClearTransaction & GetTransaction
fix merge