Removed checking logic from new_transaction, forwarding full response
Let new_transaction() take more parameters, updated comments