write tx payload before start sending