Returns number of confirms or None if unpublished.

def confirms(self, txid):
        """Returns number of confirms or None if unpublished."""
        txid = deserialize.txid(txid)
        return self.service.confirms(txid)