add interface to submit trxs