Save index as well as tx hash for outputs.