get and post transactions