add input_info when transaction is created