def sendrawtransaction(self, tx):
        """Submit transaction to local node and network."""
        hextx = hexlify(tx.serialize())
        r = self._call('sendrawtransaction', hextx)
        return lx(r)