pass options to create_transaction function