Revert "remove fill tx func"

This reverts commit 1bce186f3c17c6b49500a4d2f222e469b887080d.