Revert "Revert "remove fill tx func""

This reverts commit 766f13c6cc93a03fb9875dc28e3113c72049641e.