add transaction methods for node.js client