Adjusting the transactions api